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

Merge branch 'feat/cttc-interdomain-r21' into 'develop'

Minor fixes

See merge request !131
parents 0a1ba6d4 ff3398f5
No related branches found
No related tags found
2 merge requests!142Release TeraFlowSDN 2.1,!131Minor fixes
...@@ -40,7 +40,7 @@ spec: ...@@ -40,7 +40,7 @@ spec:
- name: MB_BACKEND - name: MB_BACKEND
value: "nats" value: "nats"
- name: LOG_LEVEL - name: LOG_LEVEL
value: "DEBUG" value: "INFO"
envFrom: envFrom:
- secretRef: - secretRef:
name: crdb-data name: crdb-data
...@@ -54,7 +54,7 @@ spec: ...@@ -54,7 +54,7 @@ spec:
command: ["/bin/grpc_health_probe", "-addr=:1010"] command: ["/bin/grpc_health_probe", "-addr=:1010"]
resources: resources:
requests: requests:
cpu: 125m cpu: 250m
memory: 128Mi memory: 128Mi
limits: limits:
cpu: 1000m cpu: 1000m
...@@ -79,25 +79,25 @@ spec: ...@@ -79,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
...@@ -39,7 +39,7 @@ spec: ...@@ -39,7 +39,7 @@ spec:
- containerPort: 9192 - containerPort: 9192
env: env:
- name: LOG_LEVEL - name: LOG_LEVEL
value: "DEBUG" value: "INFO"
readinessProbe: readinessProbe:
exec: exec:
command: ["/bin/grpc_health_probe", "-addr=:2020"] command: ["/bin/grpc_health_probe", "-addr=:2020"]
...@@ -48,7 +48,7 @@ spec: ...@@ -48,7 +48,7 @@ spec:
command: ["/bin/grpc_health_probe", "-addr=:2020"] command: ["/bin/grpc_health_probe", "-addr=:2020"]
resources: resources:
requests: requests:
cpu: 125m cpu: 250m
memory: 128Mi memory: 128Mi
limits: limits:
cpu: 1000m cpu: 1000m
......
...@@ -35,7 +35,7 @@ spec: ...@@ -35,7 +35,7 @@ spec:
- containerPort: 9192 - containerPort: 9192
env: env:
- name: LOG_LEVEL - name: LOG_LEVEL
value: "DEBUG" value: "INFO"
- name: TOPOLOGY_ABSTRACTOR - name: TOPOLOGY_ABSTRACTOR
value: "DISABLE" value: "DISABLE"
readinessProbe: readinessProbe:
...@@ -46,7 +46,7 @@ spec: ...@@ -46,7 +46,7 @@ spec:
command: ["/bin/grpc_health_probe", "-addr=:10010"] command: ["/bin/grpc_health_probe", "-addr=:10010"]
resources: resources:
requests: requests:
cpu: 125m cpu: 250m
memory: 64Mi memory: 64Mi
limits: limits:
cpu: 1000m cpu: 1000m
......
...@@ -45,7 +45,7 @@ spec: ...@@ -45,7 +45,7 @@ spec:
command: ["/bin/grpc_health_probe", "-addr=:10020"] command: ["/bin/grpc_health_probe", "-addr=:10020"]
resources: resources:
requests: requests:
cpu: 125m cpu: 250m
memory: 128Mi memory: 128Mi
limits: limits:
cpu: 1000m cpu: 1000m
...@@ -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
...@@ -36,7 +36,7 @@ spec: ...@@ -36,7 +36,7 @@ spec:
- containerPort: 9192 - containerPort: 9192
env: env:
- name: LOG_LEVEL - name: LOG_LEVEL
value: "DEBUG" value: "INFO"
readinessProbe: readinessProbe:
exec: exec:
command: ["/bin/grpc_health_probe", "-addr=:3030"] command: ["/bin/grpc_health_probe", "-addr=:3030"]
...@@ -45,7 +45,7 @@ spec: ...@@ -45,7 +45,7 @@ spec:
command: ["/bin/grpc_health_probe", "-addr=:3030"] command: ["/bin/grpc_health_probe", "-addr=:3030"]
resources: resources:
requests: requests:
cpu: 125m cpu: 250m
memory: 128Mi memory: 128Mi
limits: limits:
cpu: 1000m cpu: 1000m
...@@ -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
...@@ -36,7 +36,7 @@ spec: ...@@ -36,7 +36,7 @@ spec:
- containerPort: 9192 - containerPort: 9192
env: env:
- name: LOG_LEVEL - name: LOG_LEVEL
value: "DEBUG" value: "INFO"
- name: SLICE_GROUPING - name: SLICE_GROUPING
value: "DISABLE" value: "DISABLE"
envFrom: envFrom:
...@@ -50,7 +50,7 @@ spec: ...@@ -50,7 +50,7 @@ spec:
command: ["/bin/grpc_health_probe", "-addr=:4040"] command: ["/bin/grpc_health_probe", "-addr=:4040"]
resources: resources:
requests: requests:
cpu: 125m cpu: 250m
memory: 128Mi memory: 128Mi
limits: limits:
cpu: 1000m cpu: 1000m
...@@ -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
...@@ -39,7 +39,7 @@ spec: ...@@ -39,7 +39,7 @@ spec:
- containerPort: 8004 - containerPort: 8004
env: env:
- name: LOG_LEVEL - name: LOG_LEVEL
value: "DEBUG" value: "INFO"
- name: WEBUISERVICE_SERVICE_BASEURL_HTTP - name: WEBUISERVICE_SERVICE_BASEURL_HTTP
value: "/webui/" value: "/webui/"
readinessProbe: readinessProbe:
...@@ -56,7 +56,7 @@ spec: ...@@ -56,7 +56,7 @@ spec:
timeoutSeconds: 1 timeoutSeconds: 1
resources: resources:
requests: requests:
cpu: 125m cpu: 50m
memory: 128Mi memory: 128Mi
limits: limits:
cpu: 1000m cpu: 1000m
......
#!/bin/bash #!/bin/bash
# Copyright 2022-2023 ETSI TeraFlowSDN - TFS OSG (https://tfs.etsi.org/)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
PATCH='{"data": {"10010": "tfs-dom2/interdomainservice:10010"}}' PATCH='{"data": {"10010": "tfs-dom2/interdomainservice:10010"}}'
kubectl patch configmap nginx-ingress-tcp-microk8s-conf-dom2 --namespace ingress --patch "${PATCH}" kubectl patch configmap nginx-ingress-tcp-microk8s-conf-dom2 --namespace ingress --patch "${PATCH}"
......
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