Reference

Edit This Page

Generate the static Pod manifest file for a local, single-node local etcd instance

Synopsis

Generate the static Pod manifest file for a local, single-node local etcd instance

kubeadm init phase etcd local [flags]

Examples

  # Generates the static Pod manifest file for etcd, functionally
  # equivalent to what is generated by kubeadm init.
  kubeadm init phase etcd local
  
  # Generates the static Pod manifest file for etcd using options
  # read from a configuration file.
  kubeadm init phase etcd local --config config.yaml

Options

      --cert-dir string           The path where to save and store the certificates. (default "/etc/kubernetes/pki")
      --config string             Path to a kubeadm configuration file.
  -h, --help                      help for local
      --image-repository string   Choose a container registry to pull control plane images from (default "k8s.gcr.io")

Options inherited from parent commands

      --rootfs string   [EXPERIMENTAL] The path to the 'real' host root filesystem.

Feedback