Fix some issues with independent/high-availability.md (#8901)
Fix some hugo transition issues: * Use `file` as code syntax following our style guide and fixing bug #8868 * Reformat Note so that it's not displayed as text. Closes: #8868
This commit is contained in:
committed by
k8s-ci-robot
parent
3c1c581de6
commit
7d0bce5117
@@ -117,8 +117,7 @@ For **Option 2**: you can skip to the next step. Any reference to `etcd0`, `etcd
|
|||||||
EOF
|
EOF
|
||||||
```
|
```
|
||||||
|
|
||||||
{{< note >}}
|
{{< note >}}**Optional:** You can modify `ca-csr.json` to add a section for `names`.
|
||||||
**Optional:** You can modify `ca-csr.json` to add a section for `names`.
|
|
||||||
See [the CFSSL wiki](https://github.com/cloudflare/cfssl/wiki/Creating-a-new-CSR) for an example.
|
See [the CFSSL wiki](https://github.com/cloudflare/cfssl/wiki/Creating-a-new-CSR) for an example.
|
||||||
{{< /note >}}
|
{{< /note >}}
|
||||||
|
|
||||||
@@ -368,7 +367,7 @@ As an example we outline a simple setup based on keepalived. Depending on enviro
|
|||||||
|
|
||||||
1. Install keepalived, e.g. using your distribution's package manager. The configuration shown here works with version `1.3.5` but is expected to work with may other versions. Make sure to have it enabled (chkconfig, systemd, ...) so that it starts automatically when the respective node comes up.
|
1. Install keepalived, e.g. using your distribution's package manager. The configuration shown here works with version `1.3.5` but is expected to work with may other versions. Make sure to have it enabled (chkconfig, systemd, ...) so that it starts automatically when the respective node comes up.
|
||||||
|
|
||||||
2. Create the following configuration file _/etc/keepalived/keepalived.conf_ on all master nodes:
|
2. Create the following configuration file `/etc/keepalived/keepalived.conf` on all master nodes:
|
||||||
```none
|
```none
|
||||||
! Configuration File for keepalived
|
! Configuration File for keepalived
|
||||||
global_defs {
|
global_defs {
|
||||||
@@ -409,7 +408,7 @@ As an example we outline a simple setup based on keepalived. Depending on enviro
|
|||||||
* `auth_pass` use any random string here.
|
* `auth_pass` use any random string here.
|
||||||
* `virtual_ipaddresses` should contain the virtual IP for the master nodes.
|
* `virtual_ipaddresses` should contain the virtual IP for the master nodes.
|
||||||
|
|
||||||
3. Install the following health check script to _/etc/keepalived/check_apiserver.sh_ on all master nodes:
|
3. Install the following health check script to `/etc/keepalived/check_apiserver.sh` on all master nodes:
|
||||||
```bash
|
```bash
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user