Implement CPU/memory resource requests

Bug #1915795 reported by Tom Haddon
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charm-k8s-discourse
Invalid
Undecided
Unassigned

Bug Description

We should set CPU / memory requests for the discourse pods deployed via the charm.

Upstream has the following: https://github.com/discourse/discourse_docker/blob/master/discourse-setup#L136

See https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ for more details on this. This will likely need to be implemented via k8s_resources.

Revision history for this message
Tom Haddon (mthaddon) wrote :

This is done via juju constraints, although per https://bugs.launchpad.net/juju/+bug/1919976 there isn't a way to do limits and requests separately.

Changed in charm-k8s-discourse:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.