Skip to content
Closed
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/aisix/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,7 @@ rejects. New installs set the value in its own key in `values.yaml` or under
| admin.service.annotations | object | `{}` | Extra annotations for the admin Service |
| admin.service.port | int | `3001` | Admin Service port |
| affinity | object | `{}` | Affinity rules for the gateway pods |
| annotations | object | `{}` | Extra annotations for the Deployment |
| autoscaling.behavior | object | `{}` | `spec.behavior` for the HPA. Empty uses the Kubernetes defaults (immediate scale-up, 5-minute scale-down stabilization). A gateway that carries long streaming responses usually wants a gentler scale-down, e.g. `scaleDown: {policies: [{type: Pods, value: 1, periodSeconds: 60}]}` |
| autoscaling.enabled | bool | `false` | Create a HorizontalPodAutoscaler for the gateway Deployment |
| autoscaling.extraMetrics | list | `[]` | Extra `spec.metrics` entries appended verbatim — Pods / Object / External metrics such as a Prometheus adapter series |
Expand Down
4 changes: 4 additions & 0 deletions charts/aisix/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "aisix.fullname" . }}
{{- with .Values.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
{{- include "aisix.labels" . | nindent 4 }}
{{- include "aisix.selectorLabels" . | nindent 4 }}
Expand Down
2 changes: 2 additions & 0 deletions charts/aisix/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,8 @@ extraVolumes: []
# -- Extra volume mounts for the gateway container
extraVolumeMounts: []

# -- Extra annotations for the Deployment
annotations: {}
# -- Annotations for the gateway pods
podAnnotations: {}
# -- Labels for the gateway pods
Expand Down