mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +00:00
Merge pull request #7863 from fgrzadkowski/etcd_maxprocs
Set GOMAXPROCS for etcd
This commit is contained in:
commit
600b00f2b1
@ -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