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
This method allows to delete a specific node. Note that when there is not enough space to reschedule all the pods (in a one node cluster for instance), you may experience some disruption of your applications.
Copy file name to clipboardExpand all lines: cmd/scw/testdata/test-all-usage-k8s-node-list-usage.golden
+1-1
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ ARGS:
20
20
[pool-id] The pool ID on which to filter the returned nodes
21
21
[order-by] The sort order of the returned nodes (created_at_asc | created_at_desc)
22
22
[name] The name on which to filter the returned nodes
23
-
[status] The status on which to filter the returned nodes (unknown | creating | not_ready | ready | deleting | deleted | locked | rebooting | creation_error | upgrading)
23
+
[status] The status on which to filter the returned nodes (unknown | creating | not_ready | ready | deleting | deleted | locked | rebooting | creation_error | upgrading | starting)
24
24
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
-[Delete a node in a cluster](#delete-a-node-in-a-cluster)
20
21
-[Get a node in a cluster](#get-a-node-in-a-cluster)
21
22
-[List all the nodes in a cluster](#list-all-the-nodes-in-a-cluster)
22
23
-[Reboot a node in a cluster](#reboot-a-node-in-a-cluster)
@@ -528,6 +529,36 @@ Please note that Kubernetes nodes cannot be accessed with ssh.
528
529
529
530
530
531
532
+
### Delete a node in a cluster
533
+
534
+
This method allows to delete a specific node. Note that when there is not enough space to reschedule all the pods (in a one node cluster for instance), you may experience some disruption of your applications.
535
+
536
+
**Usage:**
537
+
538
+
```
539
+
scw k8s node delete [arg=value ...]
540
+
```
541
+
542
+
543
+
**Args:**
544
+
545
+
| Name || Description |
546
+
|------|---|-------------|
547
+
| node-id | Required ||
548
+
| region | Default: `fr-par`<br />One of: `fr-par`, `nl-ams`, `pl-waw`| Region to target. If none is passed will use default region from the config |
This method allows to get details about a specific Kubernetes node.
@@ -577,7 +608,7 @@ scw k8s node list [arg=value ...]
577
608
| pool-id || The pool ID on which to filter the returned nodes |
578
609
| order-by | One of: `created_at_asc`, `created_at_desc`| The sort order of the returned nodes |
579
610
| name || The name on which to filter the returned nodes |
580
-
| status | One of: `unknown`, `creating`, `not_ready`, `ready`, `deleting`, `deleted`, `locked`, `rebooting`, `creation_error`, `upgrading`| The status on which to filter the returned nodes |
611
+
| status | One of: `unknown`, `creating`, `not_ready`, `ready`, `deleting`, `deleted`, `locked`, `rebooting`, `creation_error`, `upgrading`, `starting`| The status on which to filter the returned nodes |
581
612
| region | Default: `fr-par`<br />One of: `fr-par`, `nl-ams`, `pl-waw`| Region to target. If none is passed will use default region from the config |
Long: `This method allows to delete a specific node. Note that when there is not enough space to reschedule all the pods (in a one node cluster for instance), you may experience some disruption of your applications.`,
0 commit comments