Run a kubernetes controlplane inside another kubernetes cluster and let certificates be generated by CertManager. Requires CertManager to be installed on the host cluster, as well as a fast storage class (Rancher local-path in its current form). Includes all required Certificate and Issuer Resources.
Note that this repo includes dummy hostnames and passwords, hence, is NOT PRODUCTION READY.
Setup proceeds in three steps:
- Install a controlplane in the host cluster. This will also deploy a preconfigured
kubectl
pod with admin credentials. You canexec
into it in order to interact with the cluster. - (Deploy additional resources to the guest cluster. This is done via a Job on the host cluster running the preconfigured
kubectl
). - Configure worker node(s). This is done via a Job on the host cluster running
ansible-playbook
.