code: func NewCmdConfigUpload(out io.Writer, kubeConfigFile *string) *cobra.Command {
  	cmd := &cobra.Command{
  		Use:   "upload",
  		Short: "Upload configuration about the current state, so that 'kubeadm upgrade' can later know how to configure the upgraded cluster",
  		RunE:  cmdutil.SubCmdRunE("upload"),
  	}
  
  	cmd.AddCommand(NewCmdConfigUploadFromFile(out, kubeConfigFile))
  	cmd.AddCommand(NewCmdConfigUploadFromFlags(out, kubeConfigFile))
  	return cmd
  }
docs: // NewCmdConfigUpload returns cobra.Command for "kubeadm config upload" command