Writes an environment file with runtime flags for the kubelet.
Writes an environment file with flags that should be passed to the kubelet executing on the master or node. This –config flag can either consume a InitConfiguration object or a JoinConfiguration one, as this function is used for both “kubeadm init” and “kubeadm join”.
Alpha Disclaimer: this command is currently alpha.
kubeadm alpha phase kubelet write-env-file [flags]
# Writes a dynamic environment file with kubelet flags from a InitConfiguration file. kubeadm alpha phase kubelet write-env-file --config masterconfig.yaml # Writes a dynamic environment file with kubelet flags from a JoinConfiguration file. kubeadm alpha phase kubelet write-env-file --config nodeconfig.yaml
|Path to kubeadm config file (WARNING: Usage of a configuration file is experimental)|
|help for write-env-file|
|[EXPERIMENTAL] The path to the 'real' host root filesystem.|