mirror of
https://github.com/bokysan/docker-postfix.git
synced 2025-09-05 22:14:26 +08:00
autoscaling.apiVersion
This commit is contained in:
parent
4b46b1d173
commit
e3898ed071
2 changed files with 4 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
||||||
{{- $fullName := include (print $chart ".fullname") . -}}
|
{{- $fullName := include (print $chart ".fullname") . -}}
|
||||||
{{- $labels := include (print $chart ".labels") . -}}
|
{{- $labels := include (print $chart ".labels") . -}}
|
||||||
{{- $kind := "StatefulSet" -}}
|
{{- $kind := "StatefulSet" -}}
|
||||||
apiVersion: autoscaling/v2beta1
|
apiVersion: {{ .Values.autoscaling.apiVersion }}
|
||||||
kind: HorizontalPodAutoscaler
|
kind: HorizontalPodAutoscaler
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ $fullName | quote }}
|
name: {{ $fullName | quote }}
|
||||||
|
|
|
@ -39,7 +39,7 @@ metrics:
|
||||||
annotations: {}
|
annotations: {}
|
||||||
port: 9154
|
port: 9154
|
||||||
path: /metrics
|
path: /metrics
|
||||||
image:
|
image:
|
||||||
repository: "boky/postfix-exporter"
|
repository: "boky/postfix-exporter"
|
||||||
tag: "latest"
|
tag: "latest"
|
||||||
|
|
||||||
|
@ -95,6 +95,7 @@ autoscaling:
|
||||||
# targetMemoryUtilizationPercentage: 80
|
# targetMemoryUtilizationPercentage: 80
|
||||||
labels: {}
|
labels: {}
|
||||||
annotations: {}
|
annotations: {}
|
||||||
|
apiVersion: "autoscaling/v2beta1"
|
||||||
|
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
tolerations: []
|
tolerations: []
|
||||||
|
@ -184,7 +185,7 @@ dns:
|
||||||
# - 8.8.8.8
|
# - 8.8.8.8
|
||||||
# - 8.8.4.4
|
# - 8.8.4.4
|
||||||
searches: ""
|
searches: ""
|
||||||
# searches:
|
# searches:
|
||||||
# - "default.svc.cluster.local"
|
# - "default.svc.cluster.local"
|
||||||
# - "svc.cluster.local"
|
# - "svc.cluster.local"
|
||||||
# - "cluster.local"
|
# - "cluster.local"
|
||||||
|
|
Loading…
Add table
Reference in a new issue