Commit 8c957489 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Manifests:

- updated manifests for context, device, service, slice to expose metrics endpoint
parent e902afdf
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -45,6 +45,7 @@ spec:
        ports:
        - containerPort: 1010
        - containerPort: 8080
        - containerPort: 9192
        env:
        - name: DB_BACKEND
          value: "redis"
@@ -74,6 +75,8 @@ apiVersion: v1
kind: Service
metadata:
  name: contextservice
  labels:
    app: contextservice
spec:
  type: ClusterIP
  selector:
@@ -87,3 +90,7 @@ spec:
    protocol: TCP
    port: 8080
    targetPort: 8080
  - name: metrics
    protocol: TCP
    port: 9192
    targetPort: 9192
+8 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ spec:
  selector:
    matchLabels:
      app: deviceservice
  replicas: 1
  template:
    metadata:
      labels:
@@ -32,6 +33,7 @@ spec:
        imagePullPolicy: Always
        ports:
        - containerPort: 2020
        - containerPort: 9192
        env:
        - name: LOG_LEVEL
          value: "INFO"
@@ -53,6 +55,8 @@ apiVersion: v1
kind: Service
metadata:
  name: deviceservice
  labels:
    app: deviceservice
spec:
  type: ClusterIP
  selector:
@@ -62,3 +66,7 @@ spec:
    protocol: TCP
    port: 2020
    targetPort: 2020
  - name: metrics
    protocol: TCP
    port: 9192
    targetPort: 9192
+8 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ spec:
  selector:
    matchLabels:
      app: serviceservice
  replicas: 1
  template:
    metadata:
      labels:
@@ -32,6 +33,7 @@ spec:
        imagePullPolicy: Always
        ports:
        - containerPort: 3030
        - containerPort: 9192
        env:
        - name: LOG_LEVEL
          value: "INFO"
@@ -53,6 +55,8 @@ apiVersion: v1
kind: Service
metadata:
  name: serviceservice
  labels:
    app: serviceservice
spec:
  type: ClusterIP
  selector:
@@ -62,3 +66,7 @@ spec:
    protocol: TCP
    port: 3030
    targetPort: 3030
  - name: metrics
    protocol: TCP
    port: 9192
    targetPort: 9192
+8 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ spec:
  selector:
    matchLabels:
      app: sliceservice
  replicas: 1
  template:
    metadata:
      labels:
@@ -32,6 +33,7 @@ spec:
        imagePullPolicy: Always
        ports:
        - containerPort: 4040
        - containerPort: 9192
        env:
        - name: LOG_LEVEL
          value: "INFO"
@@ -53,6 +55,8 @@ apiVersion: v1
kind: Service
metadata:
  name: sliceservice
  labels:
    app: sliceservice
spec:
  type: ClusterIP
  selector:
@@ -62,3 +66,7 @@ spec:
    protocol: TCP
    port: 4040
    targetPort: 4040
  - name: metrics
    protocol: TCP
    port: 9192
    targetPort: 9192