cnn-classification-service/k8s/deployment.yaml

29 lines
658 B
YAML
Raw Normal View History

2020-07-27 18:18:26 +02:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: cnn-classification-service
namespace: birbnetes
labels:
app: cnn-classification-service
spec:
replicas: 1
selector:
matchLabels:
app: cnn-classification-service
strategy:
type: Recreate
template:
metadata:
labels:
app: cnn-classification-service
spec:
containers:
- image: registry.kmlabz.com/birbnetes/cnn-classification-service
2020-08-06 14:56:05 +02:00
imagePullPolicy: Always
2020-07-27 18:18:26 +02:00
name: cnn-classification-service
envFrom:
- configMapRef:
name: cnn-classification-service
imagePullSecrets:
- name: regcred