Open blang9238 opened 3 years ago
Add support for HPA to the Chart templates for enterprise. The following snippet was created by a user for Anchore Engine in the template:
--- apiVersion: autoscaling/v1 kind: HorizontalPodAutoscaler metadata: name: {{ .Release.Name }}-hpa-analyzer labels: app: {{ .Release.Name }}-anchore-engine chart: {{ .Chart.Name }}-{{ .Chart.Version }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} spec: maxReplicas: {{ .Values.anchoreHorizontalAutoScaler.maxReplicas }} minReplicas: {{ .Values.anchoreHorizontalAutoScaler.minReplicas }} targetCPUUtilizationPercentage: {{ .Values.anchoreHorizontalAutoScaler.targetCpu }} scaleTargetRef: apiVersion: apps/v1 kind: Deployment name: {{ .Release.Name }}-anchore-engine-analyzer
This would be a useful feature for the federal space.
Add support for HPA to the Chart templates for enterprise. The following snippet was created by a user for Anchore Engine in the template: