Modifier un cluster

Cette page est à ce jour disponible en anglais uniquement.

You can modify some parameters of your Kubernetes clusters.

Modifying a Cluster Using OKS CLI

You cannot modify the parenting project and profile parameters of the cluster.

To modify the parameters of one of your clusters, use the cluster update command following this syntax:

Request sample: Updating the Admin Whitelist of the Cluster
$ oks-cli cluster update \
--project-name NAME_OF_PROJECT \
--cluster-name NAME_OF_CLUSTER \
--admin "1.2.3.4/32"

This command contains the following options that you need to specify:

  • cluster-name: The name of the cluster, with a maximum length of 40 alphanumeric characters and dashes (-). This name must not start or end with a dash, and it must be unique within the project.

  • (optional) project-name: The name of the project where the cluster will be created.

  • (optional) admin: The CIDRs to be whitelisted, separated by commas. This range of one or multiple IPs is empty by default, and should be specified in order to manage the cluster after creation.

Pages connexes