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/tags.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,13 @@ In this case, the Kuebrnetes nodes will have the label `k8s.scaleway.com/foo=bar
11
11
12
12
Once the tag is removed from the instance, it will also be removed as a label on the node.
13
13
14
+
### Non prefixed labels
15
+
16
+
It is possible to add labels nop prefixed with `k8s.scaleway.com`. The downside, is that when you will delete the associated tag, the label won't get removed.
17
+
In order to have non prefixed labels, you should prefix the tag with `noprefix=`.
18
+
19
+
For intance the tag `noprefix=foo=bar` will yield the `foo=bar` label on the Kubernetes nodes.
20
+
14
21
## Taints
15
22
16
23
In order for a tag to be synced to a taint, it needs to be of the form `taint=foo:bar:Effect`, where `Effect` is one of `NoExecute`, `NoSchedule` or `PreferNoSchedule`.
0 commit comments