IBM Cloud Kubernetes Ingress Autoscale API
The ingress-autoscale API from IBM Cloud Kubernetes — 1 operation(s) for ingress-autoscale.
The ingress-autoscale API from IBM Cloud Kubernetes — 1 operation(s) for ingress-autoscale.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/ibm-cloud-kubernetes:ibm-cloud-kubernetes-ingress-autoscale-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Ibm Cloud Kubernetes Ingress Autoscale API
version: '1.1'
description: 'Operations tagged ingress-autoscale across 2 of this provider''s published API definitions: ibm-cloud-kubernetes-swagger.json, ibm-cloud-kubernetes-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /global
- url: https://containers.cloud.ibm.com/global
tags:
- name: ingress-autoscale
paths:
/ingress/v2/clusters/{idOrName}/albs/{albID}/autoscale:
get:
description: Get the autoscaling configuration for an ALB. The autoscaling feature is enabled when there is a configuration set for the ALB. If the configuration is missing, the feature is disabled.
tags:
- ingress-autoscale
summary: Get the autoscaling configuration for an ALB
operationId: V2GetAutoScale
parameters:
- description: Your IBM Cloud Identity and Access Management (IAM) token. To retrieve your IAM token, run `ibmcloud iam oauth-tokens`.
name: Authorization
in: header
required: true
schema:
type: string
- description: The name or ID of the cluster. To list the clusters that you have access to, use the `GET /v1/clusters` API or run `ibmcloud ks cluster ls`.
name: idOrName
in: path
required: true
schema:
type: string
- description: The ID of the ALB that you want details for. To list the IDs for the ALBs in a cluster, use the `GET /clusters/{idOrName}` API or run `ibmcloud ks alb ls --cluster <cluster_name_or_ID>`.
name: albID
in: path
required: true
schema:
type: string
responses:
'200':
description: Ok. The autoscaling configuration for your ALB is returned.
headers:
X-Request-Id:
description: Unique ID for this request
schema:
type: string
'400':
description: Bad request. The input parameters in the request body are either incomplete or in the wrong format. Be sure to include all required parameters in your request in JSON format.
headers:
X-Request-Id:
description: Unique ID for this request
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Unauthorized. The IAM or UAA token is invalid or expired. To retrieve your UAA and IAM tokens, run `ibmcloud login` and then `ibmcloud iam oauth-tokens`.
headers:
X-Request-Id:
description: Unique ID for this request
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: Forbidden. The credentials set for the region and resource group have insufficient permissions to use a requested optional feature.
headers:
X-Request-Id:
description: Unique ID for this request
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Not found. No autoscale configuration set for this cluster and ALB, or the specified cluster or ALB could not be found.
headers:
X-Request-Id:
description: Unique ID for this request
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
description: Internal Server Error. IBM Cloud Kubernetes Service is currently unavailable. Your request could not be processed. Please wait a few minutes and try again. If you still encounter this problem, note the incident ID and contact the IBM Cloud support.
headers:
X-Request-Id:
description: Unique ID for this request
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-ibm-events:
description: An autoscaling configuration is returned.
events:
- name: cluster-alb-autoscale.get
x-ibm-permissions:
actions:
- name: containers-kubernetes.cluster.read
description: To call this endpoint, you must have the Viewer platform role for the Kubernetes Service in IAM.
put:
description: Set an autoscaling configuration for an ALB. Setting a configuration enables the autoscaling feature. You can also use this endpoint to change the autoscaling configuration.
tags:
- ingress-autoscale
summary: Set the autoscaling configuration for an ALB
operationId: V2SetAutoScale
parameters:
- description: Your IBM Cloud Identity and Access Management (IAM) token. To retrieve your IAM token, run `ibmcloud iam oauth-tokens`.
name: Authorization
in: header
required: true
schema:
type: string
- description: The name or ID of the cluster. To list the clusters that you have access to, use the `GET /v1/clusters` API or run `ibmcloud ks cluster ls`.
name: idOrName
in: path
required: true
schema:
type: string
- description: The ID of the ALB that you want details for. To list the IDs for the ALBs in a cluster, use the `GET /clusters/{idOrName}` API or run `ibmcloud ks alb ls --cluster <cluster_name_or_ID>`.
name: albID
in: path
required: true
schema:
type: string
responses:
'200':
description: Ok. The provided autoscaling configuration for your ALB is set.
headers:
X-Request-Id:
description: Unique ID for this request
schema:
type: string
'400':
description: Bad request. The input parameters in the request body are either incomplete or in the wrong format. Be sure to include all required parameters in your request in JSON format.
headers:
X-Request-Id:
description: Unique ID for this request
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Unauthorized. The IAM or UAA token is invalid or expired. To retrieve your UAA and IAM tokens, run `ibmcloud login` and then `ibmcloud iam oauth-tokens`.
headers:
X-Request-Id:
description: Unique ID for this request
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: Forbidden. The credentials set for the region and resource group have insufficient permissions to use a requested optional feature.
headers:
X-Request-Id:
description: Unique ID for this request
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Not found. The the specified cluster or ALB could not be found.
headers:
X-Request-Id:
description: Unique ID for this request
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
description: Internal Server Error. IBM Cloud Kubernetes Service is currently unavailable. Your request could not be processed. Please wait a few minutes and try again. If you still encounter this problem, note the incident ID and contact the IBM Cloud support.
headers:
X-Request-Id:
description: Unique ID for this request
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-ibm-events:
description: An autoscaling configuration is created or updated.
events:
- name: cluster-alb-autoscale.set
x-ibm-permissions:
actions:
- name: containers-kubernetes.cluster.update
description: You must have the Editor platform role for the Kubernetes Service in IAM to call this endpoint.
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/AutoscaleDetails'
description: New autoscale configuration to be set.
required: true
delete:
description: Delete an autoscaling configuration for the ALB. Deleting the configuration disables autoscaling.
tags:
- ingress-autoscale
summary: Delete the autoscaling configuration for an ALB
operationId: V2UnsetAutoScale
parameters:
- description: Your IBM Cloud Identity and Access Management (IAM) token. To retrieve your IAM token, run `ibmcloud iam oauth-tokens`.
name: Authorization
in: header
required: true
schema:
type: string
- description: The name or ID of the cluster. To list the clusters that you have access to, use the `GET /v1/clusters` API or run `ibmcloud ks cluster ls`.
name: idOrName
in: path
required: true
schema:
type: string
- description: The ID of the ALB that you want details for. To list the IDs for the ALBs in a cluster, use the `GET /clusters/{idOrName}` API or run `ibmcloud ks alb ls --cluster <cluster_name_or_ID>`.
name: albID
in: path
required: true
schema:
type: string
responses:
'204':
description: Ok. Autoscale config was unset successfully.
headers:
X-Request-Id:
description: Unique ID for this request
schema:
type: string
'400':
description: Bad request. The input parameters in the request body are either incomplete or in the wrong format. Be sure to include all required parameters in your request in JSON format.
headers:
X-Request-Id:
description: Unique ID for this request
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Unauthorized. The IAM or UAA token is invalid or expired. To retrieve your UAA and IAM tokens, run `ibmcloud login` and then `ibmcloud iam oauth-tokens`.
headers:
X-Request-Id:
description: Unique ID for this request
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: Forbidden. The credentials set for the region and resource group have insufficient permissions to use a requested optional feature.
headers:
X-Request-Id:
description: Unique ID for this request
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Not found. No autoscaling configuration set for this cluster and ALB, or the specified cluster or ALB could not be found.
headers:
X-Request-Id:
description: Unique ID for this request
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
description: Internal Server Error. IBM Cloud Kubernetes Service is currently unavailable. Your request could not be processed. Please wait a few minutes and try again. If you still encounter this problem, note the incident ID and contact the IBM Cloud support.
headers:
X-Request-Id:
description: Unique ID for this request
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-ibm-events:
description: An autoscaling configuration is deleted.
events:
- name: cluster-alb-autoscale.unset
x-ibm-permissions:
actions:
- name: containers-kubernetes.cluster.update
description: You must have the Editor platform role for the Kubernetes Service in IAM to call this endpoint.
servers:
- url: /global
components:
schemas:
ErrorResponse:
description: ErrorResponse error response to end users
type: object
properties:
code:
type: string
x-go-name: ID
description:
type: string
x-go-name: Err
incidentID:
type: string
x-go-name: ReqID
recoveryCLI:
type: string
x-go-name: RecoveryCLI
terseDescription:
type: string
x-go-name: TerseErr
type:
$ref: '#/components/schemas/ErrorType'
x-go-package: github.ibm.com/alchemy-containers/armada-model/errors
ErrorType:
description: ErrorType error type
type: string
x-go-package: github.ibm.com/alchemy-containers/armada-model/errors
AutoscaleDetails:
description: AutoscaleDetails is used for configuring autoscaling for albs
type: object
properties:
config:
$ref: '#/components/schemas/AutoscaleConfig'
x-go-package: github.ibm.com/alchemy-containers/armada-dns-model/v2/ingress
AutoscaleConfig:
description: AutoscaleConfig is used for configuring autoscaling for albs
type: object
properties:
cpuAverageUtilization:
type: integer
format: int32
x-go-name: CPUAverageUtilization
customMetrics:
type: string
x-go-name: CustomMetrics
maxReplicas:
type: integer
format: int32
x-go-name: MaxReplicas
minReplicas:
type: integer
format: int32
x-go-name: MinReplicas
x-go-package: github.ibm.com/alchemy-containers/armada-dns-model/v2/ingress
x-refined-from:
- ibm-cloud-kubernetes-swagger.json
- ibm-cloud-kubernetes-openapi.yml