Fix issues

This commit is contained in:
Urtzi Alfaro
2025-10-01 14:39:10 +02:00
parent 6fa655275f
commit 36b44c41f1
5 changed files with 229 additions and 324 deletions

View File

@@ -82,12 +82,7 @@ spec:
name: pos-integration-secrets
- secretRef:
name: whatsapp-secrets
env:
- name: TRAINING_PERSISTENCE_PATH
value: "/app/training_state"
volumeMounts:
- name: training-state
mountPath: /app/training_state
- name: tmp-storage
mountPath: /tmp
resources:
@@ -114,9 +109,6 @@ spec:
periodSeconds: 15
failureThreshold: 5
volumes:
- name: training-state
persistentVolumeClaim:
claimName: training-state-pvc
- name: tmp-storage
emptyDir:
sizeLimit: 2Gi
@@ -140,20 +132,3 @@ spec:
selector:
app.kubernetes.io/name: training-service
app.kubernetes.io/component: microservice
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: training-state-pvc
namespace: bakery-ia
labels:
app.kubernetes.io/name: training-service
app.kubernetes.io/component: storage
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 5Gi
storageClassName: standard