Your company here ā€” click to reach over 10,000 unique daily visitors

kubeadm-init-phase-addon-coredns - Man Page

Install the CoreDNS addon to a Kubernetes cluster

Eric Paris Jan 2015


kubeadm init phase addon coredns [Options]


Install the CoreDNS addon components via the API server. Please note that although the DNS server is deployed, it will not be scheduled until CNI is installed.


--config="" Path to a kubeadm configuration file.

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

--feature-gates="" A set of key=value pairs that describe feature gates for various features. Options are: EtcdLearnerMode=true|false (BETA - default=true) PublicKeysECDSA=true|false (DEPRECATED - default=false) RootlessControlPlane=true|false (ALPHA - default=false) UpgradeAddonsBeforeControlPlane=true|false (DEPRECATED - default=false)

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

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

--kubernetes-version="stable-1" Choose a specific Kubernetes version for the control plane.

--print-manifest=false Print the addon manifests to STDOUT instead of installing them

--service-cidr="" Use alternative range of IP address for service VIPs.

--service-dns-domain="cluster.local" Use alternative domain for services, e.g. "myorg.internal".

Options Inherited from Parent Commands

--azure-container-registry-config="" Path to the file containing Azure container registry configuration information.

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

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

See Also



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!

Referenced By


User Manuals