Updated pv-lottery-deployment.yaml with new image tag V2
parent
310c66f4b3
commit
94efe19da0
|
@ -1,10 +1,12 @@
|
||||||
|
|
||||||
|
# Updated section with the new image tag
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
||||||
kompose.service.expose: "true"
|
kompose.service.expose: "true"
|
||||||
kompose.service.nodeport: "30008"
|
kompose.service.nodeport: "30001"
|
||||||
kompose.service.type: NodePort
|
kompose.service.type: NodePort
|
||||||
kompose.version: 1.34.0 (cbf2835db)
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
labels:
|
labels:
|
||||||
|
@ -22,7 +24,7 @@ spec:
|
||||||
annotations:
|
annotations:
|
||||||
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
||||||
kompose.service.expose: "true"
|
kompose.service.expose: "true"
|
||||||
kompose.service.nodeport: "30008"
|
kompose.service.nodeport: "30001"
|
||||||
kompose.service.type: NodePort
|
kompose.service.type: NodePort
|
||||||
kompose.version: 1.34.0 (cbf2835db)
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
labels:
|
labels:
|
||||||
|
@ -32,8 +34,8 @@ spec:
|
||||||
- args:
|
- args:
|
||||||
- bash
|
- bash
|
||||||
- -c
|
- -c
|
||||||
- python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000
|
- python manage.py makemigrations --merge && python manage.py migrate && python manage.py runserver 0.0.0.0:8000
|
||||||
image: 147.79.66.211:3000/docker/pv-lottery:v20
|
image: 147.79.66.211:3000/docker/paisavara-lottery:V2
|
||||||
name: pv-lottery
|
name: pv-lottery
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8000
|
- containerPort: 8000
|
||||||
|
|
Loading…
Reference in New Issue