Skip to content
Snippets Groups Projects
Commit 84a84bdd authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Manifests:

- Disabled policy and ZTP HPAs
parent a3b6992c
No related branches found
No related tags found
2 merge requests!235Release TeraFlowSDN 3.0,!216Resolve "Automate end-to-end tests and integrate them in CI/CD pipeline"
...@@ -108,22 +108,22 @@ spec: ...@@ -108,22 +108,22 @@ spec:
limits: limits:
cpu: 2000m cpu: 2000m
memory: 2048Mi memory: 2048Mi
--- #---
apiVersion: autoscaling/v2 #apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler #kind: HorizontalPodAutoscaler
metadata: #metadata:
name: policyservice-hpa # name: policyservice-hpa
spec: #spec:
scaleTargetRef: # scaleTargetRef:
apiVersion: apps/v1 # apiVersion: apps/v1
kind: Deployment # kind: Deployment
name: policyservice # name: policyservice
minReplicas: 1 # minReplicas: 1
maxReplicas: 10 # maxReplicas: 10
metrics: # metrics:
- type: Resource # - type: Resource
resource: # resource:
name: cpu # name: cpu
target: # target:
type: Utilization # type: Utilization
averageUtilization: 80 # averageUtilization: 80
...@@ -104,22 +104,22 @@ spec: ...@@ -104,22 +104,22 @@ spec:
limits: limits:
cpu: 2000m cpu: 2000m
memory: 2048Mi memory: 2048Mi
--- #---
apiVersion: autoscaling/v2 #apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler #kind: HorizontalPodAutoscaler
metadata: #metadata:
name: ztpservice-hpa # name: ztpservice-hpa
spec: #spec:
scaleTargetRef: # scaleTargetRef:
apiVersion: apps/v1 # apiVersion: apps/v1
kind: Deployment # kind: Deployment
name: ztpservice # name: ztpservice
minReplicas: 1 # minReplicas: 1
maxReplicas: 10 # maxReplicas: 10
metrics: # metrics:
- type: Resource # - type: Resource
resource: # resource:
name: cpu # name: cpu
target: # target:
type: Utilization # type: Utilization
averageUtilization: 80 # averageUtilization: 80
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment