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