Added docker and k8s stuff

This commit is contained in:
2020-07-27 18:18:26 +02:00
parent fcef542a7c
commit a45abf5870
5 changed files with 57 additions and 1 deletions

27
k8s/deployment.yaml Normal file
View File

@@ -0,0 +1,27 @@
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