Skip to content

Commit 87542f0

Browse files
authored
Specify resources for etcds. (#278)
Signed-off-by: Tom Wilkie <[email protected]>
1 parent 5f321f0 commit 87542f0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

etcd-operator/etcd-cluster.libsonnet

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,12 @@
2626
'prometheus.io/port': '2379',
2727
},
2828
etcdEnv: env,
29-
},
29+
} + (
30+
// Run etcd with the Burstable QoS class, and without a CPU limit
31+
// to avoid CFS throttling (best for low latency)
32+
$.util.resourcesRequests('500m', '512Mi') +
33+
$.util.resourcesLimits(null, '512Mi')
34+
),
3035
},
3136
},
3237
}

0 commit comments

Comments
 (0)