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
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

podDisruptionBudget: {}

rolloutLabels: {}
rolloutAnnotations: {}
deploymentLabels: {}
deploymentAnnotations: {}

containerSpec:
lifecycle:
Expand Down Expand Up @@ -207,9 +207,9 @@ containerSecurityContext: {}

Spec:
Affinity:
Key:
Key: ""
# Key: kops.k8s.io/instancegroup
Values:
Values: ""

autoscaling:
enabled: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ waitForSecondsBeforeScalingDown: 30

Spec:
Affinity:
key: ""
Values: nodes
Key: ""
Values: ""

autoscaling:
enabled: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ kind: ScaledObject
metadata:
name: {{ template ".Chart.Name .fullname" $ }}-keda
labels:
app: { { template ".Chart.Name .name" . } }
appId: { { $.Values.app | quote } }
envId: { { $.Values.env | quote } }
chart: { { template ".Chart.Name .chart" . } }
release: { { .Release.Name } }
app: {{ template ".Chart.Name .name" . }}
appId: {{ $.Values.app | quote }}
envId: {{ $.Values.env | quote }}
chart: {{ template ".Chart.Name .chart" . }}
release: {{ .Release.Name }}
{{- if .Values.appLabels }}
{{ toYaml .Values.appLabels | indent 4 }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,43 @@
# Default values for myapp.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

kedaAutoscaling:
enabled: true
envSourceContainerName: "" # Optional. Default: .spec.template.spec.containers[0]
cooldownPeriod: 300 # Optional. Default: 300 seconds
minReplicaCount: 1
maxReplicaCount: 2
idleReplicaCount: 0 # Optional. Must be less than minReplicaCount
pollingInterval: 30 # Optional. Default: 30 seconds
# The fallback section is optional. It defines a number of replicas to fallback to if a scaler is in an error state.
fallback: # Optional. Section to specify fallback options
failureThreshold: 3 # Mandatory if fallback section is included
replicas: 6
advanced:
horizontalPodAutoscalerConfig: # Optional. Section to specify HPA related options
behavior: # Optional. Use to modify HPA's scaling behavior
scaleDown:
stabilizationWindowSeconds: 300
policies:
- type: Percent
value: 100
periodSeconds: 15
triggers:
- type: kubernetes-workload
name: trig_one
metadata:
podSelector: 'pod=workload-test'
- type: metrics-api
name: trig_two
metadata:
url: "https://mockbin.org/bin/336a8d99-9e09-4f1f-979d-851a6d1b1423"
valueLocation: "tasks"

triggerAuthentication:
enabled: true
name: "trigger-test"
spec: {}
authenticationRef: {}
deploymentLabels:
name: kunalverma
Company: Devtron
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ autoPromotionSeconds: 30

Spec:
Affinity:
Key:
Key: ""
# Key: kops.k8s.io/instancegroup
Values:
Values: ""


image:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Mandatory configs
podDisruptionBudget: {}

rolloutLabels: {}
rolloutAnnotations: {}
deploymentLabels: {}
deploymentAnnotations: {}

containerSpec:
lifecycle:
Expand Down Expand Up @@ -333,9 +333,9 @@ containerSecurityContext: {}

Spec:
Affinity:
Key:
Key: ""
# Key: kops.k8s.io/instancegroup
Values:
Values: ""

ambassadorMapping:
enabled: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ waitForSecondsBeforeScalingDown: 30

Spec:
Affinity:
key: ""
Values: nodes
Key: ""
Values: ""

autoscaling:
enabled: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ kind: ScaledObject
metadata:
name: {{ template ".Chart.Name .fullname" $ }}-keda
labels:
app: { { template ".Chart.Name .name" . } }
appId: { { $.Values.app | quote } }
envId: { { $.Values.env | quote } }
chart: { { template ".Chart.Name .chart" . } }
release: { { .Release.Name } }
app: {{ template ".Chart.Name .name" . }}
appId: {{ $.Values.app | quote }}
envId: {{ $.Values.env | quote }}
chart: {{ template ".Chart.Name .chart" . }}
release: {{ .Release.Name }}
{{- if .Values.appLabels }}
{{ toYaml .Values.appLabels | indent 4 }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,43 @@
# Default values for myapp.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

kedaAutoscaling:
enabled: true
envSourceContainerName: "" # Optional. Default: .spec.template.spec.containers[0]
cooldownPeriod: 300 # Optional. Default: 300 seconds
minReplicaCount: 1
maxReplicaCount: 2
idleReplicaCount: 0 # Optional. Must be less than minReplicaCount
pollingInterval: 30 # Optional. Default: 30 seconds
# The fallback section is optional. It defines a number of replicas to fallback to if a scaler is in an error state.
fallback: {} # Optional. Section to specify fallback options
# failureThreshold: 3 # Mandatory if fallback section is included
# replicas: 6
advanced: {}
# horizontalPodAutoscalerConfig: # Optional. Section to specify HPA related options
# behavior: # Optional. Use to modify HPA's scaling behavior
# scaleDown:
# stabilizationWindowSeconds: 300
# policies:
# - type: Percent
# value: 100
# periodSeconds: 15
triggers:
- type: kubernetes-workload
name: trig_one
metadata:
podSelector: 'pod=workload-test'
- type: metrics-api
name: trig_two
metadata:
url: "https://mockbin.org/bin/336a8d99-9e09-4f1f-979d-851a6d1b1423"
valueLocation: "tasks"

triggerAuthentication:
enabled: true
name: "trigger-test"
spec: {}
authenticationRef: {}
deploymentLabels:
name: kunalverma
Company: Devtron
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ autoPromotionSeconds: 30

Spec:
Affinity:
Key:
Key: ""
# Key: kops.k8s.io/instancegroup
Values:
Values: ""


image:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Mandatory configs

podDisruptionBudget: {}
rolloutLabels: {}
rolloutAnnotations: {}
deploymentLabels: {}
deploymentAnnotations: {}

containerSpec:
lifecycle:
Expand Down Expand Up @@ -384,9 +384,9 @@ containerSecurityContext: {}

Spec:
Affinity:
Key:
Key: ""
# Key: kops.k8s.io/instancegroup
Values:
Values: ""

ambassadorMapping:
enabled: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ waitForSecondsBeforeScalingDown: 30

Spec:
Affinity:
key: ""
Values: nodes
Key: ""
Values: ""

autoscaling:
enabled: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ kind: ScaledObject
metadata:
name: {{ template ".Chart.Name .fullname" $ }}-keda
labels:
app: { { template ".Chart.Name .name" . } }
appId: { { $.Values.app | quote } }
envId: { { $.Values.env | quote } }
chart: { { template ".Chart.Name .chart" . } }
release: { { .Release.Name } }
app: {{ template ".Chart.Name .name" . }}
appId: {{ $.Values.app | quote }}
envId: {{ $.Values.env | quote }}
chart: {{ template ".Chart.Name .chart" . }}
release: {{ .Release.Name }}
{{- if .Values.appLabels }}
{{ toYaml .Values.appLabels | indent 4 }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,43 @@
# Default values for myapp.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
kedaAutoscaling:
enabled: true
envSourceContainerName: "" # Optional. Default: .spec.template.spec.containers[0]
cooldownPeriod: 300 # Optional. Default: 300 seconds
minReplicaCount: 1
maxReplicaCount: 2
idleReplicaCount: 0 # Optional. Must be less than minReplicaCount
pollingInterval: 30 # Optional. Default: 30 seconds
# The fallback section is optional. It defines a number of replicas to fallback to if a scaler is in an error state.
fallback: {} # Optional. Section to specify fallback options
# failureThreshold: 3 # Mandatory if fallback section is included
# replicas: 6
advanced: {}
# horizontalPodAutoscalerConfig: # Optional. Section to specify HPA related options
# behavior: # Optional. Use to modify HPA's scaling behavior
# scaleDown:
# stabilizationWindowSeconds: 300
# policies:
# - type: Percent
# value: 100
# periodSeconds: 15
triggers:
- type: kubernetes-workload
name: trig_one
metadata:
podSelector: 'pod=workload-test'
- type: metrics-api
name: trig_two
metadata:
url: "https://mockbin.org/bin/336a8d99-9e09-4f1f-979d-851a6d1b1423"
valueLocation: "tasks"

triggerAuthentication:
enabled: true
name: "trigger-test"
spec: {}
authenticationRef: {}

deploymentLabels:
name: kunalverma
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ autoPromotionSeconds: 30

Spec:
Affinity:
Key:
Key: ""
# Key: kops.k8s.io/instancegroup
Values:
Values: ""


image:
Expand Down