4
0

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

This commit is contained in:
2020-04-19 21:53:30 +02:00
parent 8180ec45d6
commit 432e9cc0f6
3 changed files with 50 additions and 0 deletions

27
k8s/deployment.yaml Normal file
View File

@@ -0,0 +1,27 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: extractor-service
namespace: birbnetes
labels:
app: extractor-service
spec:
replicas: 1
selector:
matchLabels:
app: extractor-service
strategy:
type: Recreate
template:
metadata:
labels:
app: extractor-service
spec:
containers:
- image: registry.kmlabz.com/tormakris/extractor-service
name: extractor-service
envFrom:
- configMapRef:
name: extractor-service
imagePullSecrets:
- name: regcred