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/v1alpha3   -
22       kubeadm.k8s.io/v1beta1
23
24
25       Further,    kubeadm    can   only   write   out   config   of   version
26       "kubeadm.k8s.io/v1beta1", 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

OPTIONS

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

OPTIONS INHERITED FROM PARENT COMMANDS

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

SEE ALSO

75       kubeadm-config(1),
76
77
78

HISTORY

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