.nh
.TH KUBERNETES(1) kubernetes User Manuals
Eric Paris
Jan 2015

.SH NAME
.PP
kubeadm init phase etcd local - Generate the static Pod manifest file for a local, single-node local etcd instance


.SH SYNOPSIS
.PP
\fBkubeadm init phase etcd local\fP [OPTIONS]


.SH DESCRIPTION
.PP
Generate the static Pod manifest file for a local, single-node local etcd instance


.SH OPTIONS
.PP
\fB--cert-dir\fP="/etc/kubernetes/pki"
	The path where to save and store the certificates.

.PP
\fB--config\fP=""
	Path to a kubeadm configuration file.

.PP
\fB--dry-run\fP=false
	Don't apply any changes; just output what would be done.

.PP
\fB--image-repository\fP="registry.k8s.io"
	Choose a container registry to pull control plane images from

.PP
\fB--patches\fP=""
	Path to a directory that contains files named "target[suffix][+patchtype].extension". For example, "kube-apiserver0+merge.yaml" or just "etcd.json". "target" can be one of "kube-apiserver", "kube-controller-manager", "kube-scheduler", "etcd", "kubeletconfiguration". "patchtype" can be one of "strategic", "merge" or "json" and they match the patch formats supported by kubectl. The default "patchtype" is "strategic". "extension" must be either "json" or "yaml". "suffix" is an optional string that can be used to determine which patches are applied first alpha-numerically.


.SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP
\fB--azure-container-registry-config\fP=""
	Path to the file containing Azure container registry configuration information.

.PP
\fB--rootfs\fP=""
	[EXPERIMENTAL] The path to the 'real' host root filesystem.

.PP
\fB--version\fP=false
	--version, --version=raw prints version information and quits; --version=vX.Y.Z... sets the reported version


.SH EXAMPLE
.PP
.RS

.nf
  # 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

.fi
.RE


.SH SEE ALSO
.PP
\fBkubeadm-init-phase-etcd(1)\fP,


.SH HISTORY
.PP
January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since!
