IBM Cloud Kubernetes Get Worker Pool API

The GetWorkerPool API from IBM Cloud Kubernetes — 1 operation(s) for getworkerpool.

GitHub OpenAPI

Operations 1

GET /v2/getWorkerPool View details of a worker pool for a cluster #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/ibm-cloud-kubernetes:ibm-cloud-kubernetes-getworkerpool-api"
All apis
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.

Get an API 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 Specification

ibm-cloud-kubernetes-getworkerpool-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ibm Cloud Kubernetes Get Worker Pool API
  version: '1.1'
  description: 'Operations tagged GetWorkerPool 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: GetWorkerPool
paths:
  /v2/getWorkerPool:
    get:
      description: View detailed information for a worker pool in a cluster.
      tags:
      - GetWorkerPool
      summary: View details of a worker pool for a cluster
      operationId: getWorkerPool
      parameters:
      - description: If you are using the global endpoint, target the Kubernetes Service region. To list available regions, use the `GET /v1/regions` API or run `ibmcloud ks region ls`.
        name: X-Region
        in: header
        schema:
          type: string
      - 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 /v2/getCluster?cluster=idOrName` API.
        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
      - description: The ID of the worker pool that you want details for. To list all worker pools for a cluster, use the `GET /v2/getWorkerPools?cluster=idOrName` API or run `ibmcloud ks worker-pool ls --cluster <cluster_name_or_ID>`.
        name: workerpool
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Ok. Detailed information about the worker pool is returned.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetCombinedWorkerPoolResponse'
        '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 could not be found. 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`.
          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: The details of a worker pool in the cluster are returned.
        events:
        - name: containers-kubernetes.cluster-worker-pool.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:
    GetCombinedWorkerPoolResponse:
      description: 'getCombinedWorkerPoolResponse is a superset of all WorkerPool fields returned by all the v2

        get worker(s) operations, regardless of the provider.'
      type: object
      properties:
        autoscaleEnabled:
          type: boolean
          x-go-name: AutoscaleEnabled
        dedicatedHostPoolId:
          type: string
          x-go-name: DedicatedHostPoolID
        flavor:
          type: string
          x-go-name: Flavor
        flavorState:
          type: string
          x-go-name: FlavorState
        hostLabels:
          type: object
          additionalProperties:
            type: string
          x-go-name: HostLabels
        id:
          type: string
          x-go-name: ID
        isBalanced:
          type: boolean
          x-go-name: IsBalanced
        isolation:
          type: string
          x-go-name: Isolation
        labels:
          type: object
          additionalProperties:
            type: string
          x-go-name: Labels
        lifecycle:
          $ref: '#/components/schemas/GetWorkerPoolResponseLifecycle'
        openshiftLicense:
          type: string
          x-go-name: OpenShiftLicenseSource
        operatingSystem:
          type: string
          x-go-name: OperatingSystem
        poolName:
          type: string
          x-go-name: PoolName
        provider:
          type: string
          x-go-name: Provider
        reservationID:
          type: string
          x-go-name: ReservationID
        reservationName:
          type: string
          x-go-name: ReservationName
        secondaryStorageOption:
          $ref: '#/components/schemas/DiskConfigResp'
        staticNetworkInterfaceCount:
          type: integer
          format: int64
          x-go-name: StaticNetworkInterfaceCount
        taints:
          type: object
          additionalProperties:
            type: string
          x-go-name: Taints
        vpcID:
          type: string
          x-go-name: VPCID
        workerCount:
          type: integer
          format: int64
          x-go-name: WorkersPerZone
        workerVolumeEncryption:
          $ref: '#/components/schemas/WorkerVolumeEncryption'
        zones:
          type: array
          items:
            $ref: '#/components/schemas/GetWorkerPoolResponseZone'
          x-go-name: Zones
      x-go-name: getCombinedWorkerPoolResponse
      x-go-package: github.ibm.com/alchemy-containers/armada-api-model/json/v2/combined
    DiskConfigResp:
      description: DiskConfigResp response type for describing a disk configuration
      type: object
      properties:
        Count:
          type: integer
          format: int64
        DeviceType:
          type: string
        RAIDConfiguration:
          type: string
        Size:
          description: the size of each individual device in GB
          type: integer
          format: int64
        name:
          type: string
          x-go-name: Name
        profile:
          type: string
          x-go-name: Profile
      x-go-package: github.ibm.com/alchemy-containers/armada-api-model/json/v2/vpc
    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
    GetWorkerPoolResponseZone:
      description: GetWorkerPoolResponseZone provides information about a zone belonging to the worker pool
      type: object
      properties:
        autobalanceEnabled:
          type: boolean
          x-go-name: AutobalanceEnabled
        id:
          type: string
          x-go-name: ID
        messages:
          type: array
          items:
            type: string
          x-go-name: Messages
        subnets:
          type: array
          items:
            $ref: '#/components/schemas/GetWorkerPoolResponseZoneSubnet'
          x-go-name: Subnets
        workerCount:
          type: integer
          format: int64
          x-go-name: WorkerCount
      x-go-package: github.ibm.com/alchemy-containers/armada-api-model/json/v2/vpc
    GetWorkerPoolResponseZoneSubnet:
      description: GetWorkerPoolResponseZoneSubnet provides information about a subnet in the worker pool's zone
      type: object
      properties:
        id:
          type: string
          x-go-name: ID
        primary:
          type: boolean
          x-go-name: Primary
      x-go-package: github.ibm.com/alchemy-containers/armada-api-model/json/v2/vpc
    WorkerVolumeEncryption:
      description: WorkerVolumeEncryption contains encryption related fields
      type: object
      properties:
        kmsAccountID:
          type: string
          x-go-name: KMSAccountID
        kmsInstanceID:
          type: string
          x-go-name: KMSInstanceID
        workerVolumeCRKID:
          type: string
          x-go-name: WorkerVolumeCRKID
      x-go-package: github.ibm.com/alchemy-containers/armada-api-model/json/v2/vpc
    ErrorType:
      description: ErrorType error type
      type: string
      x-go-package: github.ibm.com/alchemy-containers/armada-model/errors
    GetWorkerPoolResponseLifecycle:
      type: object
      title: GetWorkerPoolResponseLifecycle provides information about the state of the workerpool.
      properties:
        actualState:
          type: string
          x-go-name: ActualState
        desiredState:
          type: string
          x-go-name: DesiredState
      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