1KUBERNETES(1) Jan 2015 KUBERNETES(1)
2
3
4
6 kubeadm config upload from-flags - Create the in-cluster configuration
7 file for the first time from using flags
8
9
10
12 kubeadm config upload from-flags [OPTIONS]
13
14
15
17 Using this command, you can upload configuration to the ConfigMap in
18 the cluster using the same flags you gave to 'kubeadm init'. If you
19 initialized your cluster using a v1.7.x or lower kubeadm client and set
20 certain flags, you need to run this command with the same flags before
21 upgrading to v1.8 using 'kubeadm upgrade'.
22
23
24 The configuration is located in the "kube-system" namespace in the
25 "kubeadm-config" ConfigMap.
26
27
28
30 --apiserver-advertise-address=""
31 The IP address the API Server will advertise it's listening on. If
32 not set the default network interface will be used.
33
34
35 --apiserver-bind-port=6443
36 Port for the API Server to bind to.
37
38
39 --apiserver-cert-extra-sans=[]
40 Optional extra Subject Alternative Names (SANs) to use for the API
41 Server serving certificate. Can be both IP addresses and DNS names.
42
43
44 --cert-dir="/etc/kubernetes/pki"
45 The path where to save and store the certificates.
46
47
48 --certificate-key=""
49 Key used to encrypt the control-plane certificates in the
50 kubeadm-certs Secret.
51
52
53 --cri-socket=""
54 Path to the CRI socket to connect. If empty kubeadm will try to
55 auto-detect this value; use this option only if you have more than one
56 CRI installed or if you have non-standard CRI socket.
57
58
59 --feature-gates=""
60 A set of key=value pairs that describe feature gates for various
61 features. No feature gates are available in this release.
62
63
64 --kubernetes-version="stable-1"
65 Choose a specific Kubernetes version for the control plane.
66
67
68 --node-name=""
69 Specify the node name.
70
71
72 --pod-network-cidr=""
73 Specify range of IP addresses for the pod network. If set, the con‐
74 trol plane will automatically allocate CIDRs for every node.
75
76
77 --service-cidr="10.96.0.0/12"
78 Use alternative range of IP address for service VIPs.
79
80
81 --service-dns-domain="cluster.local"
82 Use alternative domain for services, e.g. "myorg.internal".
83
84
85
87 --azure-container-registry-config=""
88 Path to the file containing Azure container registry configuration
89 information.
90
91
92 --kubeconfig="/etc/kubernetes/admin.conf"
93 The kubeconfig file to use when talking to the cluster. If the flag
94 is not set, a set of standard locations can be searched for an existing
95 kubeconfig file.
96
97
98 --log-flush-frequency=5s
99 Maximum number of seconds between log flushes
100
101
102 --rootfs=""
103 [EXPERIMENTAL] The path to the 'real' host root filesystem.
104
105
106 --version=false
107 Print version information and quit
108
109
110
112 kubeadm-config-upload(1),
113
114
115
117 January 2015, Originally compiled by Eric Paris (eparis at redhat dot
118 com) based on the kubernetes source material, but hopefully they have
119 been automatically generated since!
120
121
122
123Eric Paris kubernetes User Manuals KUBERNETES(1)