From 531be0ab9f416b2dda50cfd9dde96b1b0b152a28 Mon Sep 17 00:00:00 2001 From: Antonin Filippi Date: Mon, 21 Apr 2025 19:00:24 +0000 Subject: [PATCH] Supprimer postgres-deployment.yaml --- postgres-deployment.yaml | 44 ---------------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 postgres-deployment.yaml diff --git a/postgres-deployment.yaml b/postgres-deployment.yaml deleted file mode 100644 index 46abfd2..0000000 --- a/postgres-deployment.yaml +++ /dev/null @@ -1,44 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: postgres - namespace: my-app -spec: - replicas: 1 - selector: - matchLabels: - app: postgres - template: - metadata: - labels: - app: postgres - spec: - containers: - - name: postgres - image: postgres:14 - imagePullPolicy: IfNotPresent - ports: - - containerPort: 5432 - env: - - name: POSTGRES_PASSWORD - value: postgres - - name: POSTGRES_USER - value: postgres - - name: POSTGRES_DB - value: postgres - - name: PGDATA - value: /var/lib/postgresql/data/pgdata - volumeMounts: - - name: postgres-storage - mountPath: /var/lib/postgresql/data - resources: - requests: - memory: "256Mi" - cpu: "200m" - limits: - memory: "512Mi" - cpu: "500m" - volumes: - - name: postgres-storage - persistentVolumeClaim: - claimName: data-pvc \ No newline at end of file