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/v1beta2
25
26
27 Further, kubeadm can only write out config of version
28 "kubeadm.k8s.io/v1beta2", 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 --log-flush-frequency=5s Maximum number of seconds between log
61 flushes
62
63
64 --rootfs="" [EXPERIMENTAL] The path to the 'real' host root
65 filesystem.
66
67
68 --version=false Print version information and quit
69
70
71
73 kubeadm-config(1),
74
75
76
78 January 2015, Originally compiled by Eric Paris (eparis at redhat dot
79 com) based on the kubernetes source material, but hopefully they have
80 been automatically generated since!
81
82
83
84Manuals User KUBERNETES(1)(kubernetes)