model-service/k8s/deployment.yaml
2020-04-14 13:01:10 +02:00

29 lines
579 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: model-service
namespace: birbnetes
labels:
app: model-service
spec:
replicas: 1
selector:
matchLabels:
app: model-service
strategy:
type: Recreate
template:
metadata:
labels:
app: model-service
spec:
containers:
- image: registry.kmlabz.com/tormakris/model-service
name: model-service
envFrom:
- configMapRef:
name: model-service
ports:
- containerPort: 8000
imagePullSecrets:
- name: regcred