code: func EncodeKubeletConfig(internal *kubeletconfig.KubeletConfiguration, targetVersion schema.GroupVersion) ([]byte, error) {
  	encoder, err := NewKubeletconfigYAMLEncoder(targetVersion)
  	if err != nil {
  		return nil, err
  	}
  	// encoder will convert to external version
  	data, err := runtime.Encode(encoder, internal)
  	if err != nil {
  		return nil, err
  	}
  	return data, nil
  }
docs: // EncodeKubeletConfig encodes an internal KubeletConfiguration to an external YAML representation