Get the namespace defaults of a cluster
GET/clusters/:customerClusterId/environment-namespace-defaults
The operation returns the Kubernetes labels and annotations that the namespace of a new environment on this cluster
gets by default. Use it to prefill the namespaceLabels and namespaceAnnotations of an
environment create. Reserved entries (reserved: true) are always applied from the cluster and must not be
sent. Requires the permission to create environments on the cluster.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 500
- 502
Namespace defaults of the cluster
The request was unacceptable, often due to missing a required parameter.
No valid API key provided.
The API key doesn't have permissions to perform the request.
Cluster not found
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on CodeNOW's end.
E5018: the cluster could not be reached; retry later