@@ -50,7 +50,17 @@ export type ListClustersRequestOrderBy =
5050 | 'version_asc'
5151 | 'version_desc'
5252
53- export type ListNodesRequestOrderBy = 'created_at_asc' | 'created_at_desc'
53+ export type ListNodesRequestOrderBy =
54+ | 'created_at_asc'
55+ | 'created_at_desc'
56+ | 'updated_at_asc'
57+ | 'updated_at_desc'
58+ | 'name_asc'
59+ | 'name_desc'
60+ | 'status_asc'
61+ | 'status_desc'
62+ | 'version_asc'
63+ | 'version_desc'
5464
5565export type ListPoolsRequestOrderBy =
5666 | 'created_at_asc'
@@ -136,7 +146,7 @@ export interface ClusterAutoUpgrade {
136146export interface ClusterAutoscalerConfig {
137147 /** Disable the cluster autoscaler. */
138148 scaleDownDisabled : boolean
139- /** How long after scale up that scale down evaluation resumes. */
149+ /** How long after scale up the scale down evaluation resumes. */
140150 scaleDownDelayAfterAdd : string
141151 /** Type of resource estimator to be used in scale up. */
142152 estimator : AutoscalerEstimator
@@ -248,17 +258,19 @@ export interface Pool {
248258 * when autoscaling is enabled on the pool.
249259 */
250260 maxSize : number
251- /**
252- * Customization of the container runtime is available for each pool. Note
253- * that `docker` has been deprecated since version 1.20 and will be removed by
254- * version 1.24.
255- */
261+ /** Customization of the container runtime is available for each pool. */
256262 containerRuntime : Runtime
257263 /** Defines whether the autohealing feature is enabled for the pool. */
258264 autohealing : boolean
259- /** Tags associated with the pool. */
265+ /**
266+ * Tags associated with the pool, see [managing
267+ * tags](https://www.scaleway.com/en/docs/containers/kubernetes/api-cli/managing-tags).
268+ */
260269 tags : string [ ]
261- /** Placement group ID in which all the nodes of the pool will be created. */
270+ /**
271+ * Placement group ID in which all the nodes of the pool will be created,
272+ * placement groups are limited to 20 instances.
273+ */
262274 placementGroupId ?: string
263275 /**
264276 * Kubelet arguments to be used by this pool. Note that this feature is
@@ -270,11 +282,15 @@ export interface Pool {
270282 /** Zone in which the pool's nodes will be spawned. */
271283 zone : Zone
272284 /**
273- * Defines the system volume disk type. Two different types of volume
274- * (`volume_type`) are provided: `l_ssd` is a local block storage which means
275- * your system is stored locally on your node's hypervisor. `b_ssd` is a
276- * remote block storage which means your system is stored on a centralized and
277- * resilient cluster.
285+ * - `l_ssd` is a local block storage which means your system is stored locally
286+ * on your node's hypervisor. This type is not available for all node types
287+ * `sbs-5k` is a remote block storage which means your system is stored on a
288+ * centralized and resilient cluster with 5k IOPS limits `sbs-15k` is a
289+ * faster remote block storage which means your system is stored on a
290+ * centralized and resilient cluster with 15k IOPS limits `b_ssd` is the
291+ * legacy remote block storage which means your system is stored on a
292+ * centralized and resilient cluster. Consider using `sbs-5k` or `sbs-15k`
293+ * instead.
278294 */
279295 rootVolumeType : PoolVolumeType
280296 /** System volume disk size. */
@@ -335,7 +351,7 @@ export interface CreateClusterRequestAutoUpgrade {
335351export interface CreateClusterRequestAutoscalerConfig {
336352 /** Disable the cluster autoscaler. */
337353 scaleDownDisabled ?: boolean
338- /** How long after scale up that scale down evaluation resumes. */
354+ /** How long after scale up the scale down evaluation resumes. */
339355 scaleDownDelayAfterAdd ?: string
340356 /** Type of resource estimator to be used in scale up. */
341357 estimator : AutoscalerEstimator
@@ -421,7 +437,10 @@ export interface CreateClusterRequestPoolConfig {
421437 * cloud providers in a Kosmos Cluster.
422438 */
423439 nodeType : string
424- /** Placement group ID in which all the nodes of the pool will be created. */
440+ /**
441+ * Placement group ID in which all the nodes of the pool will be created,
442+ * placement groups are limited to 20 instances.
443+ */
425444 placementGroupId ?: string
426445 /** Defines whether the autoscaling feature is enabled for the pool. */
427446 autoscaling : boolean
@@ -437,15 +456,14 @@ export interface CreateClusterRequestPoolConfig {
437456 * when autoscaling is enabled on the pool.
438457 */
439458 maxSize ?: number
440- /**
441- * Customization of the container runtime is available for each pool. Note
442- * that `docker` has been deprecated since version 1.20 and will be removed by
443- * version 1.24.
444- */
459+ /** Customization of the container runtime is available for each pool. */
445460 containerRuntime : Runtime
446461 /** Defines whether the autohealing feature is enabled for the pool. */
447462 autohealing : boolean
448- /** Tags associated with the pool. */
463+ /**
464+ * Tags associated with the pool, see [managing
465+ * tags](https://www.scaleway.com/en/docs/containers/kubernetes/api-cli/managing-tags).
466+ */
449467 tags : string [ ]
450468 /**
451469 * Kubelet arguments to be used by this pool. Note that this feature is
@@ -457,11 +475,15 @@ export interface CreateClusterRequestPoolConfig {
457475 /** Zone in which the pool's nodes will be spawned. */
458476 zone : Zone
459477 /**
460- * Defines the system volume disk type. Two different types of volume
461- * (`volume_type`) are provided: `l_ssd` is a local block storage which means
462- * your system is stored locally on your node's hypervisor. `b_ssd` is a
463- * remote block storage which means your system is stored on a centralized and
464- * resilient cluster.
478+ * - `l_ssd` is a local block storage which means your system is stored locally
479+ * on your node's hypervisor. This type is not available for all node types
480+ * `sbs-5k` is a remote block storage which means your system is stored on a
481+ * centralized and resilient cluster with 5k IOPS limits `sbs-15k` is a
482+ * faster remote block storage which means your system is stored on a
483+ * centralized and resilient cluster with 15k IOPS limits `b_ssd` is the
484+ * legacy remote block storage which means your system is stored on a
485+ * centralized and resilient cluster. Consider using `sbs-5k` or `sbs-15k`
486+ * instead.
465487 */
466488 rootVolumeType : PoolVolumeType
467489 /** System volume disk size. */
@@ -563,7 +585,7 @@ export interface Cluster {
563585 updatedAt ?: Date
564586 /** Autoscaler config for the cluster. */
565587 autoscalerConfig ?: ClusterAutoscalerConfig
566- /** Auto upgrade configuration of the cluster. */
588+ /** Auto upgrade Kubernetes version of the cluster. */
567589 autoUpgrade ?: ClusterAutoUpgrade
568590 /** Defines whether a new Kubernetes version is available. */
569591 upgradeAvailable : boolean
@@ -646,7 +668,7 @@ export interface UpdateClusterRequestAutoUpgrade {
646668export interface UpdateClusterRequestAutoscalerConfig {
647669 /** Disable the cluster autoscaler. */
648670 scaleDownDisabled ?: boolean
649- /** How long after scale up that scale down evaluation resumes. */
671+ /** How long after scale up the scale down evaluation resumes. */
650672 scaleDownDelayAfterAdd ?: string
651673 /** Type of resource estimator to be used in scale up. */
652674 estimator : AutoscalerEstimator
@@ -775,8 +797,9 @@ export type CreateClusterRequest = {
775797 */
776798 projectId ?: string
777799 /**
778- * Type of the cluster (possible values are kapsule, multicloud,
779- * kapsule-dedicated-8, kapsule-dedicated-16).
800+ * Type of the cluster. See [list available cluster
801+ * types](#list-available-cluster-types-for-a-cluster) for a list of valid
802+ * types.
780803 */
781804 type : string
782805 /** Cluster name. */
@@ -851,7 +874,10 @@ export type CreatePoolRequest = {
851874 * cloud providers in a Kosmos Cluster.
852875 */
853876 nodeType : string
854- /** Placement group ID in which all the nodes of the pool will be created. */
877+ /**
878+ * Placement group ID in which all the nodes of the pool will be created,
879+ * placement groups are limited to 20 instances.
880+ */
855881 placementGroupId ?: string
856882 /** Defines whether the autoscaling feature is enabled for the pool. */
857883 autoscaling : boolean
@@ -867,15 +893,14 @@ export type CreatePoolRequest = {
867893 * when autoscaling is enabled on the pool.
868894 */
869895 maxSize ?: number
870- /**
871- * Customization of the container runtime is available for each pool. Note
872- * that `docker` has been deprecated since version 1.20 and will be removed by
873- * version 1.24.
874- */
896+ /** Customization of the container runtime is available for each pool. */
875897 containerRuntime ?: Runtime
876898 /** Defines whether the autohealing feature is enabled for the pool. */
877899 autohealing : boolean
878- /** Tags associated with the pool. */
900+ /**
901+ * Tags associated with the pool, see [managing
902+ * tags](https://www.scaleway.com/en/docs/containers/kubernetes/api-cli/managing-tags).
903+ */
879904 tags ?: string [ ]
880905 /**
881906 * Kubelet arguments to be used by this pool. Note that this feature is
@@ -887,11 +912,15 @@ export type CreatePoolRequest = {
887912 /** Zone in which the pool's nodes will be spawned. */
888913 zone ?: Zone
889914 /**
890- * Defines the system volume disk type. Two different types of volume
891- * (`volume_type`) are provided: `l_ssd` is a local block storage which means
892- * your system is stored locally on your node's hypervisor. `b_ssd` is a
893- * remote block storage which means your system is stored on a centralized and
894- * resilient cluster.
915+ * - `l_ssd` is a local block storage which means your system is stored locally
916+ * on your node's hypervisor. This type is not available for all node types
917+ * `sbs-5k` is a remote block storage which means your system is stored on a
918+ * centralized and resilient cluster with 5k IOPS limits `sbs-15k` is a
919+ * faster remote block storage which means your system is stored on a
920+ * centralized and resilient cluster with 15k IOPS limits `b_ssd` is the
921+ * legacy remote block storage which means your system is stored on a
922+ * centralized and resilient cluster. Consider using `sbs-5k` or `sbs-15k`
923+ * instead.
895924 */
896925 rootVolumeType ?: PoolVolumeType
897926 /** System volume disk size. */
@@ -1331,7 +1360,7 @@ export type UpdateClusterRequest = {
13311360 /** New autoscaler config for the cluster. */
13321361 autoscalerConfig ?: UpdateClusterRequestAutoscalerConfig
13331362 /**
1334- * New auto upgrade configuration for the cluster. Note that all fields need
1363+ * New auto upgrade configuration for the cluster. Note that all fields needs
13351364 * to be set.
13361365 */
13371366 autoUpgrade ?: UpdateClusterRequestAutoUpgrade
0 commit comments