Skip to content
Snippets Groups Projects

Minor fixes

Merged Lluis Gifre Renom requested to merge feat/cttc-interdomain-r21 into develop
8 files
+ 114
101
Compare changes
  • Side-by-side
  • Inline
Files
8
@@ -40,7 +40,7 @@ spec:
- name: MB_BACKEND
value: "nats"
- name: LOG_LEVEL
value: "DEBUG"
value: "INFO"
envFrom:
- secretRef:
name: crdb-data
@@ -54,7 +54,7 @@ spec:
command: ["/bin/grpc_health_probe", "-addr=:1010"]
resources:
requests:
cpu: 125m
cpu: 250m
memory: 128Mi
limits:
cpu: 1000m
@@ -79,25 +79,25 @@ spec:
protocol: TCP
port: 9192
targetPort: 9192
#---
#apiVersion: autoscaling/v2
#kind: HorizontalPodAutoscaler
#metadata:
# name: contextservice-hpa
#spec:
# scaleTargetRef:
# apiVersion: apps/v1
# kind: Deployment
# name: contextservice
# minReplicas: 1
# maxReplicas: 20
# metrics:
# - type: Resource
# resource:
# name: cpu
# target:
# type: Utilization
# averageUtilization: 80
# #behavior:
# # scaleDown:
# # stabilizationWindowSeconds: 30
---
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: contextservice-hpa
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: contextservice
minReplicas: 1
maxReplicas: 20
metrics:
- type: Resource
resource:
name: cpu
target:
type: Utilization
averageUtilization: 80
#behavior:
# scaleDown:
# stabilizationWindowSeconds: 30
Loading