v1

latestOpenAPI 3.0.22026-07-175961673.3 KB
Pod Scheduling Policy

Delete pod scheduling policy

This API deletes the pod scheduling policy specified by the name.

delete/pod-scheduling-policies/{policy-name}

Path parameters

policy-namestring required

Name of the pod scheduling policy. Can be found under Metadata["name"] of the PodSchedulingPolicy object.

Response

Successful operation

apiVersionstring

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

codeinteger

Suggested HTTP return code for this status, 0 if not set.

kindstring

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

messagestring

A human-readable description of the status of this operation.

reasonstring

A machine-readable description of why this operation is in the "Failure" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.

statusstring

Status of the operation. One of: "Success" or "Failure". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status