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

Manifests:

- activated Grafana in WebUI
- disabled Context debug endpoint in Ingress controller
parent c35ebb58
No related branches found
No related tags found
2 merge requests!54Release 2.0.0,!34Context Scalability extensions using CockroachDB + Removal of Stateful database inside Device + other
......@@ -22,13 +22,13 @@ spec:
name: webuiservice
port:
number: 3000
- path: /context(/|$)(.*)
pathType: Prefix
backend:
service:
name: contextservice
port:
number: 8080
#- path: /context(/|$)(.*)
# pathType: Prefix
# backend:
# service:
# name: contextservice
# port:
# number: 8080
- path: /()(restconf/.*)
pathType: Prefix
backend:
......
......@@ -60,43 +60,43 @@ spec:
limits:
cpu: 700m
memory: 1024Mi
#- name: grafana
# image: grafana/grafana:8.5.11
# imagePullPolicy: IfNotPresent
# ports:
# - containerPort: 3000
# name: http-grafana
# protocol: TCP
# env:
# - name: GF_SERVER_ROOT_URL
# value: "http://0.0.0.0:3000/grafana/"
# - name: GF_SERVER_SERVE_FROM_SUB_PATH
# value: "true"
# readinessProbe:
# failureThreshold: 3
# httpGet:
# path: /robots.txt
# port: 3000
# scheme: HTTP
# initialDelaySeconds: 10
# periodSeconds: 30
# successThreshold: 1
# timeoutSeconds: 2
# livenessProbe:
# failureThreshold: 3
# initialDelaySeconds: 30
# periodSeconds: 10
# successThreshold: 1
# tcpSocket:
# port: 3000
# timeoutSeconds: 1
# resources:
# requests:
# cpu: 250m
# memory: 750Mi
# limits:
# cpu: 700m
# memory: 1024Mi
- name: grafana
image: grafana/grafana:8.5.11
imagePullPolicy: IfNotPresent
ports:
- containerPort: 3000
name: http-grafana
protocol: TCP
env:
- name: GF_SERVER_ROOT_URL
value: "http://0.0.0.0:3000/grafana/"
- name: GF_SERVER_SERVE_FROM_SUB_PATH
value: "true"
readinessProbe:
failureThreshold: 3
httpGet:
path: /robots.txt
port: 3000
scheme: HTTP
initialDelaySeconds: 10
periodSeconds: 30
successThreshold: 1
timeoutSeconds: 2
livenessProbe:
failureThreshold: 3
initialDelaySeconds: 30
periodSeconds: 10
successThreshold: 1
tcpSocket:
port: 3000
timeoutSeconds: 1
resources:
requests:
cpu: 250m
memory: 750Mi
limits:
cpu: 700m
memory: 1024Mi
---
apiVersion: v1
kind: Service
......@@ -110,6 +110,6 @@ spec:
- name: webui
port: 8004
targetPort: 8004
#- name: grafana
# port: 3000
# targetPort: 3000
- name: grafana
port: 3000
targetPort: 3000
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