@akamai/openapi-ts
    Preparing search index...

    Type Alias PutLkeNodePoolData

    type PutLkeNodePoolData = {
        body?: {
            autoscaler?: { enabled?: boolean; max?: number; min?: number };
            count?: number;
            labels?: { [key: string]: string };
            tags?: string[];
            taints?: {
                effect: "NoSchedule" | "PreferNoSchedule" | "NoExecute";
                key: string;
                value: string;
            }[];
        };
        path: { clusterId: number; poolId: number };
        query?: never;
        url: "lke/clusters/{clusterId}/pools/{poolId}";
    }
    Index

    Properties

    Properties

    body?: {
        autoscaler?: { enabled?: boolean; max?: number; min?: number };
        count?: number;
        labels?: { [key: string]: string };
        tags?: string[];
        taints?: {
            effect: "NoSchedule" | "PreferNoSchedule" | "NoExecute";
            key: string;
            value: string;
        }[];
    }

    The fields to update.

    Type Declaration

    • Optionalautoscaler?: { enabled?: boolean; max?: number; min?: number }

      When enabled, the number of nodes automatically scales within the defined minimum and maximum values. When making a request, max and min require each other.

      • Optionalenabled?: boolean

        Whether automatic scaling is enabled for this node pool. Defaults to false.

      • Optionalmax?: number

        The maximum number of nodes to automatically scale to. Defaults to the value provided by the count field.

      • Optionalmin?: number

        The minimum number of nodes to automatically scale to. Defaults to the node pool's count.

    • Optionalcount?: number

      The number of nodes in the node pool.

    • Optionallabels?: { [key: string]: string }

      Key-value pairs added as labels to nodes in the node pool. Labels help classify your nodes and easily select subsets of objects. To learn more, review Add Labels and Taints to your LKE node pools.

      Label key:

      • A key can contain alphanumeric characters, dashes (-), underscores (_), or dots (.). Start and end it with an alphanumeric character.

      • If the key begins with a DNS subdomain prefix followed by a single slash, for example example.com/my-app, the maximum total length of the label key is 128 characters. Domain labels can be up to 62 characters after the '/'. The prefix needs to adhere to RFC 1123 DNS subdomain restrictions.

      • If the key doesn't begin with a DNS subdomain prefix, the maximum key length is 63 characters.

      Specifying an empty object removes all previously set labels.

      Label value:

      • The label's value can contain alphanumeric characters, dashes (-), underscores (_), or dots (.). Start and end it with an alphanumeric character.

      • Can be specified as an empty string value with "".

    • Optionaltags?: string[]

      Filterable Organizational tags to apply to this node pool. When you apply tags to LKE Enterprise node pools, they also apply to the nodes (Linodes) within the node pool. Tags don't cascade down to nodes in non-Enterprise node pools.

    • Optionaltaints?: {
          effect: "NoSchedule" | "PreferNoSchedule" | "NoExecute";
          key: string;
          value: string;
      }[]

      Kubernetes taints to add to node pool nodes. Taints help control how pods are scheduled onto nodes, specifically allowing them to repel certain pods. To learn more, review Add labels and taints to your LKE node pools.

      Specifying an empty array ([]) removes all previously set taints.

    path: { clusterId: number; poolId: number }

    Type Declaration

    • clusterId: number

      ID of the Kubernetes cluster to look up.

    • poolId: number

      ID of the Pool to look up.

    query?: never
    url: "lke/clusters/{clusterId}/pools/{poolId}"