Upload a configuration file to the in-cluster ConfigMap for kubeadm configuration.
Using this command, you can upload configuration to the ConfigMap in the cluster using the same config file you gave to ‘kubeadm init’. If you initialized your cluster using a v1.7.x or lower kubeadm client and used the –config option, you need to run this command with the same config file before upgrading to v1.8 using ‘kubeadm upgrade’.
The configuration is located in the “kube-system” namespace in the “kubeadm-config” ConfigMap.
kubeadm config upload from-file [flags]
|Path to a kubeadm config file. WARNING: Usage of a configuration file is experimental.|
|help for from-file|
|--kubeconfig string Default: "/etc/kubernetes/admin.conf"|
|The KubeConfig file to use when talking to the cluster. If the flag is not set, a set of standard locations are searched for an existing KubeConfig file.|
|[EXPERIMENTAL] The path to the 'real' host root filesystem.|