Skip to content

Commit

Permalink
Update values.yaml
Browse files Browse the repository at this point in the history
Add more documentation around some defaults for resource on connect inject and connect inject init
  • Loading branch information
David Yu authored Mar 10, 2023
1 parent 35ce503 commit a388db1
Showing 1 changed file with 21 additions and 5 deletions.
26 changes: 21 additions & 5 deletions charts/consul/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2130,15 +2130,22 @@ connectInject:
# @type: string
annotations: null

# The resource settings for connect inject pods.
# @recurse: false
# The resource settings for connect inject pods. The defaults, are optimized for getting started worklows on developer deployments. The settings should be tweaked for production deployments.
# @type: map
resources:
requests:
# Recommended default: 500Mi
# @type: string
memory: "50Mi"
# Recommended default: 250m
# @type: string
cpu: "50m"
limits:
# Recommended default: 500Mi
# @type: string
memory: "50Mi"
# Recommended default: 250m
# @type: string
cpu: "50m"

# Sets the failurePolicy for the mutating webhook. By default this will cause pods not part of the consul installation to fail scheduling while the webhook
Expand Down Expand Up @@ -2320,17 +2327,26 @@ connectInject:
# @type: string
cpu: null

# The resource settings for the Connect injected init container.
# @recurse: false
# The resource settings for the Connect injected init container. If null, the resources
# won't be set for the initContainer. The defaults are optimized for developer instances of
# Kubernetes, however they should be tweaked with the recommended defaults as shown below to speed up service registration times.
# @type: map
initContainer:
resources:
requests:
# Recommended default: 150Mi
# @type: string
memory: "25Mi"
# Recommended default: 250m
# @type: string
cpu: "50m"
limits:
# Recommended default: 150Mi
# @type: string
memory: "150Mi"
cpu: "500m"
# Recommended default: 500m
# @type: string
cpu: null

# [Mesh Gateways](https://developer.hashicorp.com/consul/docs/connect/gateways/mesh-gateway) enable Consul Connect to work across Consul datacenters.
meshGateway:
Expand Down

0 comments on commit a388db1

Please sign in to comment.