From 68c403c66478a06db4d3436018173ad302500abe Mon Sep 17 00:00:00 2001 From: Joel DeTeves Date: Mon, 3 Jan 2022 09:16:57 -0800 Subject: [PATCH 1/2] Fix DO Load Balancer health status check --- kubernetes/nlb.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kubernetes/nlb.yaml b/kubernetes/nlb.yaml index 59ac54b..f441d1e 100644 --- a/kubernetes/nlb.yaml +++ b/kubernetes/nlb.yaml @@ -8,7 +8,7 @@ metadata: name: tactical-nlb spec: type: LoadBalancer - externalTrafficPolicy: Local +# externalTrafficPolicy: Local ports: - name: "http" port: 80 From b06b4ef6939b0d23a2469c4410b3e21faba2637d Mon Sep 17 00:00:00 2001 From: Joel DeTeves Date: Mon, 3 Jan 2022 09:22:58 -0800 Subject: [PATCH 2/2] Fix typos in README.md, add note for externalTrafficPolicy --- kubernetes/README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kubernetes/README.md b/kubernetes/README.md index 89a6962..afe18f3 100644 --- a/kubernetes/README.md +++ b/kubernetes/README.md @@ -3,7 +3,7 @@ **Desription:** TacticalRMM Kubernetes manifests tested & working on Digital Ocean managed Kubernetes (DOKS). -**Disclaimer:** _These manifests rely on an experimental developer images and as such are NOT SUPPORTED, at least until the required changes are merged into the main image. I have done my best to make them as secure as possible them however I am NOT responsible for anything that happens to you or your data as a result of using these files. Please do your due dilligence security-wise and open a Github issue if you wish to report a problem. USE AT YOUR OWN RISK. By using these files you agree that you are the sole entity responsible for any damages that may arise as a result._ +**Disclaimer:** _These manifests rely on experimental developer images and as such are NOT SUPPORTED, at least until the required changes are merged into the main image. I have done my best to make them as secure as possible however I am NOT responsible for anything that happens to you or your data as a result of using these files. Please do your due dilligence security-wise and open a Github issue if you wish to report a problem. USE AT YOUR OWN RISK. By using these files you agree that you are the sole entity responsible for any damages that may arise as a result._ # Pre-requisites - A working Kubernetes cluster @@ -15,6 +15,9 @@ 2. ```kubectl apply -f .``` 3. ```kubectl apply -f deployment/ -R``` +# Notes +The load balancer has ```externalTrafficPolicy: Local``` disabled by default, as it caused a health check issue with the Digital Ocean Load Balancer these manifests were tested on. It may need to be enabled depending on your cloud provider, see https://docs.nats.io/running-a-nats-service/introduction/running/nats-kubernetes/nats-external-nlb for more info + # Questions / Concerns Please open an issue in Github or you can also check in the [Tactical RMM Discord Channel](https://discord.gg/upGTkWp).