const LabelOS … const LabelArch … var kubeletLabels … var kubeletLabelNamespaces … // KubeletLabels returns the list of label keys kubelets are allowed to set on their own Node objects func KubeletLabels() []string { … } // KubeletLabelNamespaces returns the list of label key namespaces kubelets are allowed to set on their own Node objects func KubeletLabelNamespaces() []string { … } // IsKubeletLabel returns true if the label key is one that kubelets are allowed to set on their own Node object. // This checks if the key is in the KubeletLabels() list, or has a namespace in the KubeletLabelNamespaces() list. func IsKubeletLabel(key string) bool { … } func getLabelNamespace(key string) string { … }