Skip to content

Commit

Permalink
Increase client init resources 25Mi => 50Mi (hashicorp#832)
Browse files Browse the repository at this point in the history
Increase the memory for the client daemonset's tls-init
container. We saw an out of memory error when running on OpenShift.
  • Loading branch information
lkysow authored Feb 18, 2021
1 parent 9f286a8 commit eb00d47
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
## Unreleased

BREAKING CHANGES:

FEATURES:

IMPROVEMENTS:

BUG FIXES:
* Increase Consul client daemonset's memory from `25Mi` to `50Mi` for its `client-tls-init`
init container that runs when TLS is enabled and auto-encrypt is disabled. [[GH-832](https://github.com/hashicorp/consul-helm/pull/832)]

## 0.30.0 (Feb 16, 2021)

BREAKING CHANGES:
Expand Down
4 changes: 2 additions & 2 deletions templates/client-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -381,10 +381,10 @@ spec:
readOnly: true
resources:
requests:
memory: "25Mi"
memory: "50Mi"
cpu: "50m"
limits:
memory: "25Mi"
memory: "50Mi"
cpu: "50m"
{{- end }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ server:
# enable `server.exposeGossipAndRPCPorts` and `client.exposeGossipPorts`,
# that will configure the LAN gossip ports on the servers and clients to be
# hostPorts, so if you are running clients and servers on the same node the
# ports will conflict if they are both 8301. When you enable
# ports will conflict if they are both 8301. When you enable
# `server.exposeGossipAndRPCPorts` and `client.exposeGossipPorts`, you must
# change this from the default to an unused port on the host, e.g. 9301. By
# default the LAN gossip port is 8301 and configured as a containerPort on
Expand Down

0 comments on commit eb00d47

Please sign in to comment.