From 7ceab3f641d3b60b6e4121e5764f1d83ce3e87ed Mon Sep 17 00:00:00 2001 From: Sonja Happ <sonja.happ@eonerc.rwth-aachen.de> Date: Fri, 20 Mar 2020 15:31:15 +0100 Subject: [PATCH] Update frontend-new deployment: Docker image tag and container port --- kubernetes/frontend-new-deployment.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/kubernetes/frontend-new-deployment.yaml b/kubernetes/frontend-new-deployment.yaml index 2e05097..74242bf 100644 --- a/kubernetes/frontend-new-deployment.yaml +++ b/kubernetes/frontend-new-deployment.yaml @@ -17,14 +17,19 @@ spec: app.kubernetes.io/part-of: villas-web spec: containers: - - image: registry.git.rwth-aachen.de/acs/public/villas/web:latest + - image: registry.git.rwth-aachen.de/acs/public/villas/web:6f3cbf27 name: frontend-new ports: - - name: http - containerPort: 80 + - containerPort: 5000 + name: http + protocol: TCP livenessProbe: + failureThreshold: 3 httpGet: path: / port: 80 + scheme: HTTP initialDelaySeconds: 3 periodSeconds: 3 + successThreshold: 1 + timeoutSeconds: 1 -- GitLab