NodepoolUpdate
Updates information about a Ionoscloud K8s Nodepool.
1
knife ionoscloud nodepool update (options)
Copied!

Available options:

Required options:

    cluster_id
    nodepool_id
    ionoscloud_username
    ionoscloud_password
1
cluster_id: --cluster-id CLUSTER_ID, -C CLUSTER_ID
2
iD of the Kubernetes cluster (required)
3
4
nodepool_id: --nodepool-id NODEPOOL_ID, -P NODEPOOL_ID
5
iD of the Kubernetes nodepool (required)
6
7
k8s_version: --version VERSION, -v VERSION
8
the version for the Kubernetes cluster.
9
10
maintenance_day: --maintenance-day MAINTENANCE_DAY
11
day Of the week when to perform the maintenance.
12
13
maintenance_time: --maintenance-time MAINTENANCE_TIME, -t MAINTENANCE_TIME
14
time Of the day when to perform the maintenance.
15
16
node_count: --node-count NODE_COUNT, -c NODE_COUNT
17
the number of worker nodes that the node pool should contain. Min 2, Max: Determined by the resource availability.
18
19
min_node_count: --min-node-count MIN_NODE_COUNT
20
the minimum number of worker nodes that the managed node group can scale in
21
22
max_node_count: --max-node-count MAX_NODE_COUNT
23
the maximum number of worker nodes that the managed node pool can scale-out.
24
25
lans: --lans LAN_ID [LAN_ID]
26
an array of additional private LANs attached to worker nodes
27
28
public_ips: --ips PUBLIC_IP [PUBLIC_IP]
29
optional array of reserved public IP addresses to be used by the nodes. IPs must be from same location as the data center used for the node pool. The array must contain one extra IP than maximum number of nodes could be. (nodeCount+1 if fixed node amount or maxNodeCount+1 if auto scaling is used) The extra provided IP Will be used during rebuilding of nodes.
30
31
labels: --labels LABEL [LABEL]
32
map of labels attached to node pool
33
34
annotations: --annotations ANNOTATION [ANNOTATION]
35
map of annotations attached to node pool
36
37
ionoscloud_username: --username USERNAME, -u USERNAME
38
your Ionoscloud username (required)
39
40
ionoscloud_password: --password PASSWORD, -p PASSWORD
41
your Ionoscloud password (required)
42
43
extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
44
path to the additional config file
Copied!

Example

1
knife ionoscloud nodepool update --cluster-id CLUSTER_ID --nodepool-id NODEPOOL_ID --version VERSION --maintenance-day MAINTENANCE_DAY --maintenance-time MAINTENANCE_TIME --node-count NODE_COUNT --min-node-count MIN_NODE_COUNT --max-node-count MAX_NODE_COUNT --lans LAN_ID [LAN_ID] --ips PUBLIC_IP [PUBLIC_IP] --labels LABEL [LABEL] --annotations ANNOTATION [ANNOTATION] --username USERNAME --password PASSWORD --extra-config EXTRA_CONFIG_FILE_PATH
Copied!
Last modified 30d ago