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