Add Prometheus, Grafana and ServiceGraph#27
Conversation
douglas-reid
left a comment
There was a problem hiding this comment.
This mostly looks good to me. Curious about just pushing a new grafana image to save the ENV setting here.
demos/kubernetes/README.md
Outdated
|
|
||
| View the graph json data and image at: | ||
|
|
||
| http://<servicegraph-svc-external-IP>:8088/graph?time_horizon=600s |
There was a problem hiding this comment.
not blocking: if you want, you could also use 10m instead of 600s.
| spec: | ||
| containers: | ||
| - name: grafana | ||
| image: gcr.io/istio-testing/grafana:demo |
There was a problem hiding this comment.
not blocking: we should consider pushing a new version that has the ENV settings to ease demo validation.
demos/kubernetes/grafana.yaml
Outdated
| volumes: | ||
| - name: grafana-data | ||
| emptyDir: {} | ||
| --- No newline at end of file |
There was a problem hiding this comment.
nit: you may want to add a newline at the end of this file.
| env: | ||
| - name: GRAFANA_PORT | ||
| value: "3000" | ||
| - name: GF_AUTH_BASIC_ENABLED |
There was a problem hiding this comment.
see comment above about a new image for grafana.
demos/kubernetes/prometheus.yaml
Outdated
| - name: config-volume | ||
| configMap: | ||
| name: prometheus | ||
| --- No newline at end of file |
There was a problem hiding this comment.
nit: add newline at end of file.
demos/kubernetes/README.md
Outdated
| kubectl apply -f ./istio -n <ns> | ||
|
|
||
| This will deploy istio discovery manager and istio mixer. | ||
| This will deploy istio manager discovery and istio mixer. |
There was a problem hiding this comment.
I think we can call it "discovery service". In reality, it combines what Envoy calls SDS, CDS, RDS, and in the future, LDS, which are all discovery services.
|
|
||
| Grafana custom image contains a build-in Istio-dashboard that you can access from: | ||
|
|
||
| http://<grafana-svc-external-IP>:3000/dashboard/db/istio-dashboard |
There was a problem hiding this comment.
This is a question that always pops up - would be nice to avoid using LoadBalancer since minikube doesn't support on.
There was a problem hiding this comment.
The only reason for which I used LoadBalancer is because the built-in istio-dashboard in grafana assumes direct access and not via the proxy. I added clarification in the readme file.
|
In the interest of consistency, can we try to consolidate the folders? we have demos/kubernetes/echo..., demos/apps/bookinfo.., demos/apps/helloworld[does not work]. It would be nice if we move the echo stuff into demos/apps/echo. And then get rid of helloworld simple app. The istio stuff should be one single control plane file, common to all folders (thats what we have under demos/controlplane.yaml .. This is not a blocker, but if you have the time for a cleanup, it would be worthwhile to make things consistent especially before a demo. :) |
Add Prometheus, Grafana and ServiceGraph Former-commit-id: f2abe22
* Introduce service tags * Define service discovery interface
Add Prometheus, Grafana and ServiceGraph Former-commit-id: f2abe22
Fix istio repo location
Update spm config
* Recursive directory watcher * Fix initial timer value * Lint * Add copyright * Review comments * Add the codecov setup from istio repo (istio#32) * Add the codecov setup from istio repo * Add the codecov setup from istio repo * Extend CODEOWNERS (istio#37) * Add local codecov check script (istio#23) * Add local codecov check script * Add codecov diff check script to check coverage drop * Add codecov diff check script to check coverage drop * Update common files. (istio#39) * Add build infra for proto to Go structs (istio#34) * Add build infra for proto to Go structs * Add deepcopy for gogo types used in IstioControlPlane proto * Bypass deepcopy for DynamicAny, not used * WIP * Disable deepcopy until clean solution can be found * Minor updates * add resources or certmanager. (istio#45) * Add Environment WG leads to CODEOWNERS (istio#46) * Refactoring utils (istio#40) * Refactoring utils * Lint * Copyrights * Minor cleanup * Overview of component package group (istio#27) * Config and profile samples (istio#38) * Config and profile samples * Update profiles and sample * Additional fields * Default profile comes from compiled in * Listen also for create and delete events
This change is