Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pump, Cedric
lab-tracing
Commits
c3305053
Commit
c3305053
authored
Mar 06, 2021
by
Nane Kratzke
Browse files
Added Kibana
parent
ac3649ec
Changes
4
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
c3305053
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
...
...
deploy/hiphop-deploy+svc.yaml
View file @
c3305053
...
...
@@ -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
...
...
deploy/space-deploy+svc.yaml
View file @
c3305053
...
...
@@ -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
...
...
deploy/tracing.yaml
deleted
100644 → 0
View file @
ac3649ec
apiVersion
:
jaegertracing.io/v1
kind
:
Jaeger
metadata
:
name
:
tracing
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment