func GetCurrentKubeletConfig(nodeName, namespace string, useProxy bool) (*kubeletconfig.KubeletConfiguration, error) {
	resp := pollConfigz(5*time.Minute, 5*time.Second, nodeName, namespace, useProxy)
	if resp == nil {
		return nil, fmt.Errorf("failed to fetch /configz from %q", nodeName)
	}
	kubeCfg, err := decodeConfigz(resp)
	if err != nil {
		return nil, err
	}
	return kubeCfg, nil
}
// GetCurrentKubeletConfig fetches the current Kubelet Config for the given node
GetCurrentKubeletConfig fetches the current Kubelet Config for the given node
// GetCurrentKubeletConfig fetches the current Kubelet Config for the given node
func GetCurrentKubeletConfig(nodeName, namespace string, useProxy bool) (*kubeletconfig.KubeletConfiguration, error) {
	resp := pollConfigz(5*time.Minute, 5*time.Second, nodeName, namespace, useProxy)
	if resp == nil {
		return nil, fmt.Errorf("failed to fetch /configz from %q", nodeName)
	}
	kubeCfg, err := decodeConfigz(resp)
	if err != nil {
		return nil, err
	}
	return kubeCfg, nil
}
func GetCurrentKubeletConfig ( nodeName , namespace string , useProxy bool ) ( * kubeletconfig . KubeletConfiguration , error ) { resp := pollConfigz ( 5 * time . Minute , 5 * time . Second , nodeName , namespace , useProxy ) if resp == nil { return nil , fmt . Errorf ( " " , nodeName ) } kubeCfg , err := decodeConfigz ( resp ) if err != nil { return nil , err } return kubeCfg , nil }
GetCurrentKubeletConfig fetches the current Kubelet Config for the given node
GetCurrentKubeletConfig fetches the current Kubelet Config for the given node