Updated pv-cheque-deployment.yaml with new image tag V1
parent
1792b1441c
commit
3deae32e75
|
@ -0,0 +1,50 @@
|
||||||
|
|
||||||
|
# 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: "30001"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-cheque
|
||||||
|
name: pv-cheque
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
io.kompose.service: pv-cheque
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
||||||
|
kompose.service.expose: "true"
|
||||||
|
kompose.service.nodeport: "30001"
|
||||||
|
kompose.service.type: NodePort
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: pv-cheque
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- args:
|
||||||
|
- bash
|
||||||
|
- -c
|
||||||
|
- 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-cheque:V1
|
||||||
|
name: pv-cheque
|
||||||
|
ports:
|
||||||
|
- containerPort: 8000
|
||||||
|
protocol: TCP
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /pv-cheque
|
||||||
|
name: pv-cheque-cm0
|
||||||
|
restartPolicy: Always
|
||||||
|
volumes:
|
||||||
|
- configMap:
|
||||||
|
name: pv-cheque-cm0
|
||||||
|
name: pv-cheque-cm0
|
Loading…
Reference in New Issue