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