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

Pre-merge code cleanup

parent f39dbba9
No related branches found
No related tags found
2 merge requests!142Release TeraFlowSDN 2.1,!132NetSoft Hackfest extensions, gNMI Driver, gNMI L3NM Service Handler, multiple fixes
...@@ -23,9 +23,8 @@ spec: ...@@ -23,9 +23,8 @@ spec:
#replicas: 1 #replicas: 1
template: template:
metadata: metadata:
# Deactivated linkerd for the Hackfest annotations:
#annotations: config.linkerd.io/skip-outbound-ports: "4222"
# config.linkerd.io/skip-outbound-ports: "4222"
labels: labels:
app: contextservice app: contextservice
spec: spec:
...@@ -80,25 +79,25 @@ spec: ...@@ -80,25 +79,25 @@ spec:
protocol: TCP protocol: TCP
port: 9192 port: 9192
targetPort: 9192 targetPort: 9192
#--- ---
#apiVersion: autoscaling/v2 apiVersion: autoscaling/v2
#kind: HorizontalPodAutoscaler kind: HorizontalPodAutoscaler
#metadata: metadata:
# name: contextservice-hpa name: contextservice-hpa
#spec: spec:
# scaleTargetRef: scaleTargetRef:
# apiVersion: apps/v1 apiVersion: apps/v1
# kind: Deployment kind: Deployment
# name: contextservice name: contextservice
# minReplicas: 1 minReplicas: 1
# maxReplicas: 20 maxReplicas: 20
# metrics: metrics:
# - type: Resource - type: Resource
# resource: resource:
# name: cpu name: cpu
# target: target:
# type: Utilization type: Utilization
# averageUtilization: 80 averageUtilization: 80
# #behavior: #behavior:
# # scaleDown: # scaleDown:
# # stabilizationWindowSeconds: 30 # stabilizationWindowSeconds: 30
...@@ -23,10 +23,9 @@ spec: ...@@ -23,10 +23,9 @@ spec:
replicas: 1 replicas: 1
template: template:
metadata: metadata:
# Deactivated linkerd for the Hackfest annotations:
#annotations: # Required for IETF L2VPN SBI when both parent and child run in same K8s cluster with Linkerd
# # Required for IETF L2VPN SBI when both parent and child run in same K8s cluster with Linkerd config.linkerd.io/skip-outbound-ports: "8002"
# config.linkerd.io/skip-outbound-ports: "8002"
labels: labels:
app: deviceservice app: deviceservice
spec: spec:
......
...@@ -98,25 +98,25 @@ spec: ...@@ -98,25 +98,25 @@ spec:
protocol: TCP protocol: TCP
port: 9192 port: 9192
targetPort: 9192 targetPort: 9192
#--- ---
#apiVersion: autoscaling/v2 apiVersion: autoscaling/v2
#kind: HorizontalPodAutoscaler kind: HorizontalPodAutoscaler
#metadata: metadata:
# name: pathcompservice-hpa name: pathcompservice-hpa
#spec: spec:
# scaleTargetRef: scaleTargetRef:
# apiVersion: apps/v1 apiVersion: apps/v1
# kind: Deployment kind: Deployment
# name: pathcompservice name: pathcompservice
# minReplicas: 1 minReplicas: 1
# maxReplicas: 20 maxReplicas: 20
# metrics: metrics:
# - type: Resource - type: Resource
# resource: resource:
# name: cpu name: cpu
# target: target:
# type: Utilization type: Utilization
# averageUtilization: 80 averageUtilization: 80
# #behavior: #behavior:
# # scaleDown: # scaleDown:
# # stabilizationWindowSeconds: 30 # stabilizationWindowSeconds: 30
...@@ -70,25 +70,25 @@ spec: ...@@ -70,25 +70,25 @@ spec:
protocol: TCP protocol: TCP
port: 9192 port: 9192
targetPort: 9192 targetPort: 9192
#--- ---
#apiVersion: autoscaling/v2 apiVersion: autoscaling/v2
#kind: HorizontalPodAutoscaler kind: HorizontalPodAutoscaler
#metadata: metadata:
# name: serviceservice-hpa name: serviceservice-hpa
#spec: spec:
# scaleTargetRef: scaleTargetRef:
# apiVersion: apps/v1 apiVersion: apps/v1
# kind: Deployment kind: Deployment
# name: serviceservice name: serviceservice
# minReplicas: 1 minReplicas: 1
# maxReplicas: 20 maxReplicas: 20
# metrics: metrics:
# - type: Resource - type: Resource
# resource: resource:
# name: cpu name: cpu
# target: target:
# type: Utilization type: Utilization
# averageUtilization: 80 averageUtilization: 80
# #behavior: #behavior:
# # scaleDown: # scaleDown:
# # stabilizationWindowSeconds: 30 # stabilizationWindowSeconds: 30
...@@ -75,25 +75,25 @@ spec: ...@@ -75,25 +75,25 @@ spec:
protocol: TCP protocol: TCP
port: 9192 port: 9192
targetPort: 9192 targetPort: 9192
#--- ---
#apiVersion: autoscaling/v2 apiVersion: autoscaling/v2
#kind: HorizontalPodAutoscaler kind: HorizontalPodAutoscaler
#metadata: metadata:
# name: sliceservice-hpa name: sliceservice-hpa
#spec: spec:
# scaleTargetRef: scaleTargetRef:
# apiVersion: apps/v1 apiVersion: apps/v1
# kind: Deployment kind: Deployment
# name: sliceservice name: sliceservice
# minReplicas: 1 minReplicas: 1
# maxReplicas: 20 maxReplicas: 20
# metrics: metrics:
# - type: Resource - type: Resource
# resource: resource:
# name: cpu name: cpu
# target: target:
# type: Utilization type: Utilization
# averageUtilization: 80 averageUtilization: 80
# #behavior: #behavior:
# # scaleDown: # scaleDown:
# # stabilizationWindowSeconds: 30 # stabilizationWindowSeconds: 30
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