model-service/k8s/deployment.yaml

30 lines
580 B
YAML
Raw Normal View History

2020-04-14 13:01:10 +02:00
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:
2020-08-02 17:29:02 +02:00
- image: registry.kmlabz.com/birbnetes/model-service
2020-04-14 13:01:10 +02:00
name: model-service
envFrom:
- configMapRef:
name: model-service
ports:
- containerPort: 8000
imagePullSecrets:
2020-08-02 17:29:02 +02:00
- name: regcred