Edit This Page

Generates the kube-apiserver static Pod manifest


Generates the kube-apiserver static Pod manifest

kubeadm init phase control-plane apiserver [flags]


      --apiserver-advertise-address string     The IP address the API Server will advertise it's listening on. If not set the default network interface will be used.
      --apiserver-bind-port int32              Port for the API Server to bind to. (default 6443)
      --apiserver-extra-args mapStringString   A set of extra flags to pass to the API Server or override default ones in form of <flagname>=<value>
      --cert-dir string                        The path where to save and store the certificates. (default "/etc/kubernetes/pki")
      --config string                          Path to a kubeadm configuration file.
      --feature-gates string                   A set of key=value pairs that describe feature gates for various features. No feature gates are available in this release.
  -h, --help                                   help for apiserver
      --image-repository string                Choose a container registry to pull control plane images from (default "")
      --kubernetes-version string              Choose a specific Kubernetes version for the control plane. (default "stable-1")
      --service-cidr string                    Use alternative range of IP address for service VIPs. (default "")

Options inherited from parent commands

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