// GetKubeletLabels returns the node's labels that can be set by kubelet.
GetKubeletLabels returns the node's labels that can be set by kubelet.
// GetKubeletLabels returns the node ' s labels that can be set by kubelet .
func (s *Server) GetKubeletLabels(profileLabels map[string]string) map[string]string {
	allLabels := s.GetNodeLabels(profileLabels)
	result := make(map[string]string)
	for key, val := range allLabels {
		if utils.IsKubernetesLabel(key) {
			if kubeletapis.IsKubeletLabel(key) {
				result[key] = val
			}
		} else {
			result[key] = val
		}
	}
	return result
}
func ( s * Server ) GetKubeletLabels ( profileLabels map [ string ] string ) map [ string ] string { allLabels := s . GetNodeLabels ( profileLabels ) result := make ( map [ string ] string ) for key , val := range allLabels { if utils . IsKubernetesLabel ( key ) { if kubeletapis . IsKubeletLabel ( key ) { result [ key ] = val } } else { result [ key ] = val } } return result }
GetKubeletLabels returns the node's labels that can be set by kubelet.
GetKubeletLabels returns the node ' s labels that can be set by kubelet .