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 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
...@@ -17,9 +16,6 @@ spec: ...@@ -17,9 +16,6 @@ spec:
- name: grpc - name: grpc
port: 6060 port: 6060
targetPort: 6060 targetPort: 6060
- name: grpc-server
port: 6060
targetPort: 6060
selector: selector:
app.kubernetes.io/name: policyservice app.kubernetes.io/name: policyservice
type: ClusterIP type: ClusterIP
...@@ -29,7 +25,7 @@ kind: Deployment ...@@ -29,7 +25,7 @@ kind: Deployment
metadata: metadata:
annotations: annotations:
app.quarkus.io/commit-id: e369fc6b4de63303f91e1fd3de0b6a591a86c0f5 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: labels:
app: policyservice app: policyservice
app.kubernetes.io/name: policyservice app.kubernetes.io/name: policyservice
...@@ -43,7 +39,7 @@ spec: ...@@ -43,7 +39,7 @@ spec:
metadata: metadata:
annotations: annotations:
app.quarkus.io/commit-id: e369fc6b4de63303f91e1fd3de0b6a591a86c0f5 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: labels:
app: policyservice app: policyservice
app.kubernetes.io/name: policyservice app.kubernetes.io/name: policyservice
...@@ -56,10 +52,10 @@ spec: ...@@ -56,10 +52,10 @@ spec:
fieldPath: metadata.namespace fieldPath: metadata.namespace
- name: MONITORING_SERVICE_HOST - name: MONITORING_SERVICE_HOST
value: monitoringservice value: monitoringservice
- name: SERVICE_SERVICE_HOST
value: serviceservice
- name: CONTEXT_SERVICE_HOST - name: CONTEXT_SERVICE_HOST
value: contextservice value: contextservice
- name: SERVICE_SERVICE_HOST
value: serviceservice
image: registry.gitlab.com/teraflow-h2020/controller/policy:0.1.0 image: registry.gitlab.com/teraflow-h2020/controller/policy:0.1.0
imagePullPolicy: Always imagePullPolicy: Always
livenessProbe: livenessProbe:
...@@ -80,9 +76,6 @@ spec: ...@@ -80,9 +76,6 @@ spec:
- containerPort: 6060 - containerPort: 6060
name: grpc name: grpc
protocol: TCP protocol: TCP
- containerPort: 6060
name: grpc-server
protocol: TCP
readinessProbe: readinessProbe:
failureThreshold: 3 failureThreshold: 3
httpGet: httpGet:
...@@ -92,4 +85,4 @@ spec: ...@@ -92,4 +85,4 @@ spec:
initialDelaySeconds: 2 initialDelaySeconds: 2
periodSeconds: 10 periodSeconds: 10
successThreshold: 1 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