Unverified Commit 270cafb9 authored by Julien Bouquillon's avatar Julien Bouquillon 🐫 Committed by GitHub
Browse files

fix(k8s): fix requests (#95)

parent ded2b861
Pipeline #134936 passed with stages
in 1 minute and 19 seconds
...@@ -322,6 +322,10 @@ spec: ...@@ -322,6 +322,10 @@ spec:
envFrom: envFrom:
- secretRef: - secretRef:
name: elastic-recherche-entreprises-write name: elastic-recherche-entreprises-write
resources:
requests:
cpu: '1'
memory: 14Gi
restartPolicy: Never restartPolicy: Never
volumes: volumes:
- name: data - name: data
......
...@@ -320,6 +320,10 @@ spec: ...@@ -320,6 +320,10 @@ spec:
envFrom: envFrom:
- secretRef: - secretRef:
name: elastic-recherche-entreprises-write name: elastic-recherche-entreprises-write
resources:
requests:
cpu: '1'
memory: 14Gi
restartPolicy: Never restartPolicy: Never
volumes: volumes:
- name: data - name: data
......
...@@ -320,6 +320,10 @@ spec: ...@@ -320,6 +320,10 @@ spec:
envFrom: envFrom:
- secretRef: - secretRef:
name: elastic-recherche-entreprises-write name: elastic-recherche-entreprises-write
resources:
requests:
cpu: '1'
memory: 14Gi
restartPolicy: Never restartPolicy: Never
volumes: volumes:
- name: data - name: data
......
...@@ -105,6 +105,12 @@ const jobSpec: IIoK8sApiCoreV1PodSpec = { ...@@ -105,6 +105,12 @@ const jobSpec: IIoK8sApiCoreV1PodSpec = {
}, },
}, },
], ],
resources: {
requests: {
cpu: "1",
memory: "14Gi",
},
},
}, },
], ],
restartPolicy: "Never", restartPolicy: "Never",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment