forked from scaleway/scaleway-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest-all-usage-k8s-pool-set-taint-usage.golden
More file actions
30 lines (24 loc) · 1.19 KB
/
test-all-usage-k8s-pool-set-taint-usage.golden
File metadata and controls
30 lines (24 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Apply a taint to all nodes of the pool which will be periodically reconciled by scaleway.
USAGE:
scw k8s pool set-taint <pool-id ...> [arg=value ...]
EXAMPLES:
Apply a taint to a specific pool
scw k8s pool set-taint 11111111-1111-1111-1111-111111111111 key=foo value=bar effect=NoSchedule
Apply a full taint to a specific pool
scw k8s pool set-taint 11111111-1111-1111-1111-111111111111 key=organization.example/gpu value=true effect=NoSchedule
ARGS:
pool-id ID of the pool.
key Key of the taint.
value Value of the taint.
effect Effect of the taint. (NoSchedule | PreferNoSchedule | NoExecute)
[region=fr-par] Region to target. If none is passed will use default region from the config
FLAGS:
-h, --help help for set-taint
--list-sub-commands List all subcommands
GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use