---
name: "kubeadm-init-phase-upload-config-kubeadm"
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-upload-config-kubeadm"
---

# kubeadm-init-phase-upload-config-kubeadm(1)

Upload the kubeadm ClusterConfiguration to a ConfigMap

Eric Paris Jan 2015

## NAME

kubeadm init phase upload-config kubeadm - Upload the kubeadm ClusterConfiguration to a ConfigMap

## SYNOPSIS

**kubeadm init phase upload-config kubeadm** \[OPTIONS\]

## DESCRIPTION

Upload the kubeadm ClusterConfiguration to a ConfigMap called kubeadm-config in the kube-system namespace. This enables correct configuration of system components and a seamless user experience when upgrading.

Alternatively, you can use kubeadm config.

## OPTIONS

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

**--cri-socket**=""\
 	Path to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket.

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

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

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

## EXAMPLE

```
  # upload the configuration of your cluster
  kubeadm init phase upload-config kubeadm --config=myConfig.yaml
```

## SEE ALSO

**[kubeadm-init-phase-upload-config(1)](/kubeadm-init-phase-upload-config/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!
