From 667ce157f380237c6c97edd8a84e032df0900819 Mon Sep 17 00:00:00 2001 From: Feruzjon Muyassarov Date: Thu, 1 Sep 2022 17:26:18 +0300 Subject: [PATCH] Add short label namespace flag in the documentation Signed-off-by: Feruzjon Muyassarov --- docs/advanced/master-commandline-reference.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/advanced/master-commandline-reference.md b/docs/advanced/master-commandline-reference.md index c9a2669580..359f4625ef 100644 --- a/docs/advanced/master-commandline-reference.md +++ b/docs/advanced/master-commandline-reference.md @@ -151,6 +151,22 @@ Example: nfd-master -no-publish ``` +### -label-ns + +The `-label-ns` flag switches label namespace from old +`feature.node.kubernetes.io` format to the new and short format `nfd.k8s.io`. +By default `feature.node.kubernetes.io` (i.e. `label-ns=legacy`) is used. +Setting the flag to any value except `legacy`, will enforce the use of the +short namespace. + +Default: *legacy* + +Example: + +```bash +nfd-master -no-publish=short +``` + ### -featurerules-controller The `-featurerules-controller` flag controlers the processing of