From 869f977060fe55d0545710b8657c0507c862ebe8 Mon Sep 17 00:00:00 2001 From: Antonin Filippi Date: Wed, 23 Apr 2025 07:18:35 +0000 Subject: [PATCH] Supprimer z2/statefulset.yaml --- z2/statefulset.yaml | 59 --------------------------------------------- 1 file changed, 59 deletions(-) delete mode 100644 z2/statefulset.yaml diff --git a/z2/statefulset.yaml b/z2/statefulset.yaml deleted file mode 100644 index bf802e3..0000000 --- a/z2/statefulset.yaml +++ /dev/null @@ -1,59 +0,0 @@ -apiVersion: apps/v1 -kind: StatefulSet -metadata: - name: stateful-app - namespace: my-app -spec: - serviceName: "stateful-app" - replicas: 1 - selector: - matchLabels: - app: stateful-app - template: - metadata: - labels: - app: stateful-app - spec: - containers: - - name: stateful-app-container - image: antonin193/simple-web-app:latest - imagePullPolicy: Always - ports: - - containerPort: 5000 - env: - - name: DB_HOST - value: postgres - - name: DB_PORT - value: "5432" - - name: DB_NAME - value: postgres - - name: DB_USER - value: postgres - - name: DB_PASS - value: postgres - resources: - requests: - memory: "64Mi" - cpu: "100m" - limits: - memory: "128Mi" - cpu: "200m" - volumeMounts: - - name: app-storage - mountPath: /data - readinessProbe: - httpGet: - path: / - port: 5000 - initialDelaySeconds: 15 - periodSeconds: 20 - volumeClaimTemplates: - - metadata: - name: app-storage - spec: - accessModes: - - ReadWriteOnce - storageClassName: manual - resources: - requests: - storage: 1Gi \ No newline at end of file