-
Notifications
You must be signed in to change notification settings - Fork 479
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
install istio into openshift #36
Conversation
up to this point, I have istio 0.5.0 installing and running in locally build 3.7 i'm going to write a bookstore install script next, but that will be another PR. This is ready for merge. |
|
||
oc create -f install/kubernetes/addons/prometheus.yaml | ||
oc create -f install/kubernetes/addons/grafana.yaml | ||
oc create -f install/kubernetes/addons/servicegraph.yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No blocker tip:
I normally skip the servicegraph as it is not really necessary and in some versions doesn't deploy correctly leaving the pod in crash state.
## Workaround for servicegraph bug https://github.com/istio/issues/issues/179 | ||
oc set image deploy/servicegraph servicegraph="docker.io/istio/servicegraph:0.4.0" | ||
|
||
oc process -f https://raw.githubusercontent.com/jaegertracing/jaeger-openshift/master/all-in-one/jaeger-all-in-one-template.yml | oc create -f - | ||
|
||
oc expose svc servicegraph | ||
oc expose svc grafana | ||
oc expose svc prometheus |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Below this ones I found quite useful to resolve the route in some variables:
SERVICEGRAPH=$(oc get route servicegraph -o jsonpath='{.spec.host}{"\n"}')/dotviz
GRAFANA=$(oc get route grafana -o jsonpath='{.spec.host}{"\n"}')
etc
[hack] allow skupper demo script be able to log into OpenShift clusters view token
I still can't get prometheus to run successfully. Getting:
level=error
ts=2018-02-17T02:10:53.269935415Z
caller=main.go:323
msg="Opening storage failed"
err="mkdir data/: permission denied"