Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pump, Cedric
lab-tracing
Commits
893b71ee
Commit
893b71ee
authored
Dec 27, 2020
by
Nane Kratzke
Browse files
deactivate istio injection
parent
a1533ea3
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
893b71ee
...
...
@@ -40,7 +40,7 @@ hiphop:
script
:
-
kubectl apply -f deploy/tracing.yaml
-
NS=$(kubectl config view -o jsonpath="{..namespace}")
-
kubectl label ns $NS istio-injection=
en
abled --overwrite
-
kubectl label ns $NS istio-injection=
dis
abled --overwrite
-
TIER=1 mo deploy/hiphop-deploy+svc.yaml | kubectl delete -f - ||
true
-
TIER=2 mo deploy/hiphop-deploy+svc.yaml | kubectl delete -f - ||
true
-
TIER=3 mo deploy/hiphop-deploy+svc.yaml | kubectl delete -f - ||
true
...
...
hiphop/service.py
View file @
893b71ee
...
...
@@ -14,10 +14,7 @@ tier = int(os.environ.get('TIER', '1'))
app
=
Flask
(
__name__
)
config
=
Config
(
config
=
{
'sampler'
:
{
'type'
:
'const'
,
'param'
:
1
},
'sampler'
:
{
'type'
:
'const'
,
'param'
:
1
},
'logging'
:
True
,
'reporter_batch_size'
:
1
},
service_name
=
service
)
...
...
Write
Preview
Markdown
is supported
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