Skip to content

Commit

Permalink
fix number of cores for k8s
Browse files Browse the repository at this point in the history
  • Loading branch information
dciangot committed Jul 25, 2019
1 parent a5c6077 commit a007457
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
11 changes: 10 additions & 1 deletion templates/k8s/helm/yaml_reference/wn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ spec:
value: "2"
- name: XrdSecGSISRVNAMES
value: "*"
- name: DETECTED_CORES
value: "1"
volumeMounts:
- mountPath: /opt/exp_sw/cms
name: exp-sw
Expand All @@ -50,7 +52,14 @@ spec:
name: siteconf
- mountPath: /sys/fs/cgroup
name: cgroup
image: dodasts/cms
image: dodasts/cms
resources:
limits:
memory: "1500Mi"
cpu: "2500m"
requests:
memory: "1048Mi"
cpu: "2000m"
volumes:
- name: exp-sw
hostPath:
Expand Down
4 changes: 4 additions & 0 deletions templates/k8s/wn.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@
{
"name": "XrdSecGSISRVNAMES",
"value": "*"
},
{
"name": "DETECTED_CORES",
"value": 1
}
],
"volumeMounts": [
Expand Down

0 comments on commit a007457

Please sign in to comment.