diff --git a/content/en/docs/setup/independent/high-availability.md b/content/en/docs/setup/independent/high-availability.md index 09e0b61ece..faf3e56637 100644 --- a/content/en/docs/setup/independent/high-availability.md +++ b/content/en/docs/setup/independent/high-availability.md @@ -208,7 +208,7 @@ This results in the following files: `peer.pem`, `peer-key.pem`, `server.pem`, ` ### {{< tabs name="etcd_mode" >}} {{% tab name="Choose one..." %}} -Please select one of the tabs to see installation instructions for the respective way to run etcd. +Please select one of the tabs to see installation instructions for the respective way to set up a virtual IP. {{% /tab %}} {{% tab name="systemd" %}} 1. First, install etcd binaries: @@ -347,7 +347,7 @@ Make sure you replace: ## {{< tabs name="lb_mode" >}} {{% tab name="Choose one..." %}} -Please select one of the tabs to see installation instructions for the respective way to run etcd. +Please select one of the tabs to see installation instructions for the respective way to set up a virtual IP. {{% /tab %}} {{% tab name="Cloud" %}} Some examples of cloud provider solutions are: @@ -447,37 +447,39 @@ Only follow this step if your etcd is hosted on dedicated nodes (**Option 1**). ## Run kubeadm init on master0 {#kubeadm-init-master0} 1. In order for kubeadm to run, you first need to write a configuration file: - ```none + + cat >config.yaml < + advertiseAddress: + controlPlaneEndpoint: etcd: - endpoints: - - https://:2379 - - https://:2379 - - https://:2379 - caFile: /etc/kubernetes/pki/etcd/ca.pem - certFile: /etc/kubernetes/pki/etcd/client.pem - keyFile: /etc/kubernetes/pki/etcd/client-key.pem + endpoints: + - https://:2379 + - https://:2379 + - https://:2379 + caFile: /etc/kubernetes/pki/etcd/ca.pem + certFile: /etc/kubernetes/pki/etcd/client.pem + keyFile: /etc/kubernetes/pki/etcd/client-key.pem networking: - podSubnet: + podSubnet: apiServerCertSANs: - - + - + - apiServerExtraArgs: - apiserver-count: "3" + apiserver-count: "3" EOF - ``` - Ensure that the following placeholders are replaced: +Ensure that the following placeholders are replaced: - - `` with the private IPv4 of the master server. - - ``, `` and `` with the IP addresses of your three etcd nodes - - `` with your Pod CIDR. Please read the [CNI network section](/docs/setup/independent/create-cluster-kubeadm/#pod-network) of the docs for more information. Some CNI providers do not require a value to be set. - - `` with the virtual IP set up in the load balancer. Please read [setting up a master load balancer](/docs/setup/independent/high-availability/#set-up-master-load-balancer) section of the docs for more information. +- `` with the private IPv4 of the master server. +- ``, `` and `` with the IP addresses of your three etcd nodes +- `` with your Pod CIDR. Please read the [CNI network section](/docs/setup/independent/create-cluster-kubeadm/#pod-network) of the docs for more information. Some CNI providers do not require a value to be set. +- `` with the virtual IP. Please read [setting up a master load balancer](/docs/setup/independent/high-availability/#set-up-master-load-balancer) section of the docs for more information. - {{< note >}}**Note:** If you are using Kubernetes 1.9+, you can replace the `apiserver-count: 3` extra argument with `endpoint-reconciler-type: lease`. For more information, see [the documentation](/docs/admin/high-availability/#endpoint-reconciler).{{< /note >}} +{{< note >}}**Note:** If you are using Kubernetes 1.9+, you can replace the `apiserver-count: 3` extra argument with `endpoint-reconciler-type: lease`. For more information, see [the documentation](/docs/admin/high-availability/#endpoint-reconciler).{{< /note >}} 1. When this is done, run kubeadm: ```bash