Merge pull request #11 from lcsnetworks/0.14-k8s-changes

Update manifests for 0.14.1
This commit is contained in:
Dan 2022-07-08 18:36:26 -07:00 committed by GitHub
commit b80785664d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 29 additions and 10 deletions

View File

@ -3,7 +3,7 @@
**Desription:** TacticalRMM Kubernetes manifests tested & working on Digital Ocean managed Kubernetes (DOKS). **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 # Pre-requisites
- A working Kubernetes cluster - A working Kubernetes cluster

View File

@ -26,7 +26,7 @@ spec:
fsGroup: 1000 fsGroup: 1000
containers: containers:
- name: trmm-backend - name: trmm-backend
image: tacticalrmm/tactical:0.11.4-dev image: tacticalrmm/tactical:0.14.1
args: args:
- tactical-backend - tactical-backend
resources: {} resources: {}

View File

@ -25,7 +25,7 @@ spec:
fsGroup: 1000 fsGroup: 1000
containers: containers:
- name: trmm-celery - name: trmm-celery
image: tacticalrmm/tactical:0.11.4-dev image: tacticalrmm/tactical:0.14.1
args: args:
- tactical-celery - tactical-celery
resources: {} resources: {}
@ -67,7 +67,7 @@ spec:
spec: spec:
containers: containers:
- name: trmm-celerybeat - name: trmm-celerybeat
image: tacticalrmm/tactical:0.11.4-dev image: tacticalrmm/tactical:0.14.1
args: args:
- tactical-celerybeat - tactical-celerybeat
resources: {} resources: {}

View File

@ -22,7 +22,7 @@ spec:
fsGroup: 1000 fsGroup: 1000
containers: containers:
- name: trmm-frontend - name: trmm-frontend
image: tacticalrmm/tactical-frontend:0.11.4-dev image: tacticalrmm/tactical-frontend:0.14.1
resources: {} resources: {}
env: env:
- name: API_HOST - name: API_HOST

View File

@ -12,7 +12,7 @@ spec:
containers: containers:
- args: - args:
- tactical-init - tactical-init
image: tacticalrmm/tactical:0.11.4-dev image: tacticalrmm/tactical:0.14.1
name: trmm-init name: trmm-init
env: env:
- name: API_HOST - name: API_HOST

View File

@ -25,7 +25,7 @@ spec:
fsGroup: 1000 fsGroup: 1000
containers: containers:
- name: trmm-meshcentral - name: trmm-meshcentral
image: tacticalrmm/tactical-meshcentral:0.11.4-dev image: tacticalrmm/tactical-meshcentral:0.14.1
resources: {} resources: {}
env: env:
- name: MESH_HOST - name: MESH_HOST

View File

@ -24,7 +24,7 @@ spec:
fsGroup: 1000 fsGroup: 1000
containers: containers:
- name: nginx - name: nginx
image: tacticalrmm/tactical-nginx:0.11.4-dev image: tacticalrmm/tactical-nginx:0.14.1
resources: {} resources: {}
env: env:
- name: API_HOST - name: API_HOST
@ -43,6 +43,8 @@ spec:
value: tactical-meshcentral.tacticalrmm.svc.cluster.local value: tactical-meshcentral.tacticalrmm.svc.cluster.local
- name: WEBSOCKETS_SERVICE - name: WEBSOCKETS_SERVICE
value: tactical-websockets.tacticalrmm.svc.cluster.local value: tactical-websockets.tacticalrmm.svc.cluster.local
- name: NATS_SERVICE
value: tactical-nats.tacticalrmm.svc.cluster.local
- name: CERT_PUB_PATH - name: CERT_PUB_PATH
value: /etc/ssl/certs/custom/tls.crt value: /etc/ssl/certs/custom/tls.crt
- name: CERT_PRIV_PATH - name: CERT_PRIV_PATH
@ -56,7 +58,7 @@ spec:
- mountPath: /etc/ssl/certs/custom - mountPath: /etc/ssl/certs/custom
name: tactical-certs name: tactical-certs
- name: trmm-nats - name: trmm-nats
image: tacticalrmm/tactical-nats:0.11.4-dev image: tacticalrmm/tactical-nats:0.14.1
resources: {} resources: {}
env: env:
- name: API_HOST - name: API_HOST
@ -65,6 +67,7 @@ spec:
value: "10" value: "10"
ports: ports:
- containerPort: 4222 - containerPort: 4222
- containerPort: 9235
volumeMounts: volumeMounts:
- mountPath: /opt/tactical - mountPath: /opt/tactical
name: tactical-data name: tactical-data
@ -79,3 +82,19 @@ spec:
secret: secret:
secretName: rmm-mydomain-com-tls secretName: rmm-mydomain-com-tls
status: {} 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

View File

@ -26,7 +26,7 @@ spec:
fsGroup: 1000 fsGroup: 1000
containers: containers:
- name: trmm-websockets - name: trmm-websockets
image: tacticalrmm/tactical:0.11.4-dev image: tacticalrmm/tactical:0.14.1
args: args:
- tactical-websockets - tactical-websockets
resources: {} resources: {}