Fix issues
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user