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
Where `$nodepool` should be the name of an existing node pool.
38
38
39
39
### Using a custom node pool label
40
-
If your cluster uses a different label than the ones supported in code, you can pass a custom label using the `--label/-l` flag as in the following examples:
40
+
If your cluster uses a different label than the ones supported in code, you can pass a custom label using the `--label/-l` flag or by setting the `KUBE_NODEPOOLS_LABEL` environment variable:
41
41
42
42
```shell
43
43
# list nodepools using a custom label
44
44
kubectl nodepools list --label 'custom.domain.io/fancy-node-label'
0 commit comments