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
|
||||
kind: Deployment
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
||||
kompose.service.expose: "true"
|
||||
kompose.service.nodeport: "30008"
|
||||
kompose.service.nodeport: "30001"
|
||||
kompose.service.type: NodePort
|
||||
kompose.version: 1.34.0 (cbf2835db)
|
||||
labels:
|
||||
|
@ -22,7 +24,7 @@ spec:
|
|||
annotations:
|
||||
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
||||
kompose.service.expose: "true"
|
||||
kompose.service.nodeport: "30008"
|
||||
kompose.service.nodeport: "30001"
|
||||
kompose.service.type: NodePort
|
||||
kompose.version: 1.34.0 (cbf2835db)
|
||||
labels:
|
||||
|
@ -32,8 +34,8 @@ spec:
|
|||
- args:
|
||||
- bash
|
||||
- -c
|
||||
- python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000
|
||||
image: 147.79.66.211:3000/docker/pv-lottery:v20
|
||||
- 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/paisavara-lottery:V2
|
||||
name: pv-lottery
|
||||
ports:
|
||||
- containerPort: 8000
|
||||
|
|
Loading…
Reference in New Issue