FreeBSD/k8s/apps/pyserver-deployment.yml

22 lines
348 B
YAML
Raw Permalink Normal View History

2021-04-20 12:34:43 -07:00
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