diff --git a/k8s/04-postgres.yaml b/k8s/04-postgres.yaml index 5944897..32ce6e7 100644 --- a/k8s/04-postgres.yaml +++ b/k8s/04-postgres.yaml @@ -41,7 +41,7 @@ spec: exec: { command: ["pg_isready", "-U", "artista"] } periodSeconds: 5 resources: - requests: { cpu: 100m, memory: 256Mi } + requests: { cpu: "0", memory: "0" } limits: { memory: 1Gi } securityContext: allowPrivilegeEscalation: false diff --git a/k8s/05-app-deployment.yaml b/k8s/05-app-deployment.yaml index 56f4888..57a98f2 100644 --- a/k8s/05-app-deployment.yaml +++ b/k8s/05-app-deployment.yaml @@ -30,6 +30,7 @@ spec: envFrom: - secretRef: { name: artista-modelcamp-secrets } resources: + requests: { cpu: "0", memory: "0" } limits: { memory: 512Mi } securityContext: allowPrivilegeEscalation: false @@ -52,7 +53,7 @@ spec: initialDelaySeconds: 20 periodSeconds: 20 resources: - requests: { cpu: 200m, memory: 256Mi } + requests: { cpu: "0", memory: "0" } limits: { memory: 768Mi } securityContext: allowPrivilegeEscalation: false diff --git a/k8s/07-worker-cronjob.yaml b/k8s/07-worker-cronjob.yaml index 19cb709..dcd8b72 100644 --- a/k8s/07-worker-cronjob.yaml +++ b/k8s/07-worker-cronjob.yaml @@ -32,6 +32,7 @@ spec: - configMapRef: { name: artista-modelcamp-config } - secretRef: { name: artista-modelcamp-secrets } resources: + requests: { cpu: "0", memory: "0" } limits: { memory: 512Mi } securityContext: allowPrivilegeEscalation: false