Commit c3305053 authored by Nane Kratzke's avatar Nane Kratzke
Browse files

Added Kibana

parent ac3649ec
image: "transit/kubectl-plus:v1.19.4"
variables:
TRACING_SERVER: "http://apm-apm-server.default:8200"
ES_HOST: "http://elasticsearch-master.default:9200"
stages:
- prepare
- build
- deploy
- teardown
kibana:
stage: prepare
script:
- helm repo add elastic https://helm.elastic.co
- helm install kibana elastic/kibana --set elasticsearchHosts=$ES_HOST
hiphop-container:
stage: build
image:
......@@ -51,8 +62,6 @@ space:
stage: deploy
when: manual
script:
- kubectl apply -f deploy/tracing.yaml
- NS=$(kubectl config view -o jsonpath="{..namespace}")
- kubectl label ns $NS istio-injection=disabled --overwrite
- kubectl delete -f deploy/space-deploy+svc.yaml || true
- kubectl apply -f deploy/space-deploy+svc.yaml
......@@ -61,7 +70,6 @@ hiphop:
stage: deploy
when: manual
script:
- kubectl apply -f deploy/tracing.yaml
- NS=$(kubectl config view -o jsonpath="{..namespace}")
- kubectl label ns $NS istio-injection=disabled --overwrite
- TIER=1 mo deploy/hiphop-deploy+svc.yaml | kubectl delete -f - || true
......
......@@ -31,7 +31,7 @@ spec:
- name: TIER
value: "{{ TIER }}"
- name: ELASTIC_APM_SERVER_URL
value: "http://apm-apm-server.default:8200"
value: {{ TRACING_SERVER }}
---
apiVersion: v1
kind: Service
......
......@@ -29,7 +29,7 @@ spec:
- name: SERVICE
value: "space-svc"
- name: ELASTIC_APM_SERVER_URL
value: "http://apm-apm-server.default:8200"
value: {{ TRACING_SERVER }}
---
apiVersion: v1
kind: Service
......
apiVersion: jaegertracing.io/v1
kind: Jaeger
metadata:
name: tracing
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment