added
This commit is contained in:
23
k8s/carpool/deployment.yaml
Normal file
23
k8s/carpool/deployment.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: carpool
|
||||
labels:
|
||||
app: carpool
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: carpool
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: carpool
|
||||
spec:
|
||||
containers:
|
||||
- name: carpool
|
||||
image: cnbc-registry:5000/bee42/carpool:0.1.0
|
||||
imagePullPolicy: Always
|
||||
env:
|
||||
- name: FLASK_APP
|
||||
value: python_rest
|
||||
Reference in New Issue
Block a user