Skip to content
Snippets Groups Projects
Commit 8a903f55 authored by Francisco-Javier Moreno-Muro's avatar Francisco-Javier Moreno-Muro
Browse files

Rebased from Policy: Fix kubernetes service manifest

parent dfb696f5
No related branches found
No related tags found
2 merge requests!142Release TeraFlowSDN 2.1,!66Changes in scenario2 workflow3 tests
---
apiVersion: v1
kind: Service
metadata:
......@@ -17,9 +16,6 @@ spec:
- name: grpc
port: 6060
targetPort: 6060
- name: grpc-server
port: 6060
targetPort: 6060
selector:
app.kubernetes.io/name: policyservice
type: ClusterIP
......@@ -29,7 +25,7 @@ kind: Deployment
metadata:
annotations:
app.quarkus.io/commit-id: e369fc6b4de63303f91e1fd3de0b6a591a86c0f5
app.quarkus.io/build-timestamp: 2022-11-18 - 12:56:37 +0000
app.quarkus.io/build-timestamp: 2022-11-22 - 14:10:01 +0000
labels:
app: policyservice
app.kubernetes.io/name: policyservice
......@@ -43,7 +39,7 @@ spec:
metadata:
annotations:
app.quarkus.io/commit-id: e369fc6b4de63303f91e1fd3de0b6a591a86c0f5
app.quarkus.io/build-timestamp: 2022-11-18 - 12:56:37 +0000
app.quarkus.io/build-timestamp: 2022-11-22 - 14:10:01 +0000
labels:
app: policyservice
app.kubernetes.io/name: policyservice
......@@ -56,10 +52,10 @@ spec:
fieldPath: metadata.namespace
- name: MONITORING_SERVICE_HOST
value: monitoringservice
- name: SERVICE_SERVICE_HOST
value: serviceservice
- name: CONTEXT_SERVICE_HOST
value: contextservice
- name: SERVICE_SERVICE_HOST
value: serviceservice
image: registry.gitlab.com/teraflow-h2020/controller/policy:0.1.0
imagePullPolicy: Always
livenessProbe:
......@@ -80,9 +76,6 @@ spec:
- containerPort: 6060
name: grpc
protocol: TCP
- containerPort: 6060
name: grpc-server
protocol: TCP
readinessProbe:
failureThreshold: 3
httpGet:
......@@ -92,4 +85,4 @@ spec:
initialDelaySeconds: 2
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 10
timeoutSeconds: 10
\ No newline at end of file
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