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
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{{- if .Values.verticalPodAutoscaler.enabled }}
apiVersion: autoscaling.k8s.io/v1
kind: VerticalPodAutoscaler
metadata:
name: strimzi-cluster-operator
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "strimzi.name" . }}
chart: {{ template "strimzi.chart" . }}
component: vertical-pod-autoscaler
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
targetRef:
apiVersion: apps/v1
kind: Deployment
name: strimzi-cluster-operator
updatePolicy:
updateMode: {{ .Values.verticalPodAutoscaler.updateMode | quote }}
resourcePolicy:
containerPolicies:
- containerName: strimzi-cluster-operator
controlledResources:
- cpu
- memory
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,14 @@ podDisruptionBudget:
maxUnavailable:
unhealthyPodEvictionPolicy: IfHealthyBudget

verticalPodAutoscaler:
# If enabled, a VerticalPodAutoscaler resource will be created for the operator Deployment.
# Requires the VPA CRDs to be installed on the cluster.
enabled: false
# VPA update mode: Auto or Recreate restart pods to apply recommendations;
# Initial applies recommendations only at pod creation; Off disables updates.
updateMode: "Auto"

operatorNetworkPolicy:
# If enabled, this will generate a networkPolicy for the strimzi-operator.
# This flag DOES NOT control operator generated networkPolicies!
Expand Down