Updated pv-gas-deployment.yaml with new image tag V5
parent
4b602e012a
commit
310c66f4b3
|
@ -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: "30009"
|
||||
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: "30009"
|
||||
kompose.service.nodeport: "30001"
|
||||
kompose.service.type: NodePort
|
||||
kompose.version: 1.34.0 (cbf2835db)
|
||||
labels:
|
||||
|
@ -32,15 +34,15 @@ 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/paisavara-gas: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-gas:V5
|
||||
name: pv-gas
|
||||
ports:
|
||||
- containerPort: 8000
|
||||
protocol: TCP
|
||||
volumeMounts:
|
||||
- mountPath: /pv-gas
|
||||
name: pv-gas-cm0
|
||||
name: pv-invoice-cm0
|
||||
restartPolicy: Always
|
||||
volumes:
|
||||
- configMap:
|
||||
|
|
Loading…
Reference in New Issue