chore: add single control plane note in readme

This commit is contained in:
Devin Buhl authored and GitHub committed 2022-02-03 11:32:22 -05:00
1 parent df6b412661
commit 85a26f67fc
1 file changed
+4
+4
View File
@@ -170,6 +170,8 @@ In order to use Terraform and `cert-manager` with the Cloudflare DNS challenge y
:round_pushpin: The `.config.env` file contains necessary configuration that is needed by Ansible, Terraform and Flux.
:round_pushpin: It is suggested to use **three control plane nodes**. If you **only need a single control plane node**, make sure **you update** `./provision/ansible/inventory/group_vars/kubernetes/k3s.yml` and set `k3s_use_unsupported_config` to `true`
1. Copy the `.config.sample.env` to `.config.env` and start filling out all the environment variables. **All are required** and read the comments they will explain further what is required.
2. Once that is done, verify the configuration is correct by running `./configure.sh --verify`
@@ -198,6 +200,8 @@ In order to use Terraform and `cert-manager` with the Cloudflare DNS challenge y
:round_pushpin: Here we will be running a Ansible Playbook to install [k3s](https://k3s.io/) with [this](https://galaxy.ansible.com/xanmanning/k3s) wonderful k3s Ansible galaxy role. After completion, Ansible will drop a `kubeconfig` in `./provision/kubeconfig` for use with interacting with your cluster with `kubectl`.
:round_pushpin: Once more over, it is suggested to use **three control plane nodes**. If you **only need a single control plane node**, make sure **you update** `./provision/ansible/inventory/group_vars/kubernetes/k3s.yml` and set `k3s_use_unsupported_config` to `true`
1. Verify Ansible can view your config by running `task ansible:list`
2. Verify Ansible can ping your nodes by running `task ansible:adhoc:ping`