4
0

added k8s stuff
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-04-20 23:08:20 +02:00
parent 57a46dc259
commit 4381aaa6b2
3 changed files with 58 additions and 0 deletions

29
k8s/deployment.yaml Normal file
View File

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