---
name: "kubeadm-init-phase-addon-coredns"
section: "1"
platform: "linux"
package: "kubeadm"
version: "1.37.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/kubeadm-init-phase-addon-coredns"
---

# kubeadm-init-phase-addon-coredns(1)

Install the CoreDNS addon to a Kubernetes cluster

Eric Paris Jan 2015

## NAME

kubeadm init phase addon coredns - Install the CoreDNS addon to a Kubernetes cluster

## SYNOPSIS

**kubeadm init phase addon coredns** \[OPTIONS\]

## DESCRIPTION

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.

## OPTIONS

**--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: RootlessControlPlane=true\|false (ALPHA - 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**="10.96.0.0/12"\
 	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

**--rootfs**=""\
 	The path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.

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

## SEE ALSO

**[kubeadm-init-phase-addon(1)](/kubeadm-init-phase-addon/1.md)**,

## HISTORY

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!
