FreeBSD/k8s/apps/pyserver-deployment.yml
Sharad Ahlawat 10b9cbeead .
2021-04-20 12:34:43 -07:00

22 lines
348 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: myapp
name: myapp
spec:
replicas: 1
selector:
matchLabels:
app: myapp
template:
metadata:
labels:
app: myapp
spec:
containers:
- name: myapp
image: localhost:5000/pyserver:v1
ports:
- containerPort: 8080