Skip to content
Snippets Groups Projects
Commit 092e5337 authored by Taif Kurji's avatar Taif Kurji
Browse files

Update file .gitlab-ci.yml

parent 85087e44
No related branches found
No related tags found
No related merge requests found
...@@ -92,16 +92,16 @@ kube_deploy: ...@@ -92,16 +92,16 @@ kube_deploy:
value: http://squid-proxy.kube-system.svc:3128/ value: http://squid-proxy.kube-system.svc:3128/
- name: https_proxy - name: https_proxy
value: http://squid-proxy.kube-system.svc:3128/ 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 image: $CI_REGISTRY_IMAGE:latest
imagePullPolicy: Always imagePullPolicy: Always
name: ${CI_PROJECT_PATH_SLUG} name: ${CI_PROJECT_PATH_SLUG}
ports: ports:
- containerPort: 3000 - containerPort: 5000
protocol: TCP protocol: TCP
readinessProbe: readinessProbe:
tcpSocket: tcpSocket:
port: 3000 port: 5000
resources: resources:
limits: limits:
cpu: 100m cpu: 100m
...@@ -123,7 +123,7 @@ kube_deploy: ...@@ -123,7 +123,7 @@ kube_deploy:
- name: web - name: web
port: 80 port: 80
protocol: TCP protocol: TCP
targetPort: 3000 targetPort: 5000
selector: selector:
app: ${CI_PROJECT_PATH_SLUG} app: ${CI_PROJECT_PATH_SLUG}
type: ClusterIP type: ClusterIP
......
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