feat(cluster): implement cloudflare-ddns cronjob in networking namespace
Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
7 files changed
+122
-12
No files matched your search
@@ -223,6 +223,18 @@ kubectl --kubeconfig=./provision/kubeconfig get nodes
|
||||
# k8s-1 Ready worker 4d20h v1.21.5+k3s1
|
||||
```
|
||||
|
||||
### ☁️ Configuring Cloudflare DNS with Terraform
|
||||
|
||||
📍 Review the Terraform scripts under `./terraform/cloudflare/` and make sure you understand what it's doing (no really review it). If your domain already has existing DNS records be sure to export those DNS settings before you continue. Ideally you can update the terraform script to manage DNS for all records if you so choose to.
|
||||
|
||||
1. Pull in the Terraform deps by running `task terraform:init:cloudflare`
|
||||
|
||||
2. Review the changes Terraform will make to your Cloudflare domain by running `task terraform:plan:cloudflare`
|
||||
|
||||
3. Finally have Terraform execute the task by running `task terraform:apply:cloudflare`
|
||||
|
||||
If Terraform was ran successfully and you have port forwarded `80` and `443` in your router to the `${BOOTSTRAP_METALLB_TRAEFIK_ADDR}` IP, head over to your browser and you _should_ be able to access `https://hajimari.${BOOTSTRAP_CLOUDFLARE_DOMAIN}`!
|
||||
|
||||
### 🔹 GitOps with Flux
|
||||
|
||||
📍 Here we will be installing [flux](https://toolkit.fluxcd.io/) after some quick bootstrap steps.
|
||||
@@ -296,18 +308,6 @@ kubectl --kubeconfig=./provision/kubeconfig get pods -n flux-system
|
||||
|
||||
🎉 **Congratulations** you have a Kubernetes cluster managed by Flux, your Git repository is driving the state of your cluster.
|
||||
|
||||
### ☁️ Configure Cloudflare DNS with Terraform
|
||||
|
||||
📍 Review the Terraform scripts under `./terraform/cloudflare/` and make sure you understand what it's doing (no really review it). If your domain already has existing DNS records be sure to export those DNS settings before you continue. Ideally you can update the terraform script to manage DNS for all records if you so choose to.
|
||||
|
||||
1. Pull in the Terraform deps by running `task terraform:init:cloudflare`
|
||||
|
||||
2. Review the changes Terraform will make to your Cloudflare domain by running `task terraform:plan:cloudflare`
|
||||
|
||||
3. Finally have Terraform execute the task by running `task terraform:apply:cloudflare`
|
||||
|
||||
If Terraform was ran successfully and you have port forwarded `80` and `443` in your router to the `${BOOTSTRAP_METALLB_TRAEFIK_ADDR}` IP, head over to your browser and you _should_ be able to access `https://hajimari.${BOOTSTRAP_CLOUDFLARE_DOMAIN}`!
|
||||
|
||||
## 📣 Post installation
|
||||
|
||||
### 👉 Troubleshooting
|
||||
|
||||
Reference in new issue
Block a user