Add e2e tests for build/diff kustomization
Signed-off-by: Soule BA <soule@weave.works>
This commit is contained in:
20
cmd/flux/testdata/build-kustomization/podinfo/hpa.yaml
vendored
Normal file
20
cmd/flux/testdata/build-kustomization/podinfo/hpa.yaml
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
apiVersion: autoscaling/v2beta2
|
||||
kind: HorizontalPodAutoscaler
|
||||
metadata:
|
||||
name: podinfo
|
||||
spec:
|
||||
scaleTargetRef:
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
name: podinfo
|
||||
minReplicas: 2
|
||||
maxReplicas: 4
|
||||
metrics:
|
||||
- type: Resource
|
||||
resource:
|
||||
name: cpu
|
||||
target:
|
||||
type: Utilization
|
||||
# scale up if usage is above
|
||||
# 99% of the requested CPU (100m)
|
||||
averageUtilization: 99
|
||||
Reference in New Issue
Block a user