From 2fe01a77e95021e2a16c2e83b3a89254d89713e2 Mon Sep 17 00:00:00 2001 From: Joel DeTeves Date: Fri, 8 Jul 2022 15:34:12 -0700 Subject: [PATCH] Update manifests for 0.14.1 --- kubernetes/README.md | 2 +- kubernetes/deployment/tactical-backend.yaml | 2 +- kubernetes/deployment/tactical-celery.yaml | 4 ++-- kubernetes/deployment/tactical-frontend.yaml | 2 +- kubernetes/deployment/tactical-init-pod.yaml | 2 +- .../deployment/tactical-meshcentral.yaml | 2 +- kubernetes/deployment/tactical-web.yaml | 23 +++++++++++++++++-- .../deployment/tactical-websockets.yaml | 2 +- 8 files changed, 29 insertions(+), 10 deletions(-) diff --git a/kubernetes/README.md b/kubernetes/README.md index afe18f3..123818f 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 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._ +**Disclaimer:** _These manifests are experimental and as such are NOT SUPPORTED. 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 diff --git a/kubernetes/deployment/tactical-backend.yaml b/kubernetes/deployment/tactical-backend.yaml index bf3fb4a..5175d4d 100644 --- a/kubernetes/deployment/tactical-backend.yaml +++ b/kubernetes/deployment/tactical-backend.yaml @@ -26,7 +26,7 @@ spec: fsGroup: 1000 containers: - name: trmm-backend - image: tacticalrmm/tactical:0.11.4-dev + image: tacticalrmm/tactical:0.14.1 args: - tactical-backend resources: {} diff --git a/kubernetes/deployment/tactical-celery.yaml b/kubernetes/deployment/tactical-celery.yaml index d0f8ca0..2ed064b 100644 --- a/kubernetes/deployment/tactical-celery.yaml +++ b/kubernetes/deployment/tactical-celery.yaml @@ -25,7 +25,7 @@ spec: fsGroup: 1000 containers: - name: trmm-celery - image: tacticalrmm/tactical:0.11.4-dev + image: tacticalrmm/tactical:0.14.1 args: - tactical-celery resources: {} @@ -67,7 +67,7 @@ spec: spec: containers: - name: trmm-celerybeat - image: tacticalrmm/tactical:0.11.4-dev + image: tacticalrmm/tactical:0.14.1 args: - tactical-celerybeat resources: {} diff --git a/kubernetes/deployment/tactical-frontend.yaml b/kubernetes/deployment/tactical-frontend.yaml index 93e2ce8..bfef97f 100644 --- a/kubernetes/deployment/tactical-frontend.yaml +++ b/kubernetes/deployment/tactical-frontend.yaml @@ -22,7 +22,7 @@ spec: fsGroup: 1000 containers: - name: trmm-frontend - image: tacticalrmm/tactical-frontend:0.11.4-dev + image: tacticalrmm/tactical-frontend:0.14.1 resources: {} env: - name: API_HOST diff --git a/kubernetes/deployment/tactical-init-pod.yaml b/kubernetes/deployment/tactical-init-pod.yaml index eae5039..b971a64 100644 --- a/kubernetes/deployment/tactical-init-pod.yaml +++ b/kubernetes/deployment/tactical-init-pod.yaml @@ -12,7 +12,7 @@ spec: containers: - args: - tactical-init - image: tacticalrmm/tactical:0.11.4-dev + image: tacticalrmm/tactical:0.14.1 name: trmm-init env: - name: API_HOST diff --git a/kubernetes/deployment/tactical-meshcentral.yaml b/kubernetes/deployment/tactical-meshcentral.yaml index 2afd8c6..dd352e1 100644 --- a/kubernetes/deployment/tactical-meshcentral.yaml +++ b/kubernetes/deployment/tactical-meshcentral.yaml @@ -25,7 +25,7 @@ spec: fsGroup: 1000 containers: - name: trmm-meshcentral - image: tacticalrmm/tactical-meshcentral:0.11.4-dev + image: tacticalrmm/tactical-meshcentral:0.14.1 resources: {} env: - name: MESH_HOST diff --git a/kubernetes/deployment/tactical-web.yaml b/kubernetes/deployment/tactical-web.yaml index ecc136c..81b31b3 100644 --- a/kubernetes/deployment/tactical-web.yaml +++ b/kubernetes/deployment/tactical-web.yaml @@ -24,7 +24,7 @@ spec: fsGroup: 1000 containers: - name: nginx - image: tacticalrmm/tactical-nginx:0.11.4-dev + image: tacticalrmm/tactical-nginx:0.14.1 resources: {} env: - name: API_HOST @@ -43,6 +43,8 @@ spec: value: tactical-meshcentral.tacticalrmm.svc.cluster.local - name: WEBSOCKETS_SERVICE value: tactical-websockets.tacticalrmm.svc.cluster.local + - name: NATS_SERVICE + value: tactical-nats.tacticalrmm.svc.cluster.local - name: CERT_PUB_PATH value: /etc/ssl/certs/custom/tls.crt - name: CERT_PRIV_PATH @@ -56,7 +58,7 @@ spec: - mountPath: /etc/ssl/certs/custom name: tactical-certs - name: trmm-nats - image: tacticalrmm/tactical-nats:0.11.4-dev + image: tacticalrmm/tactical-nats:0.14.1 resources: {} env: - name: API_HOST @@ -65,6 +67,7 @@ spec: value: "10" ports: - containerPort: 4222 + - containerPort: 9235 volumeMounts: - mountPath: /opt/tactical name: tactical-data @@ -79,3 +82,19 @@ spec: secret: secretName: rmm-mydomain-com-tls status: {} +--- +apiVersion: v1 +kind: Service +metadata: + namespace: tacticalrmm + labels: + app: tacticalrmm + service: tactical-nats + name: tactical-nats +spec: + type: ClusterIP + ports: + - name: "nats-ws" + port: 9235 + selector: + service: tactical-nlb diff --git a/kubernetes/deployment/tactical-websockets.yaml b/kubernetes/deployment/tactical-websockets.yaml index e56c65f..f264b76 100644 --- a/kubernetes/deployment/tactical-websockets.yaml +++ b/kubernetes/deployment/tactical-websockets.yaml @@ -26,7 +26,7 @@ spec: fsGroup: 1000 containers: - name: trmm-websockets - image: tacticalrmm/tactical:0.11.4-dev + image: tacticalrmm/tactical:0.14.1 args: - tactical-websockets resources: {}