Skip to content

Commit

Permalink
Specify resources for etcds. (grafana#278)
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Wilkie <[email protected]>
  • Loading branch information
tomwilkie authored Jun 25, 2020
1 parent 5f321f0 commit 87542f0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion etcd-operator/etcd-cluster.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,12 @@
'prometheus.io/port': '2379',
},
etcdEnv: env,
},
} + (
// Run etcd with the Burstable QoS class, and without a CPU limit
// to avoid CFS throttling (best for low latency)
$.util.resourcesRequests('500m', '512Mi') +
$.util.resourcesLimits(null, '512Mi')
),
},
},
}

0 comments on commit 87542f0

Please sign in to comment.