cnn-classification-service/k8s/deployment.yaml

28 lines
626 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
name: cnn-classification-service
envFrom:
- configMapRef:
name: cnn-classification-service
imagePullSecrets:
- name: regcred