Scaleway · Schema

scaleway.k8s.v1.Pool

AICloud ComputingContainersDatabaseEuropean CloudInfrastructureKubernetesServerlessStorage

Properties

Name Type Description
id string Pool ID.
cluster_id string Cluster ID of the pool.
created_at string Date on which the pool was created. (RFC 3339 format)
updated_at string Date on which the pool was last updated. (RFC 3339 format)
name string Pool name.
status string Pool status.
version string Pool version.
node_type string Node type is the type of Scaleway Instance wanted for the pool. Nodes with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST). 'external' is a special node type used to provision inst
autoscaling boolean Defines whether the autoscaling feature is enabled for the pool.
size integer Size (number of nodes) of the pool.
min_size integer Defines the minimum size of the pool. Note that this field is only used when autoscaling is enabled on the pool.
max_size integer Defines the maximum size of the pool. Note that this field is only used when autoscaling is enabled on the pool.
container_runtime string Customization of the container runtime is available for each pool.
autohealing boolean Defines whether the autohealing feature is enabled for the pool.
tags array Tags associated with the pool, see [managing tags](https://www.scaleway.com/en/docs/kubernetes/api-cli/managing-tags).
placement_group_id string Placement group ID in which all the nodes of the pool will be created, placement groups are limited to 20 instances.
kubelet_args object Kubelet arguments to be used by this pool. Note that this feature is experimental.
upgrade_policy object Pool upgrade policy.
zone string Zone in which the pool's nodes will be spawned.
root_volume_type string Defines the system volume disk type. Several types of volume (`volume_type`) are provided:. * `l_ssd` is a local block storage which means your system is stored locally on your node's hypervisor. This
root_volume_size integer System volume disk size. (in bytes)
public_ip_disabled boolean Defines if the public IP should be removed from Nodes. To use this feature, your Cluster must have an attached Private Network set up with a Public Gateway.
security_group_id string Security group ID in which all the nodes of the pool will be created. If unset, the pool will use default Kapsule security group in current zone.
labels object Kubernetes labels applied and reconciled on the nodes.
taints array Kubernetes taints applied and reconciled on the nodes.
startup_taints array Kubernetes taints applied at node creation but not reconciled afterwards.
region string Cluster region of the pool.
View JSON Schema on GitHub

JSON Schema

scaleway-scalewayk8sv1pool-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/scaleway.k8s.v1.Pool",
  "title": "scaleway.k8s.v1.Pool",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Pool ID."
    },
    "cluster_id": {
      "type": "string",
      "description": "Cluster ID of the pool."
    },
    "created_at": {
      "type": "string",
      "description": "Date on which the pool was created. (RFC 3339 format)",
      "format": "date-time",
      "example": "2022-03-22T12:34:56.123456Z",
      "nullable": true
    },
    "updated_at": {
      "type": "string",
      "description": "Date on which the pool was last updated. (RFC 3339 format)",
      "format": "date-time",
      "example": "2022-03-22T12:34:56.123456Z",
      "nullable": true
    },
    "name": {
      "type": "string",
      "description": "Pool name."
    },
    "status": {
      "type": "string",
      "description": "Pool status.",
      "enum": [
        "unknown",
        "ready",
        "deleting",
        "deleted",
        "scaling",
        "warning",
        "locked",
        "upgrading"
      ],
      "x-enum-descriptions": {
        "values": {
          "ready": "Pool has the right amount of nodes and is ready to process the workload",
          "deleting": "Pool is waiting to be processed for deletion",
          "scaling": "Pool is growing or shrinking",
          "warning": "Pool has some issues, check nodes",
          "locked": "Pool is locked because an abuse has been detected or reported",
          "upgrading": "Pool is upgrading its Kubernetes version"
        }
      },
      "default": "unknown"
    },
    "version": {
      "type": "string",
      "description": "Pool version."
    },
    "node_type": {
      "type": "string",
      "description": "Node type is the type of Scaleway Instance wanted for the pool. Nodes with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST). 'external' is a special node type used to provision instances from other cloud providers in a Kosmos Cluster."
    },
    "autoscaling": {
      "type": "boolean",
      "description": "Defines whether the autoscaling feature is enabled for the pool."
    },
    "size": {
      "type": "integer",
      "description": "Size (number of nodes) of the pool.",
      "format": "uint32"
    },
    "min_size": {
      "type": "integer",
      "description": "Defines the minimum size of the pool. Note that this field is only used when autoscaling is enabled on the pool.",
      "format": "uint32"
    },
    "max_size": {
      "type": "integer",
      "description": "Defines the maximum size of the pool. Note that this field is only used when autoscaling is enabled on the pool.",
      "format": "uint32"
    },
    "container_runtime": {
      "type": "string",
      "description": "Customization of the container runtime is available for each pool.",
      "enum": [
        "unknown_runtime",
        "docker",
        "containerd",
        "crio"
      ],
      "x-enum-descriptions": {
        "values": {
          "containerd": "Containerd Runtime will be configured (https://github.com/containerd/containerd)"
        }
      },
      "default": "unknown_runtime"
    },
    "autohealing": {
      "type": "boolean",
      "description": "Defines whether the autohealing feature is enabled for the pool."
    },
    "tags": {
      "type": "array",
      "description": "Tags associated with the pool, see [managing tags](https://www.scaleway.com/en/docs/kubernetes/api-cli/managing-tags).",
      "items": {
        "type": "string"
      }
    },
    "placement_group_id": {
      "type": "string",
      "description": "Placement group ID in which all the nodes of the pool will be created, placement groups are limited to 20 instances.",
      "nullable": true
    },
    "kubelet_args": {
      "type": "object",
      "description": "Kubelet arguments to be used by this pool. Note that this feature is experimental.",
      "properties": {
        "<kubelet_argKey>": {
          "type": "string",
          "description": "Kubelet arguments to be used by this pool. Note that this feature is experimental."
        }
      },
      "additionalProperties": true
    },
    "upgrade_policy": {
      "type": "object",
      "description": "Pool upgrade policy.",
      "properties": {
        "max_unavailable": {
          "type": "integer",
          "format": "uint32"
        },
        "max_surge": {
          "type": "integer",
          "format": "uint32"
        }
      },
      "x-properties-order": [
        "max_unavailable",
        "max_surge"
      ]
    },
    "zone": {
      "type": "string",
      "description": "Zone in which the pool's nodes will be spawned."
    },
    "root_volume_type": {
      "type": "string",
      "description": "Defines the system volume disk type. Several types of volume (`volume_type`) are provided:.\n* `l_ssd` is a local block storage which means your system is stored locally on your node's hypervisor. This type is not available for all node types\n* `sbs_5k` is a remote block storage which means your system is stored on a centralized and resilient cluster with 5k IOPS limits\n* `sbs_15k` is a faster remote block storage which means your system is stored on a centralized and resilient cluster with 15k IOPS limits\n* `b_ssd` is the legacy remote block storage which means your system is stored on a centralized and resilient cluster. Not available for new pools, use `sbs_5k` or `sbs_15k` instead.",
      "enum": [
        "default_volume_type",
        "l_ssd",
        "b_ssd",
        "sbs_5k",
        "sbs_15k"
      ],
      "x-enum-descriptions": {
        "values": {
          "l_ssd": "Local Block Storage: your system is stored locally on your node hypervisor",
          "b_ssd": "Remote Block Storage: your system is stored on a centralized and resilient cluster (deprecated: will use sbs_5k instead)",
          "sbs_5k": "Remote Block Storage: your system is stored on a centralized and resilient cluster with up to 5k IOPS",
          "sbs_15k": "Remote Block Storage: your system is stored on a centralized and resilient cluster with up to 15k IOPS"
        }
      },
      "default": "default_volume_type"
    },
    "root_volume_size": {
      "type": "integer",
      "description": "System volume disk size. (in bytes)",
      "format": "uint64",
      "nullable": true
    },
    "public_ip_disabled": {
      "type": "boolean",
      "description": "Defines if the public IP should be removed from Nodes. To use this feature, your Cluster must have an attached Private Network set up with a Public Gateway."
    },
    "security_group_id": {
      "type": "string",
      "description": "Security group ID in which all the nodes of the pool will be created. If unset, the pool will use default Kapsule security group in current zone."
    },
    "labels": {
      "type": "object",
      "description": "Kubernetes labels applied and reconciled on the nodes.",
      "properties": {
        "<labelKey>": {
          "type": "string",
          "description": "Kubernetes labels applied and reconciled on the nodes."
        }
      },
      "additionalProperties": true
    },
    "taints": {
      "type": "array",
      "description": "Kubernetes taints applied and reconciled on the nodes.",
      "items": {
        "$ref": "#/components/schemas/scaleway.k8s.v1.CoreV1Taint"
      }
    },
    "startup_taints": {
      "type": "array",
      "description": "Kubernetes taints applied at node creation but not reconciled afterwards.",
      "items": {
        "$ref": "#/components/schemas/scaleway.k8s.v1.CoreV1Taint"
      }
    },
    "region": {
      "type": "string",
      "description": "Cluster region of the pool."
    }
  },
  "required": [
    "node_type",
    "size"
  ],
  "x-properties-order": [
    "id",
    "cluster_id",
    "created_at",
    "updated_at",
    "name",
    "status",
    "version",
    "node_type",
    "autoscaling",
    "size",
    "min_size",
    "max_size",
    "container_runtime",
    "autohealing",
    "tags",
    "placement_group_id",
    "kubelet_args",
    "upgrade_policy",
    "zone",
    "root_volume_type",
    "root_volume_size",
    "public_ip_disabled",
    "security_group_id",
    "labels",
    "taints",
    "startup_taints",
    "region"
  ]
}