kubeadm-init-phase-upload-config-kubelet1
Upload the kubelet component config to a configmap
Usage
kubeadm init phase upload-config kubelet [OPTIONS]
Eric Paris Jan 2015
Overview
Upload the kubelet configuration extracted from the kubeadm InitConfiguration object to a kubelet-config ConfigMap in the cluster
Options
--config=""
Path to a kubeadm configuration file.
--cri-socket=""
Path to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket.
--dry-run=false
Don't apply any changes; just output what would be done.
--kubeconfig="/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 can be searched for an existing kubeconfig file.
Options inherited from parent commands
--rootfs=""
The path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.
--version=false
--version, --version=raw prints version information and quits; --version=vX.Y.Z... sets the reported version
Examples
# Upload the kubelet configuration from the kubeadm Config file to a ConfigMap in the cluster. kubeadm init phase upload-config kubelet --config kubeadm.yaml