Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kubeadm: update the reference documentation for 1.14 #12911

Merged
merged 6 commits into from
Mar 16, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

Upload certificates to kubeadm-certs

### Synopsis

This command is not meant to be run on its own. See list of available subcommands.

```
kubeadm init phase upload-certs [flags]
```

### Options

```
--certificate-key string Key used to encrypt the control-plane certificates in the kubeadm-certs Secret.
--config string Path to a kubeadm configuration file.
--experimental-upload-certs Upload control-plane certificates to the kubeadm-certs Secret.
-h, --help help for upload-certs
--skip-certificate-key-print Don't print the key used to encrypt the control-plane certificates.
```

### Options inherited from parent commands

```
--rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
```

Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@

use this command to invoke single phase of the join workflow

### Synopsis

use this command to invoke single phase of the join workflow

### Options

```
-h, --help help for phase
```

### Options inherited from parent commands

```
--rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
```

Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@

Joins a machine as a control plane instance

### Synopsis

Joins a machine as a control plane instance

```
kubeadm join phase control-plane-join [flags]
```

### Examples

```
# Joins a machine as a control plane instance
kubeadm join phase control-plane-join all
```

### Options

```
-h, --help help for control-plane-join
```

### Options inherited from parent commands

```
--rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
```

Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

Joins a machine as a control plane instance

### Synopsis

Joins a machine as a control plane instance

```
kubeadm join phase control-plane-join all [flags]
```

### Options

```
--apiserver-advertise-address string If the node should host a new control plane instance, the IP address the API Server will advertise it's listening on. If not set the default network interface will be used.
--config string Path to kubeadm config file.
--experimental-control-plane Create a new control plane instance on this node
-h, --help help for all
--node-name string Specify the node name.
```

### Options inherited from parent commands

```
--rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
```

Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

Add a new local etcd member

### Synopsis

Add a new local etcd member

```
kubeadm join phase control-plane-join etcd [flags]
```

### Options

```
--apiserver-advertise-address string If the node should host a new control plane instance, the IP address the API Server will advertise it's listening on. If not set the default network interface will be used.
--config string Path to kubeadm config file.
--experimental-control-plane Create a new control plane instance on this node
-h, --help help for etcd
--node-name string Specify the node name.
```

### Options inherited from parent commands

```
--rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
```

Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@

Mark a node as a control-plane

### Synopsis

Mark a node as a control-plane

```
kubeadm join phase control-plane-join mark-control-plane [flags]
```

### Options

```
--config string Path to kubeadm config file.
--experimental-control-plane Create a new control plane instance on this node
-h, --help help for mark-control-plane
--node-name string Specify the node name.
```

### Options inherited from parent commands

```
--rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
```

Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

Register the new control-plane node into the ClusterStatus maintained in the kubeadm-config ConfigMap

### Synopsis

Register the new control-plane node into the ClusterStatus maintained in the kubeadm-config ConfigMap

```
kubeadm join phase control-plane-join update-status [flags]
```

### Options

```
--apiserver-advertise-address string If the node should host a new control plane instance, the IP address the API Server will advertise it's listening on. If not set the default network interface will be used.
--config string Path to kubeadm config file.
--experimental-control-plane Create a new control plane instance on this node
-h, --help help for update-status
--node-name string Specify the node name.
```

### Options inherited from parent commands

```
--rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
```

Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@

Prepares the machine for serving a control plane.

### Synopsis

Prepares the machine for serving a control plane.

```
kubeadm join phase control-plane-prepare [flags]
```

### Examples

```
# Prepares the machine for serving a control plane
kubeadm join phase control-plane-prepare all
```

### Options

```
-h, --help help for control-plane-prepare
```

### Options inherited from parent commands

```
--rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
```

Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@

Prepares the machine for serving a control plane.

### Synopsis

Prepares the machine for serving a control plane.

```
kubeadm join phase control-plane-prepare all [api-server-endpoint] [flags]
```

### Options

```
--apiserver-advertise-address string If the node should host a new control plane instance, the IP address the API Server will advertise it's listening on. If not set the default network interface will be used.
--apiserver-bind-port int32 If the node should host a new control plane instance, the port for the API Server to bind to. (default 6443)
--certificate-key string Use this key to decrypt the certificate secrets uploaded by init.
--config string Path to kubeadm config file.
--discovery-file string For file-based discovery, a file or URL from which to load cluster information.
--discovery-token string For token-based discovery, the token used to validate cluster information fetched from the API server.
--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.
--experimental-control-plane Create a new control plane instance on this node
-h, --help help for all
--node-name string Specify the node name.
--tls-bootstrap-token string Specify the token used to temporarily authenticate with the Kubernetes Control Plane while joining the node.
--token string Use this token for both discovery-token and tls-bootstrap-token when those values are not provided.
```

### Options inherited from parent commands

```
--rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
```

Loading