kubernetes
Annotate a Kubernetes deployment
Changed onAdd or overwrite annotations on a deployment and on the pods it creates. Annotations the payload does not name are kept. Changing a pod annotation rolls the workload, which is how a rollout restart is triggered. Access policy: Authenticated user.
patch/kubernetes/{id}/namespaces/{namespace}/deployments/{name}
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/kubernetes/{id}/namespaces/{namespace}/deployments/{name}
- AuthAPI key in header X-API-KEY and API key in header Authorization
Path parameters
idinteger required
Environment(Endpoint) identifier
namespacestring required
Namespace
namestring required
Deployment name
Request body
Response
Success
Changes
- info
endpoint added
- info