initial commit
All checks were successful
Build and Publish TechDocs (Helm Chart Resource) / build-and-publish-helm-chart (push) Successful in 1m25s
All checks were successful
Build and Publish TechDocs (Helm Chart Resource) / build-and-publish-helm-chart (push) Successful in 1m25s
Change-Id: Iedffaa05911f8f1c99119ed53d76af84be0baaee
This commit is contained in:
12
deploy/ci/daemonset-customnodeport-values.yaml
Normal file
12
deploy/ci/daemonset-customnodeport-values.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
controller:
|
||||
kind: DaemonSet
|
||||
service:
|
||||
type: NodePort
|
||||
http:
|
||||
port: 8080
|
||||
targetPort: 8080
|
||||
nodePort: 30080
|
||||
https:
|
||||
port: 8443
|
||||
targetPort: 8443
|
||||
nodePort: 30443
|
||||
2
deploy/ci/daemonset-default-values.yaml
Normal file
2
deploy/ci/daemonset-default-values.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
controller:
|
||||
kind: DaemonSet
|
||||
5
deploy/ci/daemonset-extraargs-values.yaml
Normal file
5
deploy/ci/daemonset-extraargs-values.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
controller:
|
||||
kind: DaemonSet
|
||||
extraArgs:
|
||||
- --controller-name=gate.haproxy.org/hug
|
||||
- --namespaces=default
|
||||
7
deploy/ci/daemonset-extraenvs-values.yaml
Normal file
7
deploy/ci/daemonset-extraenvs-values.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
controller:
|
||||
kind: DaemonSet
|
||||
extraEnvs:
|
||||
- name: TEST_STR1
|
||||
value: foo
|
||||
- name: TEST_STR2
|
||||
value: baz
|
||||
21
deploy/ci/daemonset-extraports-values.yaml
Normal file
21
deploy/ci/daemonset-extraports-values.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
## Test: DaemonSet with extra container and service ports, including host ports
|
||||
controller:
|
||||
kind: DaemonSet
|
||||
containerPort:
|
||||
http: 31080
|
||||
https: 31443
|
||||
stat: 31024
|
||||
custom: 8080
|
||||
daemonset:
|
||||
useHostPort: true
|
||||
hostPorts:
|
||||
http: 80
|
||||
https: 443
|
||||
stat: 1024
|
||||
custom: 8080
|
||||
service:
|
||||
extraPorts:
|
||||
- name: custom
|
||||
port: 8080
|
||||
targetPort: 8080
|
||||
protocol: TCP
|
||||
8
deploy/ci/daemonset-hostport-values.yaml
Normal file
8
deploy/ci/daemonset-hostport-values.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
controller:
|
||||
kind: DaemonSet
|
||||
daemonset:
|
||||
useHostPort: true
|
||||
hostPorts:
|
||||
http: 80
|
||||
https: 443
|
||||
stat: 1024
|
||||
5
deploy/ci/daemonset-serviceannotation-values.yaml
Normal file
5
deploy/ci/daemonset-serviceannotation-values.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
controller:
|
||||
kind: DaemonSet
|
||||
service:
|
||||
annotations:
|
||||
service.beta.kubernetes.io/aws-load-balancer-internal: 0.0.0.0/0
|
||||
7
deploy/ci/daemonset-strategy-values.yaml
Normal file
7
deploy/ci/daemonset-strategy-values.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
controller:
|
||||
kind: DaemonSet
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
rollingUpdate:
|
||||
maxUnavailable: 0
|
||||
maxSurge: 1
|
||||
11
deploy/ci/deployment-customnodeport-values.yaml
Normal file
11
deploy/ci/deployment-customnodeport-values.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
controller:
|
||||
service:
|
||||
type: NodePort
|
||||
http:
|
||||
port: 8080
|
||||
targetPort: 8080
|
||||
nodePort: 30080
|
||||
https:
|
||||
port: 8443
|
||||
targetPort: 8443
|
||||
nodePort: 30443
|
||||
1
deploy/ci/deployment-default-values.yaml
Normal file
1
deploy/ci/deployment-default-values.yaml
Normal file
@@ -0,0 +1 @@
|
||||
#
|
||||
4
deploy/ci/deployment-disabled-jobs-values.yaml
Normal file
4
deploy/ci/deployment-disabled-jobs-values.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
crdjob:
|
||||
enabled: false
|
||||
gwapijob:
|
||||
enabled: false
|
||||
4
deploy/ci/deployment-extraargs-values.yaml
Normal file
4
deploy/ci/deployment-extraargs-values.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
controller:
|
||||
extraArgs:
|
||||
- --controller-name=gate.haproxy.org/hug
|
||||
- --namespaces=default
|
||||
6
deploy/ci/deployment-extraenvs-values.yaml
Normal file
6
deploy/ci/deployment-extraenvs-values.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
controller:
|
||||
extraEnvs:
|
||||
- name: TEST_STR1
|
||||
value: foo
|
||||
- name: TEST_STR2
|
||||
value: baz
|
||||
14
deploy/ci/deployment-extraports-values.yaml
Normal file
14
deploy/ci/deployment-extraports-values.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
## Test: Deployment with extra container and service ports
|
||||
controller:
|
||||
kind: Deployment
|
||||
containerPort:
|
||||
http: 31080
|
||||
https: 31443
|
||||
stat: 31024
|
||||
custom: 8080
|
||||
service:
|
||||
extraPorts:
|
||||
- name: custom
|
||||
port: 8080
|
||||
targetPort: 8080
|
||||
protocol: TCP
|
||||
6
deploy/ci/deployment-hpa-values.yaml
Normal file
6
deploy/ci/deployment-hpa-values.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
controller:
|
||||
autoscaling:
|
||||
enabled: true
|
||||
minReplicas: 1
|
||||
maxReplicas: 5
|
||||
targetCPUUtilizationPercentage: 80
|
||||
8
deploy/ci/deployment-hugconf-values.yaml
Normal file
8
deploy/ci/deployment-hugconf-values.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
hugconf:
|
||||
logging:
|
||||
defaultLevel: Debug
|
||||
categoryLevelList:
|
||||
- category: "gate"
|
||||
level: "Debug"
|
||||
- category: "k8s"
|
||||
level: "Info"
|
||||
34
deploy/ci/deployment-keda-advanced-values.yaml
Normal file
34
deploy/ci/deployment-keda-advanced-values.yaml
Normal file
@@ -0,0 +1,34 @@
|
||||
controller:
|
||||
keda:
|
||||
enabled: true
|
||||
minReplicas: 1
|
||||
maxReplicas: 10
|
||||
pollingInterval: 15
|
||||
cooldownPeriod: 600
|
||||
restoreToOriginalReplicaCount: true
|
||||
scaledObject:
|
||||
annotations: {}
|
||||
fallback:
|
||||
failureThreshold: 3
|
||||
replicas: 5
|
||||
horizontalPodAutoscalerConfig:
|
||||
behavior:
|
||||
scaleDown:
|
||||
stabilizationWindowSeconds: 300
|
||||
policies:
|
||||
- type: Pods
|
||||
value: 1
|
||||
periodSeconds: 300
|
||||
triggers:
|
||||
- type: prometheus
|
||||
metadata:
|
||||
serverAddress: http://prometheus:9090
|
||||
metricName: haproxy_process_idle_time_percent
|
||||
threshold: '50'
|
||||
query: avg(100-avg_over_time(haproxy_process_idle_time_percent{job="haproxy-unified-gateway"}[2m]))
|
||||
# HPA should be ignored when KEDA is enabled
|
||||
autoscaling:
|
||||
enabled: true
|
||||
minReplicas: 1
|
||||
maxReplicas: 5
|
||||
targetCPUUtilizationPercentage: 80
|
||||
18
deploy/ci/deployment-keda-values.yaml
Normal file
18
deploy/ci/deployment-keda-values.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
controller:
|
||||
keda:
|
||||
enabled: true
|
||||
minReplicas: 2
|
||||
maxReplicas: 20
|
||||
pollingInterval: 30
|
||||
cooldownPeriod: 300
|
||||
restoreToOriginalReplicaCount: false
|
||||
scaledObject:
|
||||
annotations:
|
||||
test-annotation: "test-value"
|
||||
triggers:
|
||||
- type: prometheus
|
||||
metadata:
|
||||
serverAddress: http://prometheus:9090
|
||||
metricName: haproxy_process_idle_time_percent
|
||||
threshold: '50'
|
||||
query: avg(100-avg_over_time(haproxy_process_idle_time_percent{job="haproxy-unified-gateway"}[2m]))
|
||||
14
deploy/ci/deployment-metrics-none-values.yaml
Normal file
14
deploy/ci/deployment-metrics-none-values.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
## Test: Deployment with metricsAuth=none (plain HTTP controller metrics)
|
||||
controller:
|
||||
metricsAuth: none
|
||||
serviceMonitor:
|
||||
enabled: true
|
||||
endpoints:
|
||||
- port: stat
|
||||
path: /metrics
|
||||
scheme: http
|
||||
interval: 30s
|
||||
- port: metrics
|
||||
path: /metrics
|
||||
scheme: http
|
||||
interval: 30s
|
||||
5
deploy/ci/deployment-pdb-values.yaml
Normal file
5
deploy/ci/deployment-pdb-values.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
controller:
|
||||
replicaCount: 2
|
||||
podDisruptionBudget:
|
||||
enabled: true
|
||||
minAvailable: 1
|
||||
10
deploy/ci/deployment-podmonitor-values.yaml
Normal file
10
deploy/ci/deployment-podmonitor-values.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
controller:
|
||||
podMonitor:
|
||||
enabled: true
|
||||
extraLabels:
|
||||
release: prometheus
|
||||
endpoints:
|
||||
- port: stat
|
||||
path: /metrics
|
||||
scheme: http
|
||||
interval: 30s
|
||||
18
deploy/ci/deployment-servicemonitor-values.yaml
Normal file
18
deploy/ci/deployment-servicemonitor-values.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
## Test: Deployment with ServiceMonitor (both stat and controller metrics endpoints)
|
||||
controller:
|
||||
serviceMonitor:
|
||||
enabled: true
|
||||
extraLabels:
|
||||
release: prometheus
|
||||
endpoints:
|
||||
- port: stat
|
||||
path: /metrics
|
||||
scheme: http
|
||||
interval: 30s
|
||||
- port: metrics
|
||||
path: /metrics
|
||||
scheme: https
|
||||
interval: 30s
|
||||
tlsConfig:
|
||||
insecureSkipVerify: true
|
||||
bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
|
||||
6
deploy/ci/deployment-strategy-values.yaml
Normal file
6
deploy/ci/deployment-strategy-values.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
controller:
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
rollingUpdate:
|
||||
maxUnavailable: 0
|
||||
maxSurge: 1
|
||||
Reference in New Issue
Block a user