model-service/k8s/deployment.yaml
Pünkösd Marcell 60a5a8327d
All checks were successful
continuous-integration/drone/push Build is passing
ALWAYS
2020-08-06 15:00:47 +02:00

31 lines
612 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/birbnetes/model-service
imagePullPolicy: Always
name: model-service
envFrom:
- configMapRef:
name: model-service
ports:
- containerPort: 8000
imagePullSecrets:
- name: regcred