From 092e5337c7a9eec438b811f2c15ba86734c25108 Mon Sep 17 00:00:00 2001 From: Taif Kurji <taiku983@student.liu.se> Date: Tue, 22 Oct 2024 14:40:56 +0000 Subject: [PATCH] Update file .gitlab-ci.yml --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7a26116..ba59848 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -92,16 +92,16 @@ kube_deploy: value: http://squid-proxy.kube-system.svc:3128/ - name: https_proxy value: http://squid-proxy.kube-system.svc:3128/ - command: ["flask", "run", "-h", "0", "-p", "3000"] + command: ["flask", "run", "-h", "0", "-p", "5000"] image: $CI_REGISTRY_IMAGE:latest imagePullPolicy: Always name: ${CI_PROJECT_PATH_SLUG} ports: - - containerPort: 3000 + - containerPort: 5000 protocol: TCP readinessProbe: tcpSocket: - port: 3000 + port: 5000 resources: limits: cpu: 100m @@ -123,7 +123,7 @@ kube_deploy: - name: web port: 80 protocol: TCP - targetPort: 3000 + targetPort: 5000 selector: app: ${CI_PROJECT_PATH_SLUG} type: ClusterIP -- GitLab