From b99e344fddd3558cd853a32c72a57d426a64a62f Mon Sep 17 00:00:00 2001 From: Antonin Filippi Date: Wed, 23 Apr 2025 07:17:18 +0000 Subject: [PATCH] Supprimer z2/deployment.yaml --- z2/deployment.yaml | 51 ---------------------------------------------- 1 file changed, 51 deletions(-) delete mode 100644 z2/deployment.yaml diff --git a/z2/deployment.yaml b/z2/deployment.yaml deleted file mode 100644 index 29751ed..0000000 --- a/z2/deployment.yaml +++ /dev/null @@ -1,51 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: web-app-deployment - namespace: my-app -spec: - replicas: 2 - selector: - matchLabels: - app: web-app - template: - metadata: - labels: - app: web-app - spec: - containers: - - name: web-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" - readinessProbe: - httpGet: - path: / - port: 5000 - initialDelaySeconds: 15 - periodSeconds: 10 - livenessProbe: - httpGet: - path: / - port: 5000 - initialDelaySeconds: 20 - periodSeconds: 20 \ No newline at end of file