You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/commands/k8s.md
+25Lines changed: 25 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,7 @@ This API allows you to manage Kubernetes Kapsule and Kosmos clusters.
34
34
-[Replace a Node in a Cluster](#replace-a-node-in-a-cluster)
35
35
-[Wait for a node to reach a stable state](#wait-for-a-node-to-reach-a-stable-state)
36
36
-[Kapsule pool management commands](#kapsule-pool-management-commands)
37
+
-[Add an external node to a Kosmos Pool](#add-an-external-node-to-a-kosmos-pool)
37
38
-[Create a new Pool in a Cluster](#create-a-new-pool-in-a-cluster)
38
39
-[Delete a Pool in a Cluster](#delete-a-pool-in-a-cluster)
39
40
-[Get a Pool in a Cluster](#get-a-pool-in-a-cluster)
@@ -961,6 +962,30 @@ A pool is a set of identical nodes
961
962
A pool has a name, a size (its desired number of nodes), node number limits (min, max), and a Scaleway Instance type. Changing those limits increases/decreases the size of a pool. As a result and depending on its load, the pool will grow or shrink within those limits when autoscaling is enabled.
962
963
963
964
965
+
### Add an external node to a Kosmos Pool
966
+
967
+
Add an external node to a Kosmos Pool.
968
+
This will connect via SSH to the node, download the multicloud configuration script and run it with sudo privileges.
969
+
Keep in mind that your external node needs to have wget in order to download the script.
970
+
971
+
**Usage:**
972
+
973
+
```
974
+
scw k8s pool add-external-node [arg=value ...]
975
+
```
976
+
977
+
978
+
**Args:**
979
+
980
+
| Name || Description |
981
+
|------|---|-------------|
982
+
| node-ip | Required | IP address of the external node |
983
+
| pool-id | Required | ID of the Pool the node should be added to |
984
+
| username | Default: `root`| Username used for the SSH connection |
985
+
| region | Default: `fr-par`| Region to target. If none is passed will use default region from the config |
986
+
987
+
988
+
964
989
### Create a new Pool in a Cluster
965
990
966
991
Create a new pool in a specific Kubernetes cluster.
0 commit comments