diff --git a/charts/anteon/Chart.yaml b/charts/anteon/Chart.yaml index c0ed82e..8eb820a 100644 --- a/charts/anteon/Chart.yaml +++ b/charts/anteon/Chart.yaml @@ -16,13 +16,13 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 2.6.2 +version: 2.6.3 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "2.6.2" +appVersion: "2.6.3" keywords: - ebpf diff --git a/charts/anteon/README.md b/charts/anteon/README.md index 670da85..3138c97 100644 --- a/charts/anteon/README.md +++ b/charts/anteon/README.md @@ -130,6 +130,7 @@ The following table lists the configurable parameters of the Anteon chart and th | `alazbackend.replicas` | Number of replicas for the Alaz Backend service. | integer | `3` | | `alazbackend.celeryBeatReplicas` | Number of replicas for the Alaz Backend Celery Beat service. | integer | `1` | | `alazbackend.celeryWorkerReplicas` | Number of replicas for the Alaz Backend Celery Worker service. | integer | `2` | +| `alazbackend.requestWriterReplicas` | Number of replicas for the Alaz Backend Request Writer service. | integer | `1` | | `backend.replicas` | Number of replicas for the Backend service. | integer | `3` | | `backend.celeryBeatReplicas` | Number of replicas for the Backend Celery Beat service. | integer | `1` | | `backend.celeryWorkerReplicas` | Number of replicas for the Backend Celery Worker service. | integer | `1` | diff --git a/charts/anteon/templates/alaz-backend.yaml b/charts/anteon/templates/alaz-backend.yaml index a05c4c2..3e0b2d4 100644 --- a/charts/anteon/templates/alaz-backend.yaml +++ b/charts/anteon/templates/alaz-backend.yaml @@ -115,3 +115,37 @@ spec: resources: {} restartPolicy: Always status: {} +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + service: alaz-backend-request-writer + name: alaz-backend-request-writer +spec: + replicas: {{ .Values.alazBackend.requestWriterReplicas }} + selector: + matchLabels: + service: alaz-backend-request-writer + strategy: {} + template: + metadata: + labels: + service: alaz-backend-request-writer + spec: + initContainers: + - name: check-dependencies + image: {{ .Values.images.initContainerBusybox }} + command: ['sh', '-c', 'until nc -z -w4 alaz-backend 8008 && nc -z rabbitmq 5672; do echo waiting for dependencies; sleep 1; done;'] + containers: + - args: + - /workspace/start_scripts/start_request_writer.sh + envFrom: + - configMapRef: + name: env + image: {{ .Values.images.alazBackend }} + name: alaz-backend-request-writer + imagePullPolicy: IfNotPresent + resources: {} + restartPolicy: Always +status: {} diff --git a/charts/anteon/values.yaml b/charts/anteon/values.yaml index c4011ab..1cc2ca6 100644 --- a/charts/anteon/values.yaml +++ b/charts/anteon/values.yaml @@ -68,6 +68,7 @@ alazBackend: replicas: 3 celeryBeatReplicas: 1 celeryWorkerReplicas: 2 + requestWriterReplicas: 1 backend: replicas: 3 @@ -112,9 +113,9 @@ seaweedfs: replicas: 1 images: - alazBackend: ddosify/selfhosted_alaz_backend:2.3.7 + alazBackend: ddosify/selfhosted_alaz_backend:2.3.11 backend: ddosify/selfhosted_backend:3.2.9 - frontend: ddosify/selfhosted_frontend:4.1.2 + frontend: ddosify/selfhosted_frontend:4.1.4 hammer: ddosify/selfhosted_hammer:2.0.0 hammermanager: ddosify/selfhosted_hammermanager:2.0.2 influxdb: influxdb:2.6.1-alpine