mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Set GOMAXPROCS for etcd
This commit is contained in:
parent
58962100db
commit
7e8bde53dd
@ -1,3 +1,5 @@
|
||||
{% set num_cpus = salt['grains.get']('num_cpus', '') %}
|
||||
|
||||
{
|
||||
"apiVersion": "v1beta3",
|
||||
"kind": "Pod",
|
||||
@ -29,6 +31,10 @@
|
||||
{ "name": "varetcd",
|
||||
"mountPath": "/var/etcd",
|
||||
"readOnly": false}
|
||||
],
|
||||
"env": [
|
||||
{ "name": "GOMAXPROCS",
|
||||
"value": "{{num_cpus}}"}
|
||||
]
|
||||
}
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user