IBM Cloud Kubernetes Ingress Nlb Dns API
The ingress-nlb-dns API from IBM Cloud Kubernetes — 4 operation(s) for ingress-nlb-dns.
The ingress-nlb-dns API from IBM Cloud Kubernetes — 4 operation(s) for ingress-nlb-dns.
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-nlb-dns-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 Nlb Dns API
version: '1.1'
description: 'Operations tagged ingress-nlb-dns 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-nlb-dns
paths:
/v1/nlb-dns/clusters/{idOrName}/add:
put:
description: 'Add an NLB IP address to an existing NLB subdomain that you created.
For example, in a multizone cluster, you create an NLB in each zone to expose an app. You registered an NLB IP in one zone with a subdomain by using the `POST /clusters/{idOrName}/register` call, so now you can add the NLB IPs from the other zones to this existing subdomain.'
tags:
- ingress-nlb-dns
summary: Update a DNS record by adding an NLB IP address
operationId: UpdateDNSWithIP
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 ID of the resource group that the cluster is in. To check the resource group ID of the cluster, use the `GET /v1/clusters/idOrName` API. To list available resource group IDs, run `ibmcloud resource groups`.
name: X-Auth-Resource-Group
in: header
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
responses:
'204':
description: Ok. The request to update the NLB subdomain was successfully processed.
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'
'404':
description: Not found. The specified cluster, NLB subdomain, or NLB IP address could not be found. To list the clusters that you have access to, use the `GET /v1/clusters` API or run `ibmcloud ks cluster ls`. To list existing NLB subdomains for a cluster, use the `GET /clusters/{idOrName}/list` API or run `ibmcloud ks nlb-dns ls --cluster <cluster_name_or_ID>`. To list existing NLB IP addresses in a cluster, run `kubectl get svc -n <namespace>`.
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. 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'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/NlbConfig'
description: The input parameter to update an NLB DNS record. Include only the `nlbHost` parameter to specify the existing NLB subdomain and the `nlbIP` parameter to specify the NLB IP you want to add.
required: true
servers:
- url: /global
/v1/nlb-dns/clusters/{idOrName}/host/{nlbHost}/ip/{nlbIP}/remove:
delete:
description: Remove an IP address from the DNS record for an existing NLB subdomain. If you remove all IPs from a hostname, the hostname still exists but no IPs are associated with it.
tags:
- ingress-nlb-dns
summary: Remove an IP address from an NLB subdomain
operationId: UnregisterDNSWithIP
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 ID of the resource group that the cluster is in. To check the resource group ID of the cluster, use the `GET /v1/clusters/idOrName` API. To list available resource group IDs, run `ibmcloud resource groups`.
name: X-Auth-Resource-Group
in: header
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 existing NLB subdomain from which you want remove an NLB IP. To list existing NLB subdomains, use the `GET /clusters/{idOrName}/list` API or run `ibmcloud ks nlb-dns ls --cluster <cluster_name_or_ID>`.
name: nlbHost
in: path
required: true
schema:
type: string
- description: The NLB IP address that you want to unregister from the DNS record for the hostname. To list the NLB IPs registered with NLB subdomains, use the `GET /clusters/{idOrName}/list` API or run `ibmcloud ks nlb-dns ls --cluster <cluster_name_or_ID>`.
name: nlbIP
in: path
required: true
schema:
type: string
responses:
'204':
description: Deleted. The NLB IP address was successfully unregistered from the DNS record for the NLB subdomain.
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'
'404':
description: Not found. The specified cluster, NLB subdomain, or NLB IP address could not be found. To list the clusters that you have access to, use the `GET /v1/clusters` API or run `ibmcloud ks cluster ls`. To list existing NLB subdomains and the NLB IPs registered with those hostnames, use the `GET /clusters/{idOrName}/list` API or run `ibmcloud ks nlb-dns ls --cluster <cluster_name_or_ID>`.
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. 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'
servers:
- url: /global
/v1/nlb-dns/clusters/{idOrName}/list:
get:
description: In a classic cluster, list NLB subdomains and the NLB IP addresses registered with the DNS provider for each subdomain.
tags:
- ingress-nlb-dns
summary: List registered NLB subdomains and NLB IP addresses
operationId: ListNLBIPsForSubdomain
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 ID of the resource group that the cluster is in. To check the resource group ID of the cluster, use the `GET /v1/clusters/idOrName` API. To list available resource group IDs, run `ibmcloud resource groups`.
name: X-Auth-Resource-Group
in: header
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
responses:
'200':
description: Ok. A list of NLB subdomains and the NLB IPs associated with the DNS record for the subdomains is returned for this cluster.
headers:
X-Request-Id:
description: Unique ID for this request
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ClusterNlbHostsList'
'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'
'404':
description: Not found. The specified cluster could not be found. To list the clusters that you have access to, use the `GET /v1/clusters` API or run `ibmcloud ks cluster ls`.
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. 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'
servers:
- url: /global
/v1/nlb-dns/clusters/{idOrName}/register:
post:
description: Create a new NLB subdomain and register NLB IP addresses with the DNS provider. If the registration fails, an error from the DNS provider is returned.
tags:
- ingress-nlb-dns
summary: Create a new NLB subdomain and associate one or more NLB IP addresses with it
operationId: RegisterDNSWithIP
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 ID of the resource group that the cluster is in. To check the resource group ID of the cluster, use the `GET /v1/clusters/idOrName` API. To list available resource group IDs, run `ibmcloud resource groups`.
name: X-Auth-Resource-Group
in: header
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
responses:
'201':
description: Created. The NLB subdomain was successfully created and the NLB IP addres(es) registered with DNS.
headers:
X-Request-Id:
description: Unique ID for this request
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/NlbConfig'
'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 token is invalid or expired. To retrieve your IAM token, 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'
'404':
description: Not found. The specified cluster or NLB IP address could not be found. To list the clusters that you have access to, use the `GET /v1/clusters` API or run `ibmcloud ks cluster ls`. To list existing NLB IP addresses in a cluster, run `kubectl get svc -n <namespace>`.
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. Kubernetes Service is currently unavailable. Your request could not be processed. 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'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/NlbConfig'
description: Include either the `nlbIP` or the `nlbIPArray` parameter that specifies the NLB IP address(es) that you want to register.
required: true
servers:
- url: /global
components:
schemas:
NlbHealthCheckStatus:
description: NlbHealthCheckStatus status of Health check monitors
type: object
properties:
clusterID:
type: string
x-go-name: ClusterID
monitorState:
type: string
x-go-name: MonitorState
monitorStatus:
type: string
x-go-name: MonitorStatus
nlbHost:
type: string
x-go-name: NlbHost
nlbIP:
type: string
x-go-name: NlbIP
x-go-package: github.ibm.com/alchemy-containers/armada-dns-model/v2/dns
ErrorType:
description: ErrorType error type
type: string
x-go-package: github.ibm.com/alchemy-containers/armada-model/errors
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
NlbConfig:
description: NlbConfig config for NLB configuration
type: object
properties:
certProvider:
type: string
x-go-name: CertProvider
clusterID:
type: string
x-go-name: ClusterID
crn:
type: string
x-go-name: CRN
isDefault:
type: boolean
x-go-name: IsDefault
nlbDnsType:
type: string
x-go-name: NlbDNSType
nlbHost:
type: string
x-go-name: NlbHost
nlbIPArray:
type: array
items:
type: string
x-go-name: NlbIPArray
nlbMonitorState:
type: string
x-go-name: NlbMonitorState
nlbSslSecretName:
type: string
x-go-name: NlbSSLSecretName
nlbSslSecretStatus:
type: string
x-go-name: NlbSslSecretStatus
nlbStatusMessage:
type: string
x-go-name: NlbStatusMessage
nlbType:
type: string
x-go-name: NlbType
provider:
type: string
x-go-name: Provider
secretNamespace:
type: string
x-go-name: SecretNamespace
zoneID:
type: string
x-go-name: ZoneID
x-go-package: github.ibm.com/alchemy-containers/armada-dns-model/v2/dns
ClusterNlbHostsList:
description: ClusterNlbHostsList used for storing Nlbs, NlbMonitor, NlbHealthCheckStatus
type: object
properties:
clusterid:
type: string
x-go-name: ClusterID
nlbHealthCheckConfigs:
type: array
items:
$ref: '#/components/schemas/NlbHealthCheckConfig'
x-go-name: NlbMonitors
nlbHealthCheckStatus:
type: array
items:
$ref: '#/components/schemas/NlbHealthCheckStatus'
x-go-name: NlbHCStatus
nlbs:
type: array
items:
$ref: '#/components/schemas/NlbConfig'
x-go-name: Nlbs
x-go-package: github.ibm.com/alchemy-containers/armada-dns-model/v2/dns
NlbHealthCheckConfig:
description: NlbHealthCheckConfig config for Health check monitor configuration list
type: object
properties:
clusterID:
type: string
x-go-name: ClusterID
healthCheckStatus:
type: string
x-go-name: HealthCheckStatus
nlbHost:
type: string
x-go-name: NlbHost
path:
type: string
x-go-name: Path
port:
type: integer
format: uint16
x-go-name: Port
type:
type: string
x-go-name: Type
x-go-package: github.ibm.com/alchemy-containers/armada-dns-model/v2/dns
x-refined-from:
- ibm-cloud-kubernetes-swagger.json
- ibm-cloud-kubernetes-openapi.yml