26 lines
649 B
YAML
26 lines
649 B
YAML
# Source: authentik/templates/worker-hpa.yaml
|
|
apiVersion: autoscaling/v2
|
|
kind: HorizontalPodAutoscaler
|
|
metadata:
|
|
name: authentik-worker
|
|
labels:
|
|
helm.sh/chart: authentik-2023.8.3
|
|
app.kubernetes.io/name: authentik
|
|
app.kubernetes.io/instance: authentik
|
|
app.kubernetes.io/version: "2023.8.3"
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/component: "worker"
|
|
spec:
|
|
minReplicas: 1
|
|
maxReplicas: 5
|
|
metrics:
|
|
- resource:
|
|
name: cpu
|
|
target:
|
|
averageUtilization: 80
|
|
type: Utilization
|
|
type: Resource
|
|
scaleTargetRef:
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
name: authentik-worker |