8000 API server should return 202 if the operation is asynchronous · Issue #33196 · kubernetes/kubernetes · GitHub
[go: up one dir, main page]

Skip to content

API server should return 202 if the operation is asynchronous #33196

@caesarxuchao

Description

@caesarxuchao

Code 202 means "The request has been accepted for processing, but the processing has not been completed".

In k8s, the DELETE operation is asynchronous in two cases: 1. a graceful deletion of pod. 2. the object has pending finalizers. In both cases the object remains in the key-value store after the API server responds. The API server should return 202 in such cases. I haven't evaluated if such a change is backward compatible.

@mml @lavalamp @kubernetes/sig-api-machinery

Metadata

Metadata

Assignees

Labels

priority/backlogHigher priority than priority/awaiting-more-evidence.sig/api-machineryCategorizes an issue or PR as relevant to SIG API Machinery.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0