Newly generated kubeadm includes. (#7882)
* Newly generated kubeadm includes. * Add new includes to skip_toc and skip_title.pull/7876/merge
parent
98b217065b
commit
5c06a8be58
|
@ -4,7 +4,6 @@ kubeadm: easily bootstrap a secure Kubernetes cluster
|
|||
### Synopsis
|
||||
|
||||
|
||||
|
||||
kubeadm: easily bootstrap a secure Kubernetes cluster.
|
||||
|
||||
┌──────────────────────────────────────────────────────────┐
|
||||
|
@ -37,3 +36,9 @@ Example usage:
|
|||
|
||||
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for kubeadm
|
||||
```
|
||||
|
||||
|
|
|
@ -3,6 +3,11 @@ Experimental sub-commands not yet fully functional.
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Experimental sub-commands not yet fully functional.
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for alpha
|
||||
```
|
||||
|
||||
|
|
|
@ -3,6 +3,11 @@ Invoke subsets of kubeadm functions separately for a manual install.
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
This command is not meant to be run on its own. See list of available subcommands.
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for phase
|
||||
```
|
||||
|
||||
|
|
|
@ -3,6 +3,11 @@ Installs required addons for passing Conformance tests
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
This command is not meant to be run on its own. See list of available subcommands.
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for addon
|
||||
```
|
||||
|
||||
|
|
|
@ -3,14 +3,13 @@ Installs all addons to a Kubernetes cluster
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Installs the kube-dns and the kube-proxys addons components via the API server.
|
||||
Please note that although the DNS server is deployed, it will not be scheduled until CNI is installed.
|
||||
|
||||
Alpha Disclaimer: this command is currently alpha.
|
||||
|
||||
```
|
||||
kubeadm alpha phase addon all
|
||||
kubeadm alpha phase addon all [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
@ -29,15 +28,15 @@ kubeadm alpha phase addon all
|
|||
--apiserver-bind-port int32 The port the API server is accessible on (default 6443)
|
||||
--config string Path to a kubeadm config file. WARNING: Usage of a configuration file is experimental!
|
||||
--feature-gates string A set of key=value pairs that describe feature gates for various features.Options are:
|
||||
CoreDNS=true|false (ALPHA - default=false)
|
||||
Auditing=true|false (ALPHA - default=false)
|
||||
CoreDNS=true|false (BETA - default=false)
|
||||
DynamicKubeletConfig=true|false (ALPHA - default=false)
|
||||
HighAvailability=true|false (ALPHA - default=false)
|
||||
SelfHosting=true|false (BETA - default=false)
|
||||
SelfHosting=true|false (ALPHA - default=false)
|
||||
StoreCertsInSecrets=true|false (ALPHA - default=false)
|
||||
SupportIPVSProxyMode=true|false (ALPHA - default=false)
|
||||
-h, --help help for all
|
||||
--image-repository string Choose a container registry to pull control plane images from (default "k8s.gcr.io")
|
||||
--kubeconfig string The KubeConfig file to use when talking to the cluster (default "/etc/kubernetes/admin.conf")
|
||||
--kubernetes-version string Choose a specific Kubernetes version for the control plane (default "stable-1.8")
|
||||
--kubernetes-version string Choose a specific Kubernetes version for the control plane (default "stable-1.10")
|
||||
--pod-network-cidr string The range of IP addresses used for the Pod network
|
||||
--service-cidr string The range of IP address used for service VIPs (default "10.96.0.0/12")
|
||||
--service-dns-domain string Alternative domain for services (default "cluster.local")
|
||||
|
|
|
@ -3,14 +3,13 @@ Installs the kube-dns addon to a Kubernetes cluster
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Installs the kube-dns addon components via the API server.
|
||||
Please note that although the DNS server is deployed, it will not be scheduled until CNI is installed.
|
||||
|
||||
Alpha Disclaimer: this command is currently alpha.
|
||||
|
||||
```
|
||||
kubeadm alpha phase addon kube-dns
|
||||
kubeadm alpha phase addon kube-dns [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
@ -18,15 +17,15 @@ kubeadm alpha phase addon kube-dns
|
|||
```
|
||||
--config string Path to a kubeadm config file. WARNING: Usage of a configuration file is experimental!
|
||||
--feature-gates string A set of key=value pairs that describe feature gates for various features.Options are:
|
||||
CoreDNS=true|false (ALPHA - default=false)
|
||||
Auditing=true|false (ALPHA - default=false)
|
||||
CoreDNS=true|false (BETA - default=false)
|
||||
DynamicKubeletConfig=true|false (ALPHA - default=false)
|
||||
HighAvailability=true|false (ALPHA - default=false)
|
||||
SelfHosting=true|false (BETA - default=false)
|
||||
SelfHosting=true|false (ALPHA - default=false)
|
||||
StoreCertsInSecrets=true|false (ALPHA - default=false)
|
||||
SupportIPVSProxyMode=true|false (ALPHA - default=false)
|
||||
-h, --help help for kube-dns
|
||||
--image-repository string Choose a container registry to pull control plane images from (default "k8s.gcr.io")
|
||||
--kubeconfig string The KubeConfig file to use when talking to the cluster (default "/etc/kubernetes/admin.conf")
|
||||
--kubernetes-version string Choose a specific Kubernetes version for the control plane (default "stable-1.8")
|
||||
--kubernetes-version string Choose a specific Kubernetes version for the control plane (default "stable-1.10")
|
||||
--service-cidr string The range of IP address used for service VIPs (default "10.96.0.0/12")
|
||||
--service-dns-domain string Alternative domain for services (default "cluster.local")
|
||||
```
|
||||
|
|
|
@ -3,13 +3,12 @@ Installs the kube-proxy addon to a Kubernetes cluster
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Installs the kube-proxy addon components via the API server.
|
||||
|
||||
Alpha Disclaimer: this command is currently alpha.
|
||||
|
||||
```
|
||||
kubeadm alpha phase addon kube-proxy
|
||||
kubeadm alpha phase addon kube-proxy [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
@ -18,9 +17,10 @@ kubeadm alpha phase addon kube-proxy
|
|||
--apiserver-advertise-address string The IP address or DNS name the API server is accessible on
|
||||
--apiserver-bind-port int32 The port the API server is accessible on (default 6443)
|
||||
--config string Path to a kubeadm config file. WARNING: Usage of a configuration file is experimental!
|
||||
-h, --help help for kube-proxy
|
||||
--image-repository string Choose a container registry to pull control plane images from (default "k8s.gcr.io")
|
||||
--kubeconfig string The KubeConfig file to use when talking to the cluster (default "/etc/kubernetes/admin.conf")
|
||||
--kubernetes-version string Choose a specific Kubernetes version for the control plane (default "stable-1.8")
|
||||
--kubernetes-version string Choose a specific Kubernetes version for the control plane (default "stable-1.10")
|
||||
--pod-network-cidr string The range of IP addresses used for the Pod network
|
||||
```
|
||||
|
||||
|
|
|
@ -3,12 +3,12 @@ Manage kubeadm-specific bootstrap token functions
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
This command is not meant to be run on its own. See list of available subcommands.
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for bootstrap-token
|
||||
--kubeconfig string The KubeConfig file to use when talking to the cluster (default "/etc/kubernetes/admin.conf")
|
||||
```
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@ Makes all the bootstrap token configurations and creates an initial token
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Bootstrap tokens are used for establishing bidirectional trust between a node joining the cluster and a the master node.
|
||||
|
||||
This command makes all the configurations required to make bootstrap tokens works and then creates an initial token.
|
||||
|
@ -11,7 +10,7 @@ This command makes all the configurations required to make bootstrap tokens work
|
|||
Alpha Disclaimer: this command is currently alpha.
|
||||
|
||||
```
|
||||
kubeadm alpha phase bootstrap-token all
|
||||
kubeadm alpha phase bootstrap-token all [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
@ -25,14 +24,14 @@ kubeadm alpha phase bootstrap-token all
|
|||
### Options
|
||||
|
||||
```
|
||||
--cert-dir string The path where certificates are stored (default "/etc/kubernetes/pki")
|
||||
--config string Path to kubeadm config file (WARNING: Usage of a configuration file is experimental)
|
||||
--description string A human friendly description of how this token is used. (default "The default bootstrap token generated by 'kubeadm init'.")
|
||||
--groups stringSlice Extra groups that this token will authenticate as when used for authentication. Must match "system:bootstrappers:[a-z0-9:-]{0,255}[a-z0-9]" (default [system:bootstrappers:kubeadm:default-node-token])
|
||||
--groups strings Extra groups that this token will authenticate as when used for authentication. Must match "system:bootstrappers:[a-z0-9:-]{0,255}[a-z0-9]" (default [system:bootstrappers:kubeadm:default-node-token])
|
||||
-h, --help help for all
|
||||
--skip-token-print Skip printing of the bootstrap token
|
||||
--token string The token to use for establishing bidirectional trust between nodes and masters
|
||||
--ttl duration The duration before the token is automatically deleted (e.g. 1s, 2m, 3h). If set to '0', the token will never expire (default 24h0m0s)
|
||||
--usages stringSlice Describes the ways in which this token can be used. You can pass --usages multiple times or provide a comma separated list of options. Valid options: [signing,authentication] (default [signing,authentication])
|
||||
--usages strings Describes the ways in which this token can be used. You can pass --usages multiple times or provide a comma separated list of options. Valid options: [signing,authentication] (default [signing,authentication])
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
|
|
@ -3,7 +3,6 @@ Uploads the cluster-info ConfigMap from the given kubeconfig file
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Uploads the "cluster-info" ConfigMap in the "kube-public" namespace, populating it with cluster information extracted from the given kubeconfig file. The ConfigMap is used for the node bootstrap process in its initial phases, before the client trusts the API server.
|
||||
|
||||
See online documentation about Authenticating with Bootstrap Tokens for more details.
|
||||
|
@ -11,7 +10,13 @@ See online documentation about Authenticating with Bootstrap Tokens for more det
|
|||
Alpha Disclaimer: this command is currently alpha.
|
||||
|
||||
```
|
||||
kubeadm alpha phase bootstrap-token cluster-info
|
||||
kubeadm alpha phase bootstrap-token cluster-info [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for cluster-info
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
|
|
@ -3,7 +3,6 @@ Creates a bootstrap token to be used for node joining
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Creates a bootstrap token. If no token value is given, kubeadm will generate a random token instead.
|
||||
|
||||
Alternatively, you can use kubeadm token.
|
||||
|
@ -11,20 +10,20 @@ Alternatively, you can use kubeadm token.
|
|||
Alpha Disclaimer: this command is currently alpha.
|
||||
|
||||
```
|
||||
kubeadm alpha phase bootstrap-token create
|
||||
kubeadm alpha phase bootstrap-token create [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
--cert-dir string The path where certificates are stored (default "/etc/kubernetes/pki")
|
||||
--config string Path to kubeadm config file (WARNING: Usage of a configuration file is experimental)
|
||||
--description string A human friendly description of how this token is used. (default "The default bootstrap token generated by 'kubeadm init'.")
|
||||
--groups stringSlice Extra groups that this token will authenticate as when used for authentication. Must match "system:bootstrappers:[a-z0-9:-]{0,255}[a-z0-9]" (default [system:bootstrappers:kubeadm:default-node-token])
|
||||
--groups strings Extra groups that this token will authenticate as when used for authentication. Must match "system:bootstrappers:[a-z0-9:-]{0,255}[a-z0-9]" (default [system:bootstrappers:kubeadm:default-node-token])
|
||||
-h, --help help for create
|
||||
--skip-token-print Skip printing of the bootstrap token
|
||||
--token string The token to use for establishing bidirectional trust between nodes and masters
|
||||
--ttl duration The duration before the token is automatically deleted (e.g. 1s, 2m, 3h). If set to '0', the token will never expire (default 24h0m0s)
|
||||
--usages stringSlice Describes the ways in which this token can be used. You can pass --usages multiple times or provide a comma separated list of options. Valid options: [signing,authentication] (default [signing,authentication])
|
||||
--usages strings Describes the ways in which this token can be used. You can pass --usages multiple times or provide a comma separated list of options. Valid options: [signing,authentication] (default [signing,authentication])
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
|
|
@ -3,9 +3,14 @@ Configures the node bootstrap process
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
This command is not meant to be run on its own. See list of available subcommands.
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for node
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
|
|
|
@ -3,7 +3,6 @@ Configures RBAC rules to allow the csrapprover controller automatically approve
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Configures RBAC rules to allow the csrapprover controller to automatically approve certificate signing requests generated by nodes joining the cluster. It configures also RBAC rules for certificates rotation (with auto approval of new certificates).
|
||||
|
||||
See online documentation about TLS bootstrapping for more details.
|
||||
|
@ -11,7 +10,13 @@ See online documentation about TLS bootstrapping for more details.
|
|||
Alpha Disclaimer: this command is currently alpha.
|
||||
|
||||
```
|
||||
kubeadm alpha phase bootstrap-token node allow-auto-approve
|
||||
kubeadm alpha phase bootstrap-token node allow-auto-approve [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for allow-auto-approve
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
|
|
@ -3,7 +3,6 @@ Configures RBAC to allow node bootstrap tokens to post CSRs in order for nodes t
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Configures RBAC rules to allow node bootstrap tokens to post a certificate signing request, thus enabling nodes joining the cluster to request long term certificate credentials.
|
||||
|
||||
See online documentation about TLS bootstrapping for more details.
|
||||
|
@ -11,7 +10,13 @@ See online documentation about TLS bootstrapping for more details.
|
|||
Alpha Disclaimer: this command is currently alpha.
|
||||
|
||||
```
|
||||
kubeadm alpha phase bootstrap-token node allow-post-csrs
|
||||
kubeadm alpha phase bootstrap-token node allow-post-csrs [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for allow-post-csrs
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
|
|
@ -3,6 +3,11 @@ Generates certificates for a Kubernetes cluster
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
This command is not meant to be run on its own. See list of available subcommands.
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for certs
|
||||
```
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@ Generates all PKI assets necessary to establish the control plane
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Generates a self-signed CA to provision identities for each component in the cluster (including nodes) and client certificates to be used by various components.
|
||||
|
||||
If a given certificate and private key pair both exist, kubeadm skips the generation step and
|
||||
|
@ -12,14 +11,14 @@ existing files will be used.
|
|||
Alpha Disclaimer: this command is currently alpha.
|
||||
|
||||
```
|
||||
kubeadm alpha phase certs all
|
||||
kubeadm alpha phase certs all [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
# Creates all PKI assets necessary to establish the control plane,
|
||||
# functionally equivalent to what generated by kubeadm init.
|
||||
# functionally equivalent to what generated by kubeadm init.
|
||||
kubeadm alpha phase certs all
|
||||
|
||||
# Creates all PKI assets using options read from a configuration file.
|
||||
|
@ -29,11 +28,12 @@ kubeadm alpha phase certs all
|
|||
### Options
|
||||
|
||||
```
|
||||
--apiserver-advertise-address string The IP address the API server is accessible on, to use for the API server serving cert
|
||||
--apiserver-cert-extra-sans stringSlice Optional extra altnames to use for the API server serving cert. Can be both IP addresses and dns names
|
||||
--cert-dir string The path where to save the certificates (default "/etc/kubernetes/pki")
|
||||
--config string Path to kubeadm config file (WARNING: Usage of a configuration file is experimental)
|
||||
--service-cidr string Alternative range of IP address for service VIPs, from which derives the internal API server VIP that will be added to the API Server serving cert (default "10.96.0.0/12")
|
||||
--service-dns-domain string Alternative domain for services, to use for the API server serving cert (default "cluster.local")
|
||||
--apiserver-advertise-address string The IP address the API server is accessible on, to use for the API server serving cert
|
||||
--apiserver-cert-extra-sans strings Optional extra altnames to use for the API server serving cert. Can be both IP addresses and dns names
|
||||
--cert-dir string The path where to save the certificates (default "/etc/kubernetes/pki")
|
||||
--config string Path to kubeadm config file (WARNING: Usage of a configuration file is experimental)
|
||||
-h, --help help for all
|
||||
--service-cidr string Alternative range of IP address for service VIPs, from which derives the internal API server VIP that will be added to the API Server serving cert (default "10.96.0.0/12")
|
||||
--service-dns-domain string Alternative domain for services, to use for the API server serving cert (default "cluster.local")
|
||||
```
|
||||
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
|
||||
Generates a client certificate for the API server to connect to etcd securely
|
||||
|
||||
### Synopsis
|
||||
|
||||
Generates the client certificate for the API server to connect to etcd securely and the respective key, and saves them into apiserver-etcd-client.crt and apiserver-etcd-client.key files.
|
||||
|
||||
If both files already exist, kubeadm skips the generation step and existing files will be used.
|
||||
|
||||
Alpha Disclaimer: this command is currently alpha.
|
||||
|
||||
```
|
||||
kubeadm alpha phase certs apiserver-etcd-client [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
--cert-dir string The path where to save the certificates (default "/etc/kubernetes/pki")
|
||||
--config string Path to kubeadm config file (WARNING: Usage of a configuration file is experimental)
|
||||
-h, --help help for apiserver-etcd-client
|
||||
```
|
||||
|
|
@ -1,9 +1,8 @@
|
|||
|
||||
Generates client certificate for the API server to connect to the kubelets securely
|
||||
Generates a client certificate for the API server to connect to the kubelets securely
|
||||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Generates the client certificate for the API server to connect to the kubelet securely and the respective key, and saves them into apiserver-kubelet-client.crt and apiserver-kubelet-client.key files.
|
||||
|
||||
If both files already exist, kubeadm skips the generation step and existing files will be used.
|
||||
|
@ -11,7 +10,7 @@ If both files already exist, kubeadm skips the generation step and existing file
|
|||
Alpha Disclaimer: this command is currently alpha.
|
||||
|
||||
```
|
||||
kubeadm alpha phase certs apiserver-kubelet-client
|
||||
kubeadm alpha phase certs apiserver-kubelet-client [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
@ -19,5 +18,6 @@ kubeadm alpha phase certs apiserver-kubelet-client
|
|||
```
|
||||
--cert-dir string The path where to save the certificates (default "/etc/kubernetes/pki")
|
||||
--config string Path to kubeadm config file (WARNING: Usage of a configuration file is experimental)
|
||||
-h, --help help for apiserver-kubelet-client
|
||||
```
|
||||
|
||||
|
|
|
@ -1,29 +1,29 @@
|
|||
|
||||
Generates API server serving certificate and key
|
||||
Generates an API server serving certificate and key
|
||||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Generates the API server serving certificate and key and saves them into apiserver.crt and apiserver.key files.
|
||||
|
||||
The certificate includes default subject alternative names and additional sans eventually provided by the user; default sans are: {node-name}, {apiserver-advertise-address}, kubernetes, kubernetes.default, kubernetes.default.svc, kubernetes.default.svc. {service-dns-domain}, {internalAPIServerVirtualIP}(that is the .10 address in {service-cidr} address space).
|
||||
The certificate includes default subject alternative names and additional SANs provided by the user; default SANs are: <node-name>, <apiserver-advertise-address>, kubernetes, kubernetes.default, kubernetes.default.svc, kubernetes.default.svc. <service-dns-domain>, <internalAPIServerVirtualIP>(that is the .10 address in <service-cidr>address space).
|
||||
|
||||
If both files already exist, kubeadm skips the generation step and existing files will be used.
|
||||
|
||||
Alpha Disclaimer: this command is currently alpha.
|
||||
|
||||
```
|
||||
kubeadm alpha phase certs apiserver
|
||||
kubeadm alpha phase certs apiserver [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
--apiserver-advertise-address string The IP address the API server is accessible on, to use for the API server serving cert
|
||||
--apiserver-cert-extra-sans stringSlice Optional extra altnames to use for the API server serving cert. Can be both IP addresses and dns names
|
||||
--cert-dir string The path where to save the certificates (default "/etc/kubernetes/pki")
|
||||
--config string Path to kubeadm config file (WARNING: Usage of a configuration file is experimental)
|
||||
--service-cidr string Alternative range of IP address for service VIPs, from which derives the internal API server VIP that will be added to the API Server serving cert (default "10.96.0.0/12")
|
||||
--service-dns-domain string Alternative domain for services, to use for the API server serving cert (default "cluster.local")
|
||||
--apiserver-advertise-address string The IP address the API server is accessible on, to use for the API server serving cert
|
||||
--apiserver-cert-extra-sans strings Optional extra altnames to use for the API server serving cert. Can be both IP addresses and dns names
|
||||
--cert-dir string The path where to save the certificates (default "/etc/kubernetes/pki")
|
||||
--config string Path to kubeadm config file (WARNING: Usage of a configuration file is experimental)
|
||||
-h, --help help for apiserver
|
||||
--service-cidr string Alternative range of IP address for service VIPs, from which derives the internal API server VIP that will be added to the API Server serving cert (default "10.96.0.0/12")
|
||||
--service-dns-domain string Alternative domain for services, to use for the API server serving cert (default "cluster.local")
|
||||
```
|
||||
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
|
||||
Generates self-signed CA to provision identities for each component in the cluster
|
||||
Generates a self-signed kubernetes CA to provision identities for components of the cluster
|
||||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Generates the self-signed certificate authority and related key, and saves them into ca.crt and ca.key files.
|
||||
Generates the self-signed kubernetes certificate authority and related key, and saves them into ca.crt and ca.key files.
|
||||
|
||||
If both files already exist, kubeadm skips the generation step and existing files will be used.
|
||||
|
||||
Alpha Disclaimer: this command is currently alpha.
|
||||
|
||||
```
|
||||
kubeadm alpha phase certs ca
|
||||
kubeadm alpha phase certs ca [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
@ -19,5 +18,6 @@ kubeadm alpha phase certs ca
|
|||
```
|
||||
--cert-dir string The path where to save the certificates (default "/etc/kubernetes/pki")
|
||||
--config string Path to kubeadm config file (WARNING: Usage of a configuration file is experimental)
|
||||
-h, --help help for ca
|
||||
```
|
||||
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
|
||||
Generates a self-signed CA to provision identities for etcd
|
||||
|
||||
### Synopsis
|
||||
|
||||
Generates the self-signed etcd certificate authority and related key and saves them into etcd/ca.crt and etcd/ca.key files.
|
||||
|
||||
If both files already exist, kubeadm skips the generation step and existing files will be used.
|
||||
|
||||
Alpha Disclaimer: this command is currently alpha.
|
||||
|
||||
```
|
||||
kubeadm alpha phase certs etcd-ca [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
--cert-dir string The path where to save the certificates (default "/etc/kubernetes/pki")
|
||||
--config string Path to kubeadm config file (WARNING: Usage of a configuration file is experimental)
|
||||
-h, --help help for etcd-ca
|
||||
```
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
|
||||
Generates a client certificate for liveness probes to healthcheck etcd
|
||||
|
||||
### Synopsis
|
||||
|
||||
Generates the client certificate for liveness probes to healthcheck etcd and the respective key, and saves them into etcd/healthcheck-client.crt and etcd/healthcheck-client.key files.
|
||||
|
||||
If both files already exist, kubeadm skips the generation step and existing files will be used.
|
||||
|
||||
Alpha Disclaimer: this command is currently alpha.
|
||||
|
||||
```
|
||||
kubeadm alpha phase certs etcd-healthcheck-client [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
--cert-dir string The path where to save the certificates (default "/etc/kubernetes/pki")
|
||||
--config string Path to kubeadm config file (WARNING: Usage of a configuration file is experimental)
|
||||
-h, --help help for etcd-healthcheck-client
|
||||
```
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
|
||||
Generates an etcd peer certificate and key
|
||||
|
||||
### Synopsis
|
||||
|
||||
Generates the etcd peer certificate and key and saves them into etcd/peer.crt and etcd/peer.key files.
|
||||
|
||||
The certificate includes default subject alternative names and additional SANs provided by the user; default SANs are: <node-name>, <apiserver-advertise-address>.
|
||||
|
||||
If both files already exist, kubeadm skips the generation step and existing files will be used.
|
||||
|
||||
Alpha Disclaimer: this command is currently alpha.
|
||||
|
||||
```
|
||||
kubeadm alpha phase certs etcd-peer [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
--cert-dir string The path where to save the certificates (default "/etc/kubernetes/pki")
|
||||
--config string Path to kubeadm config file (WARNING: Usage of a configuration file is experimental)
|
||||
-h, --help help for etcd-peer
|
||||
```
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
|
||||
Generates an etcd serving certificate and key
|
||||
|
||||
### Synopsis
|
||||
|
||||
Generates the etcd serving certificate and key and saves them into etcd/server.crt and etcd/server.key files.
|
||||
|
||||
The certificate includes default subject alternative names and additional SANs provided by the user; default SANs are: localhost, 127.0.0.1.
|
||||
|
||||
If both files already exist, kubeadm skips the generation step and existing files will be used.
|
||||
|
||||
Alpha Disclaimer: this command is currently alpha.
|
||||
|
||||
```
|
||||
kubeadm alpha phase certs etcd-server [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
--cert-dir string The path where to save the certificates (default "/etc/kubernetes/pki")
|
||||
--config string Path to kubeadm config file (WARNING: Usage of a configuration file is experimental)
|
||||
-h, --help help for etcd-server
|
||||
```
|
||||
|
|
@ -1,9 +1,8 @@
|
|||
|
||||
Generates front proxy CA certificate and key for a Kubernetes cluster
|
||||
Generates a front proxy CA certificate and key for a Kubernetes cluster
|
||||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Generates the front proxy CA certificate and key and saves them into front-proxy-ca.crt and front-proxy-ca.key files.
|
||||
|
||||
If both files already exist, kubeadm skips the generation step and existing files will be used.
|
||||
|
@ -11,7 +10,7 @@ If both files already exist, kubeadm skips the generation step and existing file
|
|||
Alpha Disclaimer: this command is currently alpha.
|
||||
|
||||
```
|
||||
kubeadm alpha phase certs front-proxy-ca
|
||||
kubeadm alpha phase certs front-proxy-ca [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
@ -19,5 +18,6 @@ kubeadm alpha phase certs front-proxy-ca
|
|||
```
|
||||
--cert-dir string The path where to save the certificates (default "/etc/kubernetes/pki")
|
||||
--config string Path to kubeadm config file (WARNING: Usage of a configuration file is experimental)
|
||||
-h, --help help for front-proxy-ca
|
||||
```
|
||||
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
|
||||
Generates front proxy CA client certificate and key for a Kubernetes cluster
|
||||
Generates a front proxy CA client certificate and key for a Kubernetes cluster
|
||||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Generates the front proxy client certificate and key and saves them into front-proxy-client.crt and front-proxy-client.key files.
|
||||
|
||||
If both files already exist, kubeadm skips the generation step and existing files will be used.
|
||||
|
@ -11,7 +10,7 @@ If both files already exist, kubeadm skips the generation step and existing file
|
|||
Alpha Disclaimer: this command is currently alpha.
|
||||
|
||||
```
|
||||
kubeadm alpha phase certs front-proxy-client
|
||||
kubeadm alpha phase certs front-proxy-client [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
@ -19,5 +18,6 @@ kubeadm alpha phase certs front-proxy-client
|
|||
```
|
||||
--cert-dir string The path where to save the certificates (default "/etc/kubernetes/pki")
|
||||
--config string Path to kubeadm config file (WARNING: Usage of a configuration file is experimental)
|
||||
-h, --help help for front-proxy-client
|
||||
```
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@ Generates a private key for signing service account tokens along with its public
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Generates the private key for signing service account tokens along with its public key, and saves them into sa.key and sa.pub files.
|
||||
|
||||
If both files already exist, kubeadm skips the generation step and existing files will be used.
|
||||
|
@ -11,7 +10,7 @@ If both files already exist, kubeadm skips the generation step and existing file
|
|||
Alpha Disclaimer: this command is currently alpha.
|
||||
|
||||
```
|
||||
kubeadm alpha phase certs sa
|
||||
kubeadm alpha phase certs sa [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
@ -19,5 +18,6 @@ kubeadm alpha phase certs sa
|
|||
```
|
||||
--cert-dir string The path where to save the certificates (default "/etc/kubernetes/pki")
|
||||
--config string Path to kubeadm config file (WARNING: Usage of a configuration file is experimental)
|
||||
-h, --help help for sa
|
||||
```
|
||||
|
||||
|
|
|
@ -3,6 +3,11 @@ Generates all static Pod manifest files necessary to establish the control plane
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
This command is not meant to be run on its own. See list of available subcommands.
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for controlplane
|
||||
```
|
||||
|
||||
|
|
|
@ -3,13 +3,12 @@ Generates all static Pod manifest files necessary to establish the control plane
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Generates all static Pod manifest files necessary to establish the control plane.
|
||||
|
||||
Alpha Disclaimer: this command is currently alpha.
|
||||
|
||||
```
|
||||
kubeadm alpha phase controlplane all
|
||||
kubeadm alpha phase controlplane all [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
@ -26,19 +25,22 @@ kubeadm alpha phase controlplane all
|
|||
### Options
|
||||
|
||||
```
|
||||
--apiserver-advertise-address string The IP address or DNS name the API server is accessible on
|
||||
--apiserver-bind-port int32 The port the API server is accessible on (default 6443)
|
||||
--cert-dir string The path where certificates are stored (default "/etc/kubernetes/pki")
|
||||
--config string Path to kubeadm config file (WARNING: Usage of a configuration file is experimental)
|
||||
--feature-gates string A set of key=value pairs that describe feature gates for various features. Options are:
|
||||
CoreDNS=true|false (ALPHA - default=false)
|
||||
--apiserver-advertise-address string The IP address of the API server is accessible on
|
||||
--apiserver-bind-port int32 The port the API server is accessible on (default 6443)
|
||||
--apiserver-extra-args mapStringString A set of extra flags to pass to the API Server or override default ones in form of <flagname>=<value>
|
||||
--cert-dir string The path where certificates are stored (default "/etc/kubernetes/pki")
|
||||
--config string Path to kubeadm config file (WARNING: Usage of a configuration file is experimental)
|
||||
--controller-manager-extra-args mapStringString A set of extra flags to pass to the Controller Manager or override default ones in form of <flagname>=<value>
|
||||
--feature-gates string A set of key=value pairs that describe feature gates for various features. Options are:
|
||||
Auditing=true|false (ALPHA - default=false)
|
||||
CoreDNS=true|false (BETA - default=false)
|
||||
DynamicKubeletConfig=true|false (ALPHA - default=false)
|
||||
HighAvailability=true|false (ALPHA - default=false)
|
||||
SelfHosting=true|false (BETA - default=false)
|
||||
SelfHosting=true|false (ALPHA - default=false)
|
||||
StoreCertsInSecrets=true|false (ALPHA - default=false)
|
||||
SupportIPVSProxyMode=true|false (ALPHA - default=false)
|
||||
--kubernetes-version string Choose a specific Kubernetes version for the control plane (default "stable-1.8")
|
||||
--pod-network-cidr string The range of IP addresses used for the Pod network
|
||||
--service-cidr string The range of IP address used for service VIPs (default "10.96.0.0/12")
|
||||
-h, --help help for all
|
||||
--kubernetes-version string Choose a specific Kubernetes version for the control plane (default "stable-1.10")
|
||||
--pod-network-cidr string The range of IP addresses used for the Pod network
|
||||
--scheduler-extra-args mapStringString A set of extra flags to pass to the Scheduler or override default ones in form of <flagname>=<value>
|
||||
--service-cidr string The range of IP address used for service VIPs (default "10.96.0.0/12")
|
||||
```
|
||||
|
||||
|
|
|
@ -3,30 +3,30 @@ Generates the API server static Pod manifest.
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Generates the static Pod manifest file for the API server and saves it into /etc/kubernetes/manifests/kube-apiserver.yaml file.
|
||||
|
||||
Alpha Disclaimer: this command is currently alpha.
|
||||
|
||||
```
|
||||
kubeadm alpha phase controlplane apiserver
|
||||
kubeadm alpha phase controlplane apiserver [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
--apiserver-advertise-address string The IP address or DNS name the API server is accessible on
|
||||
--apiserver-bind-port int32 The port the API server is accessible on (default 6443)
|
||||
--cert-dir string The path where certificates are stored (default "/etc/kubernetes/pki")
|
||||
--config string Path to kubeadm config file (WARNING: Usage of a configuration file is experimental)
|
||||
--feature-gates string A set of key=value pairs that describe feature gates for various features. Options are:
|
||||
CoreDNS=true|false (ALPHA - default=false)
|
||||
--apiserver-advertise-address string The IP address of the API server is accessible on
|
||||
--apiserver-bind-port int32 The port the API server is accessible on (default 6443)
|
||||
--apiserver-extra-args mapStringString A set of extra flags to pass to the API Server or override default ones in form of <flagname>=<value>
|
||||
--cert-dir string The path where certificates are stored (default "/etc/kubernetes/pki")
|
||||
--config string Path to kubeadm config file (WARNING: Usage of a configuration file is experimental)
|
||||
--feature-gates string A set of key=value pairs that describe feature gates for various features. Options are:
|
||||
Auditing=true|false (ALPHA - default=false)
|
||||
CoreDNS=true|false (BETA - default=false)
|
||||
DynamicKubeletConfig=true|false (ALPHA - default=false)
|
||||
HighAvailability=true|false (ALPHA - default=false)
|
||||
SelfHosting=true|false (BETA - default=false)
|
||||
SelfHosting=true|false (ALPHA - default=false)
|
||||
StoreCertsInSecrets=true|false (ALPHA - default=false)
|
||||
SupportIPVSProxyMode=true|false (ALPHA - default=false)
|
||||
--kubernetes-version string Choose a specific Kubernetes version for the control plane (default "stable-1.8")
|
||||
--service-cidr string The range of IP address used for service VIPs (default "10.96.0.0/12")
|
||||
-h, --help help for apiserver
|
||||
--kubernetes-version string Choose a specific Kubernetes version for the control plane (default "stable-1.10")
|
||||
--service-cidr string The range of IP address used for service VIPs (default "10.96.0.0/12")
|
||||
```
|
||||
|
||||
|
|
|
@ -3,21 +3,22 @@ Generates the controller-manager static Pod manifest.
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Generates the static Pod manifest file for the controller-manager and saves it into /etc/kubernetes/manifests/kube-controller-manager.yaml file.
|
||||
|
||||
Alpha Disclaimer: this command is currently alpha.
|
||||
|
||||
```
|
||||
kubeadm alpha phase controlplane controller-manager
|
||||
kubeadm alpha phase controlplane controller-manager [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
--cert-dir string The path where certificates are stored (default "/etc/kubernetes/pki")
|
||||
--config string Path to kubeadm config file (WARNING: Usage of a configuration file is experimental)
|
||||
--kubernetes-version string Choose a specific Kubernetes version for the control plane (default "stable-1.8")
|
||||
--pod-network-cidr string The range of IP addresses used for the Pod network
|
||||
--cert-dir string The path where certificates are stored (default "/etc/kubernetes/pki")
|
||||
--config string Path to kubeadm config file (WARNING: Usage of a configuration file is experimental)
|
||||
--controller-manager-extra-args mapStringString A set of extra flags to pass to the Controller Manager or override default ones in form of <flagname>=<value>
|
||||
-h, --help help for controller-manager
|
||||
--kubernetes-version string Choose a specific Kubernetes version for the control plane (default "stable-1.10")
|
||||
--pod-network-cidr string The range of IP addresses used for the Pod network
|
||||
```
|
||||
|
||||
|
|
|
@ -3,20 +3,21 @@ Generates the scheduler static Pod manifest.
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Generates the static Pod manifest file for the scheduler and saves it into /etc/kubernetes/manifests/kube-scheduler.yaml file.
|
||||
|
||||
Alpha Disclaimer: this command is currently alpha.
|
||||
|
||||
```
|
||||
kubeadm alpha phase controlplane scheduler
|
||||
kubeadm alpha phase controlplane scheduler [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
--cert-dir string The path where certificates are stored (default "/etc/kubernetes/pki")
|
||||
--config string Path to kubeadm config file (WARNING: Usage of a configuration file is experimental)
|
||||
--kubernetes-version string Choose a specific Kubernetes version for the control plane (default "stable-1.8")
|
||||
--cert-dir string The path where certificates are stored (default "/etc/kubernetes/pki")
|
||||
--config string Path to kubeadm config file (WARNING: Usage of a configuration file is experimental)
|
||||
-h, --help help for scheduler
|
||||
--kubernetes-version string Choose a specific Kubernetes version for the control plane (default "stable-1.10")
|
||||
--scheduler-extra-args mapStringString A set of extra flags to pass to the Scheduler or override default ones in form of <flagname>=<value>
|
||||
```
|
||||
|
||||
|
|
|
@ -3,6 +3,11 @@ Generates static Pod manifest file for etcd.
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
This command is not meant to be run on its own. See list of available subcommands.
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for etcd
|
||||
```
|
||||
|
||||
|
|
|
@ -3,13 +3,12 @@ Generates the static Pod manifest file for a local, single-node etcd instance
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Generates the static Pod manifest file for a local, single-node etcd instance and saves it to /etc/kubernetes/manifests/etcd.yaml file.
|
||||
|
||||
Alpha Disclaimer: this command is currently alpha.
|
||||
|
||||
```
|
||||
kubeadm alpha phase etcd local
|
||||
kubeadm alpha phase etcd local [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
@ -28,5 +27,6 @@ kubeadm alpha phase etcd local
|
|||
```
|
||||
--cert-dir string The path where certificates are stored (default "/etc/kubernetes/pki")
|
||||
--config string Path to kubeadm config file (WARNING: Usage of a configuration file is experimental)
|
||||
-h, --help help for local
|
||||
```
|
||||
|
||||
|
|
|
@ -3,6 +3,11 @@ Generates all kubeconfig files necessary to establish the control plane and the
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
This command is not meant to be run on its own. See list of available subcommands.
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for kubeconfig
|
||||
```
|
||||
|
||||
|
|
|
@ -3,13 +3,12 @@ Generates a kubeconfig file for the admin to use and for kubeadm itself
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Generates the kubeconfig file for the admin and for kubeadm itself, and saves it to admin.conf file.
|
||||
|
||||
Alpha Disclaimer: this command is currently alpha.
|
||||
|
||||
```
|
||||
kubeadm alpha phase kubeconfig admin
|
||||
kubeadm alpha phase kubeconfig admin [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
@ -19,6 +18,7 @@ kubeadm alpha phase kubeconfig admin
|
|||
--apiserver-bind-port int32 The port the API server is accessible on (default 6443)
|
||||
--cert-dir string The path where certificates are stored (default "/etc/kubernetes/pki")
|
||||
--config string Path to kubeadm config file (WARNING: Usage of a configuration file is experimental)
|
||||
-h, --help help for admin
|
||||
--kubeconfig-dir string The port where to save the kubeconfig file (default "/etc/kubernetes")
|
||||
```
|
||||
|
||||
|
|
|
@ -3,13 +3,12 @@ Generates all kubeconfig files necessary to establish the control plane and the
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Generates all kubeconfig files necessary to establish the control plane and the admin kubeconfig file.
|
||||
|
||||
Alpha Disclaimer: this command is currently alpha.
|
||||
|
||||
```
|
||||
kubeadm alpha phase kubeconfig all
|
||||
kubeadm alpha phase kubeconfig all [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
@ -30,6 +29,7 @@ kubeadm alpha phase kubeconfig all
|
|||
--apiserver-bind-port int32 The port the API server is accessible on (default 6443)
|
||||
--cert-dir string The path where certificates are stored (default "/etc/kubernetes/pki")
|
||||
--config string Path to kubeadm config file (WARNING: Usage of a configuration file is experimental)
|
||||
-h, --help help for all
|
||||
--kubeconfig-dir string The port where to save the kubeconfig file (default "/etc/kubernetes")
|
||||
--node-name string The node name that should be used for the kubelet client certificate
|
||||
```
|
||||
|
|
|
@ -3,13 +3,12 @@ Generates a kubeconfig file for the controller manager to use
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Generates the kubeconfig file for the controller manager to use and saves it to /etc/kubernetes/controller-manager.conf file.
|
||||
|
||||
Alpha Disclaimer: this command is currently alpha.
|
||||
|
||||
```
|
||||
kubeadm alpha phase kubeconfig controller-manager
|
||||
kubeadm alpha phase kubeconfig controller-manager [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
@ -19,6 +18,7 @@ kubeadm alpha phase kubeconfig controller-manager
|
|||
--apiserver-bind-port int32 The port the API server is accessible on (default 6443)
|
||||
--cert-dir string The path where certificates are stored (default "/etc/kubernetes/pki")
|
||||
--config string Path to kubeadm config file (WARNING: Usage of a configuration file is experimental)
|
||||
-h, --help help for controller-manager
|
||||
--kubeconfig-dir string The port where to save the kubeconfig file (default "/etc/kubernetes")
|
||||
```
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@ Generates a kubeconfig file for the kubelet to use. Please note that this should
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Generates the kubeconfig file for the kubelet to use and saves it to /etc/kubernetes/kubelet.conf file.
|
||||
|
||||
Please note that this should only be used for bootstrapping purposes. After your control plane is up, you should request all kubelet credentials from the CSR API.
|
||||
|
@ -11,7 +10,7 @@ Please note that this should only be used for bootstrapping purposes. After your
|
|||
Alpha Disclaimer: this command is currently alpha.
|
||||
|
||||
```
|
||||
kubeadm alpha phase kubeconfig kubelet
|
||||
kubeadm alpha phase kubeconfig kubelet [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
@ -21,6 +20,7 @@ kubeadm alpha phase kubeconfig kubelet
|
|||
--apiserver-bind-port int32 The port the API server is accessible on (default 6443)
|
||||
--cert-dir string The path where certificates are stored (default "/etc/kubernetes/pki")
|
||||
--config string Path to kubeadm config file (WARNING: Usage of a configuration file is experimental)
|
||||
-h, --help help for kubelet
|
||||
--kubeconfig-dir string The port where to save the kubeconfig file (default "/etc/kubernetes")
|
||||
--node-name string The node name that should be used for the kubelet client certificate
|
||||
```
|
||||
|
|
|
@ -3,13 +3,12 @@ Generates a kubeconfig file for the scheduler to use
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Generates the kubeconfig file for the scheduler to use and saves it to /etc/kubernetes/scheduler.conf file.
|
||||
|
||||
Alpha Disclaimer: this command is currently alpha.
|
||||
|
||||
```
|
||||
kubeadm alpha phase kubeconfig scheduler
|
||||
kubeadm alpha phase kubeconfig scheduler [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
@ -19,6 +18,7 @@ kubeadm alpha phase kubeconfig scheduler
|
|||
--apiserver-bind-port int32 The port the API server is accessible on (default 6443)
|
||||
--cert-dir string The path where certificates are stored (default "/etc/kubernetes/pki")
|
||||
--config string Path to kubeadm config file (WARNING: Usage of a configuration file is experimental)
|
||||
-h, --help help for scheduler
|
||||
--kubeconfig-dir string The port where to save the kubeconfig file (default "/etc/kubernetes")
|
||||
```
|
||||
|
||||
|
|
|
@ -3,13 +3,12 @@ Outputs a kubeconfig file for an additional user
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Outputs a kubeconfig file for an additional user.
|
||||
|
||||
Alpha Disclaimer: this command is currently alpha.
|
||||
|
||||
```
|
||||
kubeadm alpha phase kubeconfig user
|
||||
kubeadm alpha phase kubeconfig user [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
@ -26,6 +25,7 @@ kubeadm alpha phase kubeconfig user
|
|||
--apiserver-bind-port int32 The port the API server is accessible on (default 6443)
|
||||
--cert-dir string The path where certificates are stored (default "/etc/kubernetes/pki")
|
||||
--client-name string The name of user. It will be used as the CN if client certificates are created
|
||||
-h, --help help for user
|
||||
--kubeconfig-dir string The port where to save the kubeconfig file (default "/etc/kubernetes")
|
||||
--token string The token that should be used as the authentication mechanism for this kubeconfig (instead of client certificates)
|
||||
```
|
||||
|
|
|
@ -3,13 +3,12 @@ Mark a node as master
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Applies a label that specifies that a node is a master and a taint that forces workloads to be deployed accordingly.
|
||||
|
||||
Alpha Disclaimer: this command is currently alpha.
|
||||
|
||||
```
|
||||
kubeadm alpha phase mark-master
|
||||
kubeadm alpha phase mark-master [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
@ -26,6 +25,7 @@ kubeadm alpha phase mark-master
|
|||
|
||||
```
|
||||
--config string Path to kubeadm config file (WARNING: Usage of a configuration file is experimental)
|
||||
-h, --help help for mark-master
|
||||
--kubeconfig string The KubeConfig file to use when talking to the cluster (default "/etc/kubernetes/admin.conf")
|
||||
--node-name string The node name to which label and taints should apply
|
||||
```
|
||||
|
|
|
@ -3,6 +3,11 @@ Run pre-flight checks
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
This command is not meant to be run on its own. See list of available subcommands.
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for preflight
|
||||
```
|
||||
|
||||
|
|
|
@ -3,13 +3,12 @@ Run master pre-flight checks
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Run master pre-flight checks, functionally equivalent to what implemented by kubeadm init.
|
||||
|
||||
Alpha Disclaimer: this command is currently alpha.
|
||||
|
||||
```
|
||||
kubeadm alpha phase preflight master
|
||||
kubeadm alpha phase preflight master [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
@ -19,3 +18,9 @@ kubeadm alpha phase preflight master
|
|||
kubeadm alpha phase preflight master
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for master
|
||||
```
|
||||
|
||||
|
|
|
@ -3,13 +3,12 @@ Run node pre-flight checks
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Run node pre-flight checks, functionally equivalent to what implemented by kubeadm join.
|
||||
|
||||
Alpha Disclaimer: this command is currently alpha.
|
||||
|
||||
```
|
||||
kubeadm alpha phase preflight node
|
||||
kubeadm alpha phase preflight node [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
@ -19,3 +18,9 @@ kubeadm alpha phase preflight node
|
|||
kubeadm alpha phase preflight node
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for node
|
||||
```
|
||||
|
||||
|
|
|
@ -3,6 +3,11 @@ Makes a kubeadm cluster self-hosted
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
This command is not meant to be run on its own. See list of available subcommands.
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for selfhosting
|
||||
```
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@ Converts a static Pod-hosted control plane into a self-hosted one
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Converts static Pod files for control plane components into self-hosted DaemonSets configured via the Kubernetes API.
|
||||
|
||||
See the documentation for self-hosting limitations.
|
||||
|
@ -11,7 +10,7 @@ See the documentation for self-hosting limitations.
|
|||
Alpha Disclaimer: this command is currently alpha.
|
||||
|
||||
```
|
||||
kubeadm alpha phase selfhosting convert-from-staticpods
|
||||
kubeadm alpha phase selfhosting convert-from-staticpods [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
@ -30,12 +29,12 @@ kubeadm alpha phase selfhosting convert-from-staticpods
|
|||
--cert-dir string The path where certificates are stored (default "/etc/kubernetes/pki")
|
||||
--config string Path to a kubeadm config file. WARNING: Usage of a configuration file is experimental!
|
||||
--feature-gates string A set of key=value pairs that describe feature gates for various features. Options are:
|
||||
CoreDNS=true|false (ALPHA - default=false)
|
||||
Auditing=true|false (ALPHA - default=false)
|
||||
CoreDNS=true|false (BETA - default=false)
|
||||
DynamicKubeletConfig=true|false (ALPHA - default=false)
|
||||
HighAvailability=true|false (ALPHA - default=false)
|
||||
SelfHosting=true|false (BETA - default=false)
|
||||
SelfHosting=true|false (ALPHA - default=false)
|
||||
StoreCertsInSecrets=true|false (ALPHA - default=false)
|
||||
SupportIPVSProxyMode=true|false (ALPHA - default=false)
|
||||
-h, --help help for convert-from-staticpods
|
||||
--kubeconfig string The KubeConfig file to use when talking to the cluster (default "/etc/kubernetes/admin.conf")
|
||||
```
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@ Uploads the currently used configuration for kubeadm to a ConfigMap
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Uploads the kubeadm init configuration of your cluster to a ConfigMap called kubeadm-config in the kube-system namespace. This enables correct configuration of system components and a seamless user experience when upgrading.
|
||||
|
||||
Alternatively, you can use kubeadm config.
|
||||
|
@ -11,7 +10,7 @@ Alternatively, you can use kubeadm config.
|
|||
Alpha Disclaimer: this command is currently alpha.
|
||||
|
||||
```
|
||||
kubeadm alpha phase upload-config
|
||||
kubeadm alpha phase upload-config [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
@ -25,6 +24,7 @@ kubeadm alpha phase upload-config
|
|||
|
||||
```
|
||||
--config string Path to a kubeadm config file. WARNING: Usage of a configuration file is experimental!
|
||||
-h, --help help for upload-config
|
||||
--kubeconfig string The KubeConfig file to use when talking to the cluster (default "/etc/kubernetes/admin.conf")
|
||||
```
|
||||
|
||||
|
|
|
@ -4,7 +4,6 @@ Output shell completion code for the specified shell (bash or zsh).
|
|||
### Synopsis
|
||||
|
||||
|
||||
|
||||
Output shell completion code for the specified shell (bash or zsh).
|
||||
The shell code must be evaluated to provide interactive
|
||||
completion of kubeadm commands. This can be done by sourcing it from
|
||||
|
@ -23,7 +22,7 @@ following line to the .bash_profile
|
|||
Note for zsh users: [1] zsh completions are only supported in versions of zsh >= 5.2
|
||||
|
||||
```
|
||||
kubeadm completion SHELL
|
||||
kubeadm completion SHELL [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
@ -47,3 +46,9 @@ source $HOME/.bash_profile
|
|||
source <(kubeadm completion zsh)
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for completion
|
||||
```
|
||||
|
||||
|
|
|
@ -4,7 +4,6 @@ Manage configuration for a kubeadm cluster persisted in a ConfigMap in the clust
|
|||
### Synopsis
|
||||
|
||||
|
||||
|
||||
There is a ConfigMap in the kube-system namespace called "kubeadm-config" that kubeadm uses to store internal configuration about the
|
||||
cluster. kubeadm CLI v1.8.0+ automatically creates this ConfigMap with the config used with 'kubeadm init', but if you
|
||||
initialized your cluster using kubeadm v1.7.x or lower, you must use the 'config upload' command to create this
|
||||
|
@ -12,12 +11,13 @@ ConfigMap. This is required so that 'kubeadm upgrade' can configure your upgrade
|
|||
|
||||
|
||||
```
|
||||
kubeadm config
|
||||
kubeadm config [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for config
|
||||
--kubeconfig string The KubeConfig file to use when talking to the cluster. (default "/etc/kubernetes/admin.conf")
|
||||
```
|
||||
|
||||
|
|
|
@ -3,11 +3,16 @@ Upload configuration about the current state, so that 'kubeadm upgrade' can late
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Upload configuration about the current state, so that 'kubeadm upgrade' can later know how to configure the upgraded cluster.
|
||||
|
||||
```
|
||||
kubeadm config upload
|
||||
kubeadm config upload [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for upload
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
|
|
@ -4,7 +4,6 @@ Upload a configuration file to the in-cluster ConfigMap for kubeadm configuratio
|
|||
### Synopsis
|
||||
|
||||
|
||||
|
||||
Using this command, you can upload configuration to the ConfigMap in the cluster using the same config file you gave to 'kubeadm init'.
|
||||
If you initialized your cluster using a v1.7.x or lower kubeadm client and used the --config option, you need to run this command with the
|
||||
same config file before upgrading to v1.8 using 'kubeadm upgrade'.
|
||||
|
@ -13,13 +12,14 @@ The configuration is located in the "kube-system" namespace in the "kubeadm-conf
|
|||
|
||||
|
||||
```
|
||||
kubeadm config upload from-file
|
||||
kubeadm config upload from-file [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
--config string Path to a kubeadm config file. WARNING: Usage of a configuration file is experimental.
|
||||
-h, --help help for from-file
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
|
|
@ -4,7 +4,6 @@ Create the in-cluster configuration file for the first time from using flags.
|
|||
### Synopsis
|
||||
|
||||
|
||||
|
||||
Using this command, you can upload configuration to the ConfigMap in the cluster using the same flags you gave to 'kubeadm init'.
|
||||
If you initialized your cluster using a v1.7.x or lower kubeadm client and set certain flags, you need to run this command with the
|
||||
same flags before upgrading to v1.8 using 'kubeadm upgrade'.
|
||||
|
@ -13,30 +12,31 @@ The configuration is located in the "kube-system" namespace in the "kubeadm-conf
|
|||
|
||||
|
||||
```
|
||||
kubeadm config upload from-flags
|
||||
kubeadm config upload from-flags [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
--apiserver-advertise-address string The IP address the API Server will advertise it's listening on. Specify '0.0.0.0' to use the address of the default network interface.
|
||||
--apiserver-bind-port int32 Port for the API Server to bind to. (default 6443)
|
||||
--apiserver-cert-extra-sans stringSlice Optional extra Subject Alternative Names (SANs) to use for the API Server serving certificate. Can be both IP addresses and DNS names.
|
||||
--cert-dir string The path where to save and store the certificates. (default "/etc/kubernetes/pki")
|
||||
--feature-gates string A set of key=value pairs that describe feature gates for various features. Options are:
|
||||
CoreDNS=true|false (ALPHA - default=false)
|
||||
--apiserver-advertise-address string The IP address the API Server will advertise it's listening on. Specify '0.0.0.0' to use the address of the default network interface.
|
||||
--apiserver-bind-port int32 Port for the API Server to bind to. (default 6443)
|
||||
--apiserver-cert-extra-sans strings Optional extra Subject Alternative Names (SANs) to use for the API Server serving certificate. Can be both IP addresses and DNS names.
|
||||
--cert-dir string The path where to save and store the certificates. (default "/etc/kubernetes/pki")
|
||||
--cri-socket string Specify the CRI socket to connect to. (default "/var/run/dockershim.sock")
|
||||
--feature-gates string A set of key=value pairs that describe feature gates for various features. Options are:
|
||||
Auditing=true|false (ALPHA - default=false)
|
||||
CoreDNS=true|false (BETA - default=false)
|
||||
DynamicKubeletConfig=true|false (ALPHA - default=false)
|
||||
HighAvailability=true|false (ALPHA - default=false)
|
||||
SelfHosting=true|false (BETA - default=false)
|
||||
SelfHosting=true|false (ALPHA - default=false)
|
||||
StoreCertsInSecrets=true|false (ALPHA - default=false)
|
||||
SupportIPVSProxyMode=true|false (ALPHA - default=false)
|
||||
--kubernetes-version string Choose a specific Kubernetes version for the control plane. (default "stable-1.8")
|
||||
--node-name string Specify the node name.
|
||||
--pod-network-cidr string Specify range of IP addresses for the pod network. If set, the control plane will automatically allocate CIDRs for every node.
|
||||
--service-cidr string Use alternative range of IP address for service VIPs. (default "10.96.0.0/12")
|
||||
--service-dns-domain string Use alternative domain for services, e.g. "myorg.internal". (default "cluster.local")
|
||||
--token string The token to use for establishing bidirectional trust between nodes and masters.
|
||||
--token-ttl duration The duration before the bootstrap token is automatically deleted. If set to '0', the token will never expire. (default 24h0m0s)
|
||||
-h, --help help for from-flags
|
||||
--kubernetes-version string Choose a specific Kubernetes version for the control plane. (default "stable-1.10")
|
||||
--node-name string Specify the node name.
|
||||
--pod-network-cidr string Specify range of IP addresses for the pod network. If set, the control plane will automatically allocate CIDRs for every node.
|
||||
--service-cidr string Use alternative range of IP address for service VIPs. (default "10.96.0.0/12")
|
||||
--service-dns-domain string Use alternative domain for services, e.g. "myorg.internal". (default "cluster.local")
|
||||
--token string The token to use for establishing bidirectional trust between nodes and masters.
|
||||
--token-ttl duration The duration before the bootstrap token is automatically deleted. If set to '0', the token will never expire. (default 24h0m0s)
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
|
|
@ -4,14 +4,19 @@ View the kubeadm configuration stored inside the cluster.
|
|||
### Synopsis
|
||||
|
||||
|
||||
|
||||
Using this command, you can view the ConfigMap in the cluster where the configuration for kubeadm is located.
|
||||
|
||||
The configuration is located in the "kube-system" namespace in the "kubeadm-config" ConfigMap.
|
||||
|
||||
|
||||
```
|
||||
kubeadm config view
|
||||
kubeadm config view [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for view
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
|
|
@ -3,38 +3,37 @@ Run this command in order to set up the Kubernetes master.
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Run this command in order to set up the Kubernetes master.
|
||||
|
||||
```
|
||||
kubeadm init
|
||||
kubeadm init [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
--apiserver-advertise-address string The IP address the API Server will advertise it's listening on. Specify '0.0.0.0' to use the address of the default network interface.
|
||||
--apiserver-bind-port int32 Port for the API Server to bind to. (default 6443)
|
||||
--apiserver-cert-extra-sans stringSlice Optional extra Subject Alternative Names (SANs) to use for the API Server serving certificate. Can be both IP addresses and DNS names.
|
||||
--cert-dir string The path where to save and store the certificates. (default "/etc/kubernetes/pki")
|
||||
--config string Path to kubeadm config file. WARNING: Usage of a configuration file is experimental.
|
||||
--cri-socket string Specify the CRI socket to connect to. (default "/var/run/dockershim.sock")
|
||||
--dry-run Don't apply any changes; just output what would be done.
|
||||
--feature-gates string A set of key=value pairs that describe feature gates for various features. Options are:
|
||||
CoreDNS=true|false (ALPHA - default=false)
|
||||
--apiserver-advertise-address string The IP address the API Server will advertise it's listening on. Specify '0.0.0.0' to use the address of the default network interface.
|
||||
--apiserver-bind-port int32 Port for the API Server to bind to. (default 6443)
|
||||
--apiserver-cert-extra-sans strings Optional extra Subject Alternative Names (SANs) to use for the API Server serving certificate. Can be both IP addresses and DNS names.
|
||||
--cert-dir string The path where to save and store the certificates. (default "/etc/kubernetes/pki")
|
||||
--config string Path to kubeadm config file. WARNING: Usage of a configuration file is experimental.
|
||||
--cri-socket string Specify the CRI socket to connect to. (default "/var/run/dockershim.sock")
|
||||
--dry-run Don't apply any changes; just output what would be done.
|
||||
--feature-gates string A set of key=value pairs that describe feature gates for various features. Options are:
|
||||
Auditing=true|false (ALPHA - default=false)
|
||||
CoreDNS=true|false (BETA - default=false)
|
||||
DynamicKubeletConfig=true|false (ALPHA - default=false)
|
||||
HighAvailability=true|false (ALPHA - default=false)
|
||||
SelfHosting=true|false (BETA - default=false)
|
||||
SelfHosting=true|false (ALPHA - default=false)
|
||||
StoreCertsInSecrets=true|false (ALPHA - default=false)
|
||||
SupportIPVSProxyMode=true|false (ALPHA - default=false)
|
||||
--ignore-checks-errors stringSlice A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.
|
||||
--kubernetes-version string Choose a specific Kubernetes version for the control plane. (default "stable-1.8")
|
||||
--node-name string Specify the node name.
|
||||
--pod-network-cidr string Specify range of IP addresses for the pod network. If set, the control plane will automatically allocate CIDRs for every node.
|
||||
--service-cidr string Use alternative range of IP address for service VIPs. (default "10.96.0.0/12")
|
||||
--service-dns-domain string Use alternative domain for services, e.g. "myorg.internal". (default "cluster.local")
|
||||
--skip-token-print Skip printing of the default bootstrap token generated by 'kubeadm init'.
|
||||
--token string The token to use for establishing bidirectional trust between nodes and masters.
|
||||
--token-ttl duration The duration before the bootstrap token is automatically deleted. If set to '0', the token will never expire. (default 24h0m0s)
|
||||
-h, --help help for init
|
||||
--ignore-preflight-errors strings A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.
|
||||
--kubernetes-version string Choose a specific Kubernetes version for the control plane. (default "stable-1.10")
|
||||
--node-name string Specify the node name.
|
||||
--pod-network-cidr string Specify range of IP addresses for the pod network. If set, the control plane will automatically allocate CIDRs for every node.
|
||||
--service-cidr string Use alternative range of IP address for service VIPs. (default "10.96.0.0/12")
|
||||
--service-dns-domain string Use alternative domain for services, e.g. "myorg.internal". (default "cluster.local")
|
||||
--skip-token-print Skip printing of the default bootstrap token generated by 'kubeadm init'.
|
||||
--token string The token to use for establishing bidirectional trust between nodes and masters.
|
||||
--token-ttl duration The duration before the bootstrap token is automatically deleted. If set to '0', the token will never expire. (default 24h0m0s)
|
||||
```
|
||||
|
||||
|
|
|
@ -4,7 +4,6 @@ Run this on any machine you wish to join an existing cluster
|
|||
### Synopsis
|
||||
|
||||
|
||||
|
||||
When joining a kubeadm initialized cluster, we need to establish
|
||||
bidirectional trust. This is split into discovery (having the Node
|
||||
trust the Kubernetes Master) and TLS bootstrap (having the Kubernetes
|
||||
|
@ -58,16 +57,16 @@ kubeadm join [flags]
|
|||
--cri-socket string Specify the CRI socket to connect to. (default "/var/run/dockershim.sock")
|
||||
--discovery-file string A file or url from which to load cluster information.
|
||||
--discovery-token string A token used to validate cluster information fetched from the master.
|
||||
--discovery-token-ca-cert-hash stringSlice For token-based discovery, validate that the root CA public key matches this hash (format: "<type>:<value>").
|
||||
--discovery-token-ca-cert-hash strings For token-based discovery, validate that the root CA public key matches this hash (format: "<type>:<value>").
|
||||
--discovery-token-unsafe-skip-ca-verification For token-based discovery, allow joining without --discovery-token-ca-cert-hash pinning.
|
||||
--feature-gates string A set of key=value pairs that describe feature gates for various features. Options are:
|
||||
CoreDNS=true|false (ALPHA - default=false)
|
||||
Auditing=true|false (ALPHA - default=false)
|
||||
CoreDNS=true|false (BETA - default=false)
|
||||
DynamicKubeletConfig=true|false (ALPHA - default=false)
|
||||
HighAvailability=true|false (ALPHA - default=false)
|
||||
SelfHosting=true|false (BETA - default=false)
|
||||
SelfHosting=true|false (ALPHA - default=false)
|
||||
StoreCertsInSecrets=true|false (ALPHA - default=false)
|
||||
SupportIPVSProxyMode=true|false (ALPHA - default=false)
|
||||
--ignore-checks-errors stringSlice A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.
|
||||
-h, --help help for join
|
||||
--ignore-preflight-errors strings A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.
|
||||
--node-name string Specify the node name.
|
||||
--tls-bootstrap-token string A token used for TLS bootstrapping.
|
||||
--token string Use this token for both discovery-token and tls-bootstrap-token.
|
||||
|
|
|
@ -3,18 +3,18 @@ Run this to revert any changes made to this host by 'kubeadm init' or 'kubeadm j
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Run this to revert any changes made to this host by 'kubeadm init' or 'kubeadm join'.
|
||||
|
||||
```
|
||||
kubeadm reset
|
||||
kubeadm reset [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
--cert-dir string The path to the directory where the certificates are stored. If specified, clean this directory. (default "/etc/kubernetes/pki")
|
||||
--cri-socket string The path to the CRI socket to use with crictl when cleaning up containers. (default "/var/run/dockershim.sock")
|
||||
--ignore-checks-errors stringSlice A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.
|
||||
--cert-dir string The path to the directory where the certificates are stored. If specified, clean this directory. (default "/etc/kubernetes/pki")
|
||||
--cri-socket string The path to the CRI socket to use with crictl when cleaning up containers. (default "/var/run/dockershim.sock")
|
||||
-h, --help help for reset
|
||||
--ignore-preflight-errors strings A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.
|
||||
```
|
||||
|
||||
|
|
|
@ -4,7 +4,6 @@ Manage bootstrap tokens.
|
|||
### Synopsis
|
||||
|
||||
|
||||
|
||||
This command manages bootstrap tokens. It is optional and needed only for advanced use cases.
|
||||
|
||||
In short, bootstrap tokens are used for establishing bidirectional trust between a client and a server.
|
||||
|
@ -24,13 +23,14 @@ You can read more about bootstrap tokens here:
|
|||
|
||||
|
||||
```
|
||||
kubeadm token
|
||||
kubeadm token [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
--dry-run Whether to enable dry-run mode or not
|
||||
-h, --help help for token
|
||||
--kubeconfig string The KubeConfig file to use when talking to the cluster (default "/etc/kubernetes/admin.conf")
|
||||
```
|
||||
|
||||
|
|
|
@ -4,7 +4,6 @@ Create bootstrap tokens on the server.
|
|||
### Synopsis
|
||||
|
||||
|
||||
|
||||
This command will create a bootstrap token for you.
|
||||
You can specify the usages for this token, the "time to live" and an optional human friendly description.
|
||||
|
||||
|
@ -20,11 +19,13 @@ kubeadm token create [token]
|
|||
### Options
|
||||
|
||||
```
|
||||
--config string Path to kubeadm config file (WARNING: Usage of a configuration file is experimental)
|
||||
--description string A human friendly description of how this token is used.
|
||||
--groups stringSlice Extra groups that this token will authenticate as when used for authentication. Must match "system:bootstrappers:[a-z0-9:-]{0,255}[a-z0-9]". (default [system:bootstrappers:kubeadm:default-node-token])
|
||||
--groups strings Extra groups that this token will authenticate as when used for authentication. Must match "system:bootstrappers:[a-z0-9:-]{0,255}[a-z0-9]". (default [system:bootstrappers:kubeadm:default-node-token])
|
||||
-h, --help help for create
|
||||
--print-join-command Instead of printing only the token, print the full 'kubeadm join' flag needed to join the cluster using the token.
|
||||
--ttl duration The duration before the token is automatically deleted (e.g. 1s, 2m, 3h). If set to '0', the token will never expire. (default 24h0m0s)
|
||||
--usages stringSlice Describes the ways in which this token can be used. You can pass --usages multiple times or provide a comma separated list of options. Valid options: [signing,authentication]. (default [signing,authentication])
|
||||
--usages strings Describes the ways in which this token can be used. You can pass --usages multiple times or provide a comma separated list of options. Valid options: [signing,authentication]. (default [signing,authentication])
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
|
|
@ -4,7 +4,6 @@ Delete bootstrap tokens on the server.
|
|||
### Synopsis
|
||||
|
||||
|
||||
|
||||
This command will delete a given bootstrap token for you.
|
||||
|
||||
The [token-value] is the full Token of the form "[a-z0-9]{6}.[a-z0-9]{16}" or the
|
||||
|
@ -15,6 +14,12 @@ Token ID of the form "[a-z0-9]{6}" to delete.
|
|||
kubeadm token delete [token-value]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for delete
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
|
|
|
@ -4,7 +4,6 @@ Generate and print a bootstrap token, but do not create it on the server.
|
|||
### Synopsis
|
||||
|
||||
|
||||
|
||||
This command will print out a randomly-generated bootstrap token that can be used with
|
||||
the "init" and "join" commands.
|
||||
|
||||
|
@ -17,7 +16,13 @@ generate and print one for you.
|
|||
|
||||
|
||||
```
|
||||
kubeadm token generate
|
||||
kubeadm token generate [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for generate
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
|
|
@ -4,12 +4,17 @@ List bootstrap tokens on the server.
|
|||
### Synopsis
|
||||
|
||||
|
||||
|
||||
This command will list all bootstrap tokens for you.
|
||||
|
||||
|
||||
```
|
||||
kubeadm token list
|
||||
kubeadm token list [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for list
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
|
|
@ -3,11 +3,10 @@ Upgrade your cluster smoothly to a newer version with this command.
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Upgrade your cluster smoothly to a newer version with this command.
|
||||
|
||||
```
|
||||
kubeadm upgrade
|
||||
kubeadm upgrade [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
@ -17,13 +16,13 @@ kubeadm upgrade
|
|||
--allow-release-candidate-upgrades Show release candidate versions of Kubernetes as an upgrade alternative and allow upgrading to a release candidate versions of Kubernetes.
|
||||
--config string Path to kubeadm config file. WARNING: Usage of a configuration file is experimental!
|
||||
--feature-gates string A set of key=value pairs that describe feature gates for various features.Options are:
|
||||
CoreDNS=true|false (ALPHA - default=false)
|
||||
Auditing=true|false (ALPHA - default=false)
|
||||
CoreDNS=true|false (BETA - default=false)
|
||||
DynamicKubeletConfig=true|false (ALPHA - default=false)
|
||||
HighAvailability=true|false (ALPHA - default=false)
|
||||
SelfHosting=true|false (BETA - default=false)
|
||||
SelfHosting=true|false (ALPHA - default=false)
|
||||
StoreCertsInSecrets=true|false (ALPHA - default=false)
|
||||
SupportIPVSProxyMode=true|false (ALPHA - default=false)
|
||||
--ignore-checks-errors stringSlice A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.
|
||||
-h, --help help for upgrade
|
||||
--ignore-preflight-errors strings A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.
|
||||
--kubeconfig string The KubeConfig file to use when talking to the cluster. (default "/etc/kubernetes/admin.conf")
|
||||
--print-config Specifies whether the configuration file that will be used in the upgrade should be printed or not.
|
||||
```
|
||||
|
|
|
@ -3,7 +3,6 @@ Upgrade your Kubernetes cluster to the specified version.
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Upgrade your Kubernetes cluster to the specified version.
|
||||
|
||||
```
|
||||
|
@ -14,8 +13,9 @@ kubeadm upgrade apply [version]
|
|||
|
||||
```
|
||||
--dry-run Do not change any state, just output what actions would be performed.
|
||||
--etcd-upgrade Perform the upgrade of etcd.
|
||||
--etcd-upgrade Perform the upgrade of etcd. (default true)
|
||||
-f, --force Force upgrading although some requirements might not be met. This also implies non-interactive mode.
|
||||
-h, --help help for apply
|
||||
--image-pull-timeout duration The maximum amount of time to wait for the control plane pods to be downloaded. (default 15m0s)
|
||||
-y, --yes Perform the upgrade and do not prompt for confirmation (non-interactive mode).
|
||||
```
|
||||
|
@ -27,13 +27,12 @@ kubeadm upgrade apply [version]
|
|||
--allow-release-candidate-upgrades Show release candidate versions of Kubernetes as an upgrade alternative and allow upgrading to a release candidate versions of Kubernetes.
|
||||
--config string Path to kubeadm config file. WARNING: Usage of a configuration file is experimental!
|
||||
--feature-gates string A set of key=value pairs that describe feature gates for various features.Options are:
|
||||
CoreDNS=true|false (ALPHA - default=false)
|
||||
Auditing=true|false (ALPHA - default=false)
|
||||
CoreDNS=true|false (BETA - default=false)
|
||||
DynamicKubeletConfig=true|false (ALPHA - default=false)
|
||||
HighAvailability=true|false (ALPHA - default=false)
|
||||
SelfHosting=true|false (BETA - default=false)
|
||||
SelfHosting=true|false (ALPHA - default=false)
|
||||
StoreCertsInSecrets=true|false (ALPHA - default=false)
|
||||
SupportIPVSProxyMode=true|false (ALPHA - default=false)
|
||||
--ignore-checks-errors stringSlice A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.
|
||||
--ignore-preflight-errors strings A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.
|
||||
--kubeconfig string The KubeConfig file to use when talking to the cluster. (default "/etc/kubernetes/admin.conf")
|
||||
--print-config Specifies whether the configuration file that will be used in the upgrade should be printed or not.
|
||||
```
|
||||
|
|
|
@ -3,11 +3,16 @@ Check which versions are available to upgrade to and validate whether your curre
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Check which versions are available to upgrade to and validate whether your current cluster is upgradeable.
|
||||
|
||||
```
|
||||
kubeadm upgrade plan
|
||||
kubeadm upgrade plan [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for plan
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
@ -17,13 +22,12 @@ kubeadm upgrade plan
|
|||
--allow-release-candidate-upgrades Show release candidate versions of Kubernetes as an upgrade alternative and allow upgrading to a release candidate versions of Kubernetes.
|
||||
--config string Path to kubeadm config file. WARNING: Usage of a configuration file is experimental!
|
||||
--feature-gates string A set of key=value pairs that describe feature gates for various features.Options are:
|
||||
CoreDNS=true|false (ALPHA - default=false)
|
||||
Auditing=true|false (ALPHA - default=false)
|
||||
CoreDNS=true|false (BETA - default=false)
|
||||
DynamicKubeletConfig=true|false (ALPHA - default=false)
|
||||
HighAvailability=true|false (ALPHA - default=false)
|
||||
SelfHosting=true|false (BETA - default=false)
|
||||
SelfHosting=true|false (ALPHA - default=false)
|
||||
StoreCertsInSecrets=true|false (ALPHA - default=false)
|
||||
SupportIPVSProxyMode=true|false (ALPHA - default=false)
|
||||
--ignore-checks-errors stringSlice A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.
|
||||
--ignore-preflight-errors strings A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.
|
||||
--kubeconfig string The KubeConfig file to use when talking to the cluster. (default "/etc/kubernetes/admin.conf")
|
||||
--print-config Specifies whether the configuration file that will be used in the upgrade should be printed or not.
|
||||
```
|
||||
|
|
|
@ -3,16 +3,16 @@ Print the version of kubeadm
|
|||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Print the version of kubeadm
|
||||
|
||||
```
|
||||
kubeadm version
|
||||
kubeadm version [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for version
|
||||
-o, --output string Output format; available options are 'yaml', 'json' and 'short'
|
||||
```
|
||||
|
||||
|
|
|
@ -22,9 +22,14 @@ docs/reference/setup-tools/kubeadm/generated/kubeadm_alpha_phase_bootstrap-token
|
|||
docs/reference/setup-tools/kubeadm/generated/kubeadm_alpha_phase_bootstrap-token_node_allow-post-csrs.md
|
||||
docs/reference/setup-tools/kubeadm/generated/kubeadm_alpha_phase_certs.md
|
||||
docs/reference/setup-tools/kubeadm/generated/kubeadm_alpha_phase_certs_all.md
|
||||
docs/reference/setup-tools/kubeadm/generated/kubeadm_alpha_phase_certs_apiserver-etcd-client.md
|
||||
docs/reference/setup-tools/kubeadm/generated/kubeadm_alpha_phase_certs_apiserver-kubelet-client.md
|
||||
docs/reference/setup-tools/kubeadm/generated/kubeadm_alpha_phase_certs_apiserver.md
|
||||
docs/reference/setup-tools/kubeadm/generated/kubeadm_alpha_phase_certs_ca.md
|
||||
docs/reference/setup-tools/kubeadm/generated/kubeadm_alpha_phase_certs_etcd-ca.md
|
||||
docs/reference/setup-tools/kubeadm/generated/kubeadm_alpha_phase_certs_etcd-healthcheck-client.md
|
||||
docs/reference/setup-tools/kubeadm/generated/kubeadm_alpha_phase_certs_etcd-peer.md
|
||||
docs/reference/setup-tools/kubeadm/generated/kubeadm_alpha_phase_certs_etcd-server.md
|
||||
docs/reference/setup-tools/kubeadm/generated/kubeadm_alpha_phase_certs_front-proxy-ca.md
|
||||
docs/reference/setup-tools/kubeadm/generated/kubeadm_alpha_phase_certs_front-proxy-client.md
|
||||
docs/reference/setup-tools/kubeadm/generated/kubeadm_alpha_phase_certs_sa.md
|
||||
|
|
|
@ -22,9 +22,14 @@ docs/reference/setup-tools/kubeadm/generated/kubeadm_alpha_phase_bootstrap-token
|
|||
docs/reference/setup-tools/kubeadm/generated/kubeadm_alpha_phase_bootstrap-token_node_allow-post-csrs.md
|
||||
docs/reference/setup-tools/kubeadm/generated/kubeadm_alpha_phase_certs.md
|
||||
docs/reference/setup-tools/kubeadm/generated/kubeadm_alpha_phase_certs_all.md
|
||||
docs/reference/setup-tools/kubeadm/generated/kubeadm_alpha_phase_certs_apiserver-etcd-client.md
|
||||
docs/reference/setup-tools/kubeadm/generated/kubeadm_alpha_phase_certs_apiserver-kubelet-client.md
|
||||
docs/reference/setup-tools/kubeadm/generated/kubeadm_alpha_phase_certs_apiserver.md
|
||||
docs/reference/setup-tools/kubeadm/generated/kubeadm_alpha_phase_certs_ca.md
|
||||
docs/reference/setup-tools/kubeadm/generated/kubeadm_alpha_phase_certs_etcd-ca.md
|
||||
docs/reference/setup-tools/kubeadm/generated/kubeadm_alpha_phase_certs_etcd-healthcheck-client.md
|
||||
docs/reference/setup-tools/kubeadm/generated/kubeadm_alpha_phase_certs_etcd-peer.md
|
||||
docs/reference/setup-tools/kubeadm/generated/kubeadm_alpha_phase_certs_etcd-server.md
|
||||
docs/reference/setup-tools/kubeadm/generated/kubeadm_alpha_phase_certs_front-proxy-ca.md
|
||||
docs/reference/setup-tools/kubeadm/generated/kubeadm_alpha_phase_certs_front-proxy-client.md
|
||||
docs/reference/setup-tools/kubeadm/generated/kubeadm_alpha_phase_certs_sa.md
|
||||
|
|
Loading…
Reference in New Issue