kubernetes

Get Kubernetes replica sets within a namespace

Changed on

Get the list of Kubernetes replica sets in the given namespace, optionally restricted to those owned by a given deployment. This backs the deployment revisions view. The response uses the Kubernetes list shape ({items: [...]}). Access policy: Authenticated user.

get/kubernetes/{id}/namespaces/{namespace}/replicasets

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}/replicasets
  • Auth
    API key in header X-API-KEY and API key in header Authorization

Path parameters

idinteger required

Environment(Endpoint) identifier

namespacestring required

Namespace

Query parameters

deploymentstring

Only return replica sets owned by this deployment

labelSelectorstring

Kubernetes label selector to filter the replica sets

fieldSelectorstring

Kubernetes field selector to filter the replica sets

Response

Success

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 +optional

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 +optional

Changes