Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Horizontal Pod Autoscaling Support #90

Open
blang9238 opened this issue Dec 11, 2020 · 1 comment
Open

Horizontal Pod Autoscaling Support #90

blang9238 opened this issue Dec 11, 2020 · 1 comment

Comments

@blang9238
Copy link
Contributor

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
@found-it
Copy link
Contributor

found-it commented Jan 8, 2021

This would be a useful feature for the federal space.

Btodhunter pushed a commit that referenced this issue Jul 6, 2023
feat: added config values for runtime report generation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants