1KUBERNETES(1)(kubernetes) KUBERNETES(1)(kubernetes)
2
3
4
5Eric Paris Jan 2015
6
7
9 kubeadm config migrate - Read an older version of the kubeadm configu‐
10 ration API types from a file, and output the similar config object for
11 the newer version
12
13
14
16 kubeadm config migrate [OPTIONS]
17
18
19
21 This command lets you convert configuration objects of older versions
22 to the latest supported version, locally in the CLI tool without ever
23 touching anything in the cluster. In this version of kubeadm, the fol‐
24 lowing API versions are supported: - kubeadm.k8s.io/v1beta3
25
26
27 Further, kubeadm can only write out config of version
28 "kubeadm.k8s.io/v1beta3", but read both types. So regardless of what
29 version you pass to the --old-config parameter here, the API object
30 will be read, deserialized, defaulted, converted, validated, and re-se‐
31 rialized when written to stdout or --new-config if specified.
32
33
34 In other words, the output of this command is what kubeadm actually
35 would read internally if you submitted this file to "kubeadm init"
36
37
38
40 --new-config="" Path to the resulting equivalent kubeadm config
41 file using the new API version. Optional, if not specified output will
42 be sent to STDOUT.
43
44
45 --old-config="" Path to the kubeadm config file that is using an
46 old API version and should be converted. This flag is mandatory.
47
48
49
51 --azure-container-registry-config="" Path to the file containing
52 Azure container registry configuration information.
53
54
55 --kubeconfig="/etc/kubernetes/admin.conf" The kubeconfig file to
56 use when talking to the cluster. If the flag is not set, a set of stan‐
57 dard locations can be searched for an existing kubeconfig file.
58
59
60 --rootfs="" [EXPERIMENTAL] The path to the 'real' host root
61 filesystem.
62
63
64 --version=false Print version information and quit
65
66
67
69 kubeadm-config(1),
70
71
72
74 January 2015, Originally compiled by Eric Paris (eparis at redhat dot
75 com) based on the kubernetes source material, but hopefully they have
76 been automatically generated since!
77
78
79
80Manuals User KUBERNETES(1)(kubernetes)