IBM Cloud Kubernetes Get Cluster API
The GetCluster API from IBM Cloud Kubernetes — 1 operation(s) for getcluster.
The GetCluster API from IBM Cloud Kubernetes — 1 operation(s) for getcluster.
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-getcluster-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 Get Cluster API
version: '1.1'
description: 'Operations tagged GetCluster 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: GetCluster
paths:
/v2/getCluster:
get:
description: View detailed information for a cluster, including a VPC cluster.
tags:
- GetCluster
summary: View details for a cluster
operationId: getCluster
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 to list clusters for. To list available resource groups, run `ibmcloud resource groups`. If you don't include this header, all the clusters in the account that you have access to are listed.
name: X-Auth-Resource-Group
in: header
schema:
type: string
- description: The name or ID of the cluster that you want to get the worker node details from. To list the VPC clusters that you have access to, use the `GET /v2/vpc/getClusters` API or run `ibmcloud ks cluster ls --provider vpc-classic`.
name: cluster
in: query
required: true
schema:
type: string
responses:
'200':
description: Success. Detailed cluster information is returned.
headers:
X-Request-Id:
description: Unique ID for this request
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/GetClusterResponse'
'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'
'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 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: Details for a cluster are returned.
events:
- name: containers-kubernetes.cluster.get
x-ibm-permissions:
actions:
- name: containers-kubernetes.cluster.read
description: To get the action, the user must have the Viewer platform role to Kubernetes Service in IAM.
servers:
- url: /global
components:
schemas:
CommonClusterLifecycle:
type: object
title: CommonClusterLifecycle provides information about the state of a cluster.
properties:
masterHealth:
description: The health of the cluster master. Possible values include error, normal, unavailable, and unsupported. For more information, see the docs 'http://ibm.biz/cluster-master-health'
type: string
x-go-name: MasterHealth
masterState:
description: The lifecycle state of the cluster master. Possible values include deployed, deploying, deploy_failed, deleting, delete_failed, updating, update_cancelled, and update_failed. For more information, see the docs 'http://ibm.biz/cluster-master-health'
type: string
x-go-name: MasterState
masterStatus:
type: string
x-go-name: MasterStatus
masterStatusModifiedDate:
type: string
x-go-name: MasterStatusModifiedDate
modifiedDate:
type: string
x-go-name: ModifiedDate
x-go-package: github.ibm.com/alchemy-containers/armada-api-model/json/v2
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
VLANS:
description: 'VLANS is a helper type to sort an api.VLAN list. The VLANS
will sort the list in order of the Properties.PrimaryRouter value so
that VLAN''s of a common router are listed consecutively.'
type: array
items:
$ref: '#/components/schemas/VLAN'
x-go-package: github.ibm.com/alchemy-containers/armada-model/model/api/json/v1
CommonClusterKMS:
type: object
title: CommonClusterKMS provides information about the Key Management Service for the cluster.
properties:
actualInstance:
type: array
items:
type: string
x-go-name: ActualInstanceCRN
actualRootKey:
type: array
items:
type: string
x-go-name: ActualRootKeyID
desiredInstance:
type: string
x-go-name: DesiredInstanceCRN
desiredRootKey:
type: string
x-go-name: DesiredRootKeyID
x-go-package: github.ibm.com/alchemy-containers/armada-api-model/json/v2
CommonClusterFeatures:
type: object
title: CommonClusterFeatures provides information about the cluster addons.
properties:
keyProtectEnabled:
type: boolean
x-go-name: KeyProtectEnabled
pullSecretApplied:
type: boolean
x-go-name: PullSecretApplied
x-go-package: github.ibm.com/alchemy-containers/armada-api-model/json/v2
CommonClusterAddon:
description: CommonClusterAddon properties
type: object
properties:
name:
type: string
x-go-name: Name
version:
type: string
x-go-name: Version
x-go-package: github.ibm.com/alchemy-containers/armada-api-model/json/v2
VLAN:
type: object
title: VLAN represents a singular softlayer vlan.
properties:
id:
type: string
x-go-name: ID
properties:
$ref: '#/components/schemas/VLANProperties'
type:
type: string
x-go-name: Type
x-go-package: github.ibm.com/alchemy-containers/armada-api-model/json/v2/classic
CommonClusterCACertRotation:
description: CommonClusterCACertRotation CA cert rotation properties
type: object
properties:
actionCompletedDate:
type: string
x-go-name: ActionCompletedDate
actionTriggerDate:
type: string
x-go-name: ActionTriggerDate
status:
type: string
x-go-name: Status
x-go-package: github.ibm.com/alchemy-containers/armada-api-model/json/v2
CommonClusterServiceEndpoint:
type: object
title: CommonClusterServiceEndpoint provides information about the service endpoint state of a cluster.
properties:
privateServiceEndpointEnabled:
type: boolean
x-go-name: PrivateServiceEndpointEnabled
privateServiceEndpointURL:
type: string
x-go-name: PrivateServiceEndpointURL
publicServiceEndpointEnabled:
type: boolean
x-go-name: PublicServiceEndpointEnabled
publicServiceEndpointURL:
type: string
x-go-name: PublicServiceEndpointURL
x-go-package: github.ibm.com/alchemy-containers/armada-api-model/json/v2
SubnetConfigField:
description: SubnetConfigField represents a subnet config for a VLAN config, including properties like IP addresses, if it's public, BYOIP, and the subnet CIDR
type: object
properties:
cidr:
type: string
x-go-name: CIDR
id:
type: string
x-go-name: ID
ips:
type: array
items:
type: string
x-go-name: Ips
is_byoip:
type: boolean
x-go-name: IsBYOIP
is_public:
type: boolean
x-go-name: IsPublic
x-go-package: github.ibm.com/alchemy-containers/armada-model/model
GetClusterResponse:
type: object
title: GetClusterResponse is data returned by a GetCluster request call.
properties:
addons:
type: array
items:
$ref: '#/components/schemas/CommonClusterAddon'
x-go-name: Addons
caCertRotationStatus:
$ref: '#/components/schemas/CommonClusterCACertRotation'
calicoIPAutodetectionConfig:
type: string
x-go-name: CalicoIPAutodetectionConfig
createdDate:
type: string
x-go-name: CreatedDate
crn:
type: string
x-go-name: CRN
datacenter:
type: string
x-go-name: Datacenter
desiredTrustedProfileID:
type: string
x-go-name: DesiredTrustedProfileID
disableAutoUpdate:
type: boolean
x-go-name: DisableAutoUpdate
entitlement:
type: string
x-go-name: Entitlement
etcdPort:
type: string
x-go-name: EtcdPort
features:
$ref: '#/components/schemas/CommonClusterFeatures'
id:
type: string
x-go-name: ID
ignitionServerURL:
type: string
x-go-name: IgnitionServerURL
imageSecurityEnabled:
type: boolean
x-go-name: ImageSecurityEnabled
ingress:
$ref: '#/components/schemas/CommonClusterIngress'
isPaid:
type: boolean
x-go-name: IsPaid
keyManagementService:
$ref: '#/components/schemas/CommonClusterKMS'
konnectivityServerURL:
type: string
x-go-name: KonnectivityServerURL
lifecycle:
$ref: '#/components/schemas/CommonClusterLifecycle'
location:
type: string
x-go-name: Location
locationZones:
type: array
items:
type: string
x-go-name: LocationZones
masterKubeVersion:
type: string
x-go-name: MasterVersion
masterURL:
type: string
x-go-name: MasterURL
monitoringURL:
type: string
x-go-name: MonitoringURL
multiAzCapable:
type: boolean
x-go-name: MultiAZCapable
name:
type: string
x-go-name: Name
oauthServerURL:
type: string
x-go-name: OauthServerURL
offering:
type: string
x-go-name: Offering
podSubnet:
type: string
x-go-name: PodSubnet
provider:
type: string
x-go-name: ProviderID
region:
type: string
x-go-name: Region
resourceGroup:
type: string
x-go-name: ResourceGroupID
resourceGroupName:
type: string
x-go-name: ResourceGroupName
secureRequested:
type: boolean
x-go-name: SecureRequested
serviceEndpoints:
$ref: '#/components/schemas/CommonClusterServiceEndpoint'
serviceSubnet:
type: string
x-go-name: ServiceSubnet
state:
description: The lifecycle state of the cluster. Possible values include aborted, critical, delete_failed, deleted, deleting, deploy_failed, deploying, normal, pending, requested, updating, unsupported, and warning. For more information, see the docs 'http://ibm.biz/cluster-health-states'
type: string
x-go-name: State
status:
type: string
x-go-name: Status
supportedOperatingSystems:
type: array
items:
type: string
x-go-name: SupportedOperatingSystems
targetVersion:
type: string
x-go-name: TargetVersion
trustedProfileID:
type: string
x-go-name: TrustedProfileID
type:
type: string
x-go-name: Type
versionEOS:
type: string
x-go-name: EOS
vlans:
type: array
items:
$ref: '#/components/schemas/VlanConfigField'
x-go-name: SubnetVLANs
workerCount:
type: integer
format: int64
x-go-name: WorkerCount
workerZones:
type: array
items:
type: string
x-go-name: WorkerZones
worker_vlans:
$ref: '#/components/schemas/VLANS'
x-go-package: github.ibm.com/alchemy-containers/armada-api-model/json/v2/classic
VlanConfigField:
description: VlanConfigField represents a VLAN config for a portable IP, including subnet, zone, and region info
type: object
properties:
id:
type: string
x-go-name: ID
region:
type: string
x-go-name: Region
subnets:
type: array
items:
$ref: '#/components/schemas/SubnetConfigField'
x-go-name: Subnets
zone:
type: string
x-go-name: Zone
x-go-package: github.ibm.com/alchemy-containers/armada-model/model
VLANProperties:
type: object
title: VLANProperties stores various properities related to a softlayer vlan.
properties:
local_disk_storage_capability:
type: string
x-go-name: LocalDiskCapability
location:
type: string
x-go-name: Location
name:
type: string
x-go-name: Name
note:
type: string
x-go-name: Note
primary_router:
type: string
x-go-name: PrimaryRouter
san_storage_capability:
type: string
x-go-name: SanStorageCapability
subnet_count:
type: integer
format: int64
x-go-name: SubnetCount
vlan_number:
type: string
x-go-name: VLANNumber
vlan_type:
type: string
x-go-name: VLANType
x-go-package: github.ibm.com/alchemy-containers/armada-api-model/json/v2/classic
ErrorType:
description: ErrorType error type
type: string
x-go-package: github.ibm.com/alchemy-containers/armada-model/errors
CommonClusterIngress:
type: object
title: CommonClusterIngress provides information about the cluster ingress.
properties:
hostname:
type: string
x-go-name: Hostname
message:
type: string
x-go-name: Message
secretName:
type: string
x-go-name: SecretName
status:
type: string
x-go-name: Status
x-go-package: github.ibm.com/alchemy-containers/armada-api-model/json/v2
x-refined-from:
- ibm-cloud-kubernetes-swagger.json
- ibm-cloud-kubernetes-openapi.yml