diff options
author | Santo Cariotti <santo@dcariotti.me> | 2025-01-25 12:22:45 +0100 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2025-01-25 12:22:45 +0100 |
commit | d33d54509a2c7eef352915e97dfebe91d9765759 (patch) | |
tree | 524f60b63a323d188386dc4ab75ff116529ecbf6 | |
parent | d3038e98e12074fbb0119cd52d713e0854e2ee79 (diff) |
Fix template and add Celium
-rw-r--r-- | yaml/backend.yaml | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/yaml/backend.yaml b/yaml/backend.yaml index ba3ea05..a415fd6 100644 --- a/yaml/backend.yaml +++ b/yaml/backend.yaml @@ -41,13 +41,6 @@ spec: matchLabels: app: cas-backend topologyKey: "kubernetes.io/hostname" - resources: - requests: - cpu: "200m" - memory: "500Mi" - limits: - cpu: "500m" - memory: "1Gi" containers: - name: cas image: ghcr.io/cas-4/backend:latest @@ -88,6 +81,13 @@ spec: configMapKeyRef: name: cas-backend-config key: AUDIO_PATH + resources: + requests: + cpu: "200m" + memory: "500Mi" + limits: + cpu: "500m" + memory: "1Gi" ports: - containerPort: 8000 restartPolicy: Always @@ -96,6 +96,9 @@ apiVersion: v1 kind: Service metadata: name: cas-backend-service + annotations: + service.beta.kubernetes.io/cilium-loadbalancer-mode: "hybrid" + service.beta.kubernetes.io/cilium-external-ips: "enabled" spec: ports: - port: 80 |