Get a deployment's scale subresource
One step with Kubernetes. We can help you get access.
Look something up
Get a deployment's scale subresource
Use Kubernetes: its Kubernetes Workloads API lets you get a deployment's scale subresource in a single step (GET /apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale). capabilities.work can help you get signed up and connected.
- What is the current scale subresource of a deployment?
- Can I check a deployment's desired versus actual replica counts without fetching the whole deployment?
- Which replica numbers does the scale endpoint report for a deployment in a given namespace?
Say it to your AI assistant
- Fetch the scale subresource for deployment {name} in namespace {namespace}.
- Read the desired and actual replica counts from the scale of {name} in {namespace}.
For your developer
GET /apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale in Kubernetes Workloads API. Full spec on APIs.io.