This commit is contained in:
parent
8180ec45d6
commit
432e9cc0f6
12
k8s/configmap.yaml
Normal file
12
k8s/configmap.yaml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
name: model-service
|
||||||
|
labels:
|
||||||
|
app: model-service
|
||||||
|
namespace: birbnetes
|
||||||
|
data:
|
||||||
|
SENTRY_DSN: https://6d243347cf9f4fc6a54759c3eb34e864@sentry.kmlabz.com/8
|
||||||
|
RELEASE_ID: luna-k8s
|
||||||
|
RELEASEMODE: release
|
||||||
|
PIKA_URL: amqp://user:1wZVQnP5vy@birb-rabbitmq:5672/
|
27
k8s/deployment.yaml
Normal file
27
k8s/deployment.yaml
Normal 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
|
11
k8s/service.yaml
Normal file
11
k8s/service.yaml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: extractor-service
|
||||||
|
namespace: birbnetes
|
||||||
|
labels:
|
||||||
|
app: extractor-service
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app: extractor-service
|
||||||
|
type: ClusterIP
|
Reference in New Issue
Block a user