This commit is contained in:
parent
7ca9f50af2
commit
07834e53fe
15
k8s/configmap.yaml
Normal file
15
k8s/configmap.yaml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
name: storage-service-feeder
|
||||||
|
labels:
|
||||||
|
app: storage-service-feeder
|
||||||
|
namespace: birbnetes
|
||||||
|
data:
|
||||||
|
SENTRY_DSN:
|
||||||
|
RELEASE_ID: kmlabz-k8s
|
||||||
|
INPUT_SERVICE_RELEASEMODE: release
|
||||||
|
PIKA_URL: "amqp://user:ZgCiSiSO8t@birb-rabbitmq:5672/?heartbeat=30&connection_attempts=5&socket_timeout=5"
|
||||||
|
REDIS_URL: "redis://input-redis:6379/0"
|
||||||
|
PIKA_SAMPLE_CACHE_EXCHANGE: "sample-cache"
|
||||||
|
STORAGE_SERVICE_URL: "http://storage-service/"
|
50
k8s/deployment.yaml
Normal file
50
k8s/deployment.yaml
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: storage-service-feeder
|
||||||
|
namespace: birbnetes
|
||||||
|
labels:
|
||||||
|
app: storage-service-feeder
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: storage-service-feeder
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: storage-service-feeder
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: storage-service-feeder
|
||||||
|
image: registry.kmlabz.com/birbnetes/storage-service-feeder
|
||||||
|
imagePullPolicy: Always
|
||||||
|
envFrom:
|
||||||
|
- configMapRef:
|
||||||
|
name: storage-service-feeder
|
||||||
|
- name: jaeger-agent
|
||||||
|
image: jaegertracing/jaeger-agent:latest
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
ports:
|
||||||
|
- containerPort: 5775
|
||||||
|
name: zk-compact-trft
|
||||||
|
protocol: UDP
|
||||||
|
- containerPort: 5778
|
||||||
|
name: config-rest
|
||||||
|
protocol: TCP
|
||||||
|
- containerPort: 6831
|
||||||
|
name: jg-compact-trft
|
||||||
|
protocol: UDP
|
||||||
|
- containerPort: 6832
|
||||||
|
name: jg-binary-trft
|
||||||
|
protocol: UDP
|
||||||
|
- containerPort: 14271
|
||||||
|
name: admin-http
|
||||||
|
protocol: TCP
|
||||||
|
args:
|
||||||
|
- --reporter.grpc.host-port=dns:///woolsey.tormakristof.eu:14250
|
||||||
|
- --reporter.type=grpc
|
||||||
|
imagePullSecrets:
|
||||||
|
- name: regcred
|
Loading…
Reference in New Issue
Block a user