Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions charts/kong/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -907,6 +907,7 @@ On the Gateway release side, set either `admin.tls.client.secretName` to the nam
| podAnnotations | Annotations to add to each pod | see `values.yaml` |
| podLabels | Labels to add to each pod | `{}` |
| resources | Pod resource requests & limits | `{}` |
| initContainerResources | Init container resource requests & limits | `{}` |
| tolerations | List of node taints to tolerate | `[]` |
| dnsPolicy | Pod dnsPolicy | |
| dnsConfig | Pod dnsConfig | |
Expand Down
2 changes: 1 addition & 1 deletion charts/kong/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ spec:
securityContext:
{{ toYaml .Values.containerSecurityContext | nindent 10 }}
resources:
{{ toYaml .Values.resources | indent 10 }}
{{ toYaml (default .Values.resources .Values.initContainerResources) | indent 10 }}
command:
- "rm"
- "-vrf"
Expand Down
10 changes: 10 additions & 0 deletions charts/kong/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -914,6 +914,16 @@ resources: {}
# cpu: 1
# memory: 2G

# Resources for initContainers (clear-stale-pid)
# If not specified, defaults to the main container resources defined above
initContainerResources: {}
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 50m
# memory: 64Mi

# readinessProbe for Kong pods
readinessProbe:
httpGet:
Expand Down