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

Manifests:

- Corrected limits and replicas of compute and webui components
parent 8d8e6f53
No related branches found
No related tags found
2 merge requests!142Release TeraFlowSDN 2.1,!71OFC'23 + IETF L2VPN Device Driver + Device Controllers + Multiple small improvements
...@@ -20,6 +20,7 @@ spec: ...@@ -20,6 +20,7 @@ spec:
selector: selector:
matchLabels: matchLabels:
app: computeservice app: computeservice
replicas: 1
template: template:
metadata: metadata:
labels: labels:
...@@ -44,16 +45,18 @@ spec: ...@@ -44,16 +45,18 @@ spec:
command: ["/bin/grpc_health_probe", "-addr=:9090"] command: ["/bin/grpc_health_probe", "-addr=:9090"]
resources: resources:
requests: requests:
cpu: 250m cpu: 50m
memory: 512Mi memory: 64Mi
limits: limits:
cpu: 700m cpu: 500m
memory: 1024Mi memory: 512Mi
--- ---
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: computeservice name: computeservice
labels:
app: computeservice
spec: spec:
type: ClusterIP type: ClusterIP
selector: selector:
......
...@@ -20,6 +20,7 @@ spec: ...@@ -20,6 +20,7 @@ spec:
selector: selector:
matchLabels: matchLabels:
app: webuiservice app: webuiservice
replicas: 1
template: template:
metadata: metadata:
labels: labels:
...@@ -55,11 +56,11 @@ spec: ...@@ -55,11 +56,11 @@ spec:
timeoutSeconds: 1 timeoutSeconds: 1
resources: resources:
requests: requests:
cpu: 100m cpu: 50m
memory: 512Mi memory: 64Mi
limits: limits:
cpu: 700m cpu: 500m
memory: 1024Mi memory: 512Mi
- name: grafana - name: grafana
image: grafana/grafana:8.5.11 image: grafana/grafana:8.5.11
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
...@@ -92,16 +93,18 @@ spec: ...@@ -92,16 +93,18 @@ spec:
timeoutSeconds: 1 timeoutSeconds: 1
resources: resources:
requests: requests:
cpu: 250m cpu: 150m
memory: 750Mi memory: 512Mi
limits: limits:
cpu: 700m cpu: 500m
memory: 1024Mi memory: 1024Mi
--- ---
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: webuiservice name: webuiservice
labels:
app: webuiservice
spec: spec:
type: ClusterIP type: ClusterIP
selector: selector:
......
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