1KUBERNETES(1)                      Jan 2015                      KUBERNETES(1)
2
3
4

NAME

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

SYNOPSIS

13       kubeadm config migrate [OPTIONS]
14
15
16

DESCRIPTION

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/v1beta2
22
23
24       Further,   kubeadm   can   only   write   out   config    of    version
25       "kubeadm.k8s.io/v1beta2",  but  read both types.  So regardless of what
26       version you pass to the --old-config parameter  here,  the  API  object
27       will  be  read,  deserialized,  defaulted,  converted,  validated,  and
28       re-serialized when written to stdout or --new-config if specified.
29
30
31       In other words, the output of this command  is  what  kubeadm  actually
32       would read internally if you submitted this file to "kubeadm init"
33
34
35

OPTIONS

37       --new-config=""
38           Path  to the resulting equivalent kubeadm config file using the new
39       API version. Optional, if not specified output will be sent to STDOUT.
40
41
42       --old-config=""
43           Path to the kubeadm config file that is using an  old  API  version
44       and should be converted. This flag is mandatory.
45
46
47

OPTIONS INHERITED FROM PARENT COMMANDS

49       --azure-container-registry-config=""
50           Path  to the file containing Azure container registry configuration
51       information.
52
53
54       --kubeconfig="/etc/kubernetes/admin.conf"
55           The kubeconfig file to use when talking to the cluster. If the flag
56       is not set, a set of standard locations can be searched for an existing
57       kubeconfig file.
58
59
60       --log-flush-frequency=5s
61           Maximum number of seconds between log flushes
62
63
64       --rootfs=""
65           [EXPERIMENTAL] The path to the 'real' host root filesystem.
66
67
68       --version=false
69           Print version information and quit
70
71
72

SEE ALSO

74       kubeadm-config(1),
75
76
77

HISTORY

79       January 2015, Originally compiled by Eric Paris (eparis at  redhat  dot
80       com)  based  on the kubernetes source material, but hopefully they have
81       been automatically generated since!
82
83
84
85Eric Paris                  kubernetes User Manuals              KUBERNETES(1)
Impressum