29 lines
579 B
YAML
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
|