Skip to content

Add Prometheus, Grafana and ServiceGraph#27

Merged
andraxylia merged 5 commits intomasterfrom
k8s_demo
Mar 8, 2017
Merged

Add Prometheus, Grafana and ServiceGraph#27
andraxylia merged 5 commits intomasterfrom
k8s_demo

Conversation

@andraxylia
Copy link
Copy Markdown
Contributor

@andraxylia andraxylia commented Mar 7, 2017

This change is Reviewable

@andraxylia andraxylia changed the title Add Prometheus and Grafana Add Prometheus, Grafana and ServiceGraph Mar 7, 2017
@andraxylia andraxylia requested a review from douglas-reid March 7, 2017 02:36
Copy link
Copy Markdown
Contributor

@douglas-reid douglas-reid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This mostly looks good to me. Curious about just pushing a new grafana image to save the ENV setting here.


View the graph json data and image at:

http://<servicegraph-svc-external-IP>:8088/graph?time_horizon=600s
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not blocking: if you want, you could also use 10m instead of 600s.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

spec:
containers:
- name: grafana
image: gcr.io/istio-testing/grafana:demo
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not blocking: we should consider pushing a new version that has the ENV settings to ease demo validation.

volumes:
- name: grafana-data
emptyDir: {}
--- No newline at end of file
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: you may want to add a newline at the end of this file.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

env:
- name: GRAFANA_PORT
value: "3000"
- name: GF_AUTH_BASIC_ENABLED
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see comment above about a new image for grafana.

- name: config-volume
configMap:
name: prometheus
--- No newline at end of file
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: add newline at end of file.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

kubectl apply -f ./istio -n <ns>

This will deploy istio discovery manager and istio mixer.
This will deploy istio manager discovery and istio mixer.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a question that always pops up - would be nice to avoid using LoadBalancer since minikube doesn't support on.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Contributor

@kyessenov kyessenov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rshriram
Copy link
Copy Markdown
Member

rshriram commented Mar 8, 2017

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. :)

@andraxylia andraxylia merged commit f2abe22 into master Mar 8, 2017
rshriram pushed a commit that referenced this pull request Oct 30, 2017
Add Prometheus, Grafana and ServiceGraph

Former-commit-id: f2abe22
mandarjog pushed a commit that referenced this pull request Oct 31, 2017
…rt (#27)

* Add SecretController that watches service accounts to create key & cert

This is the first commit towards #3 .

* Add copyright headers
mandarjog pushed a commit that referenced this pull request Oct 31, 2017
* Introduce service tags

* Define service discovery interface
mandarjog pushed a commit that referenced this pull request Nov 2, 2017
…rt (#27)

* Add SecretController that watches service accounts to create key & cert

This is the first commit towards #3 .

* Add copyright headers
mandarjog pushed a commit that referenced this pull request Nov 2, 2017
Add Prometheus, Grafana and ServiceGraph

Former-commit-id: f2abe22
rajusharma pushed a commit to rajusharma/istio that referenced this pull request Jul 2, 2019
vikaschoudhary16 pushed a commit to vikaschoudhary16/istio that referenced this pull request Oct 11, 2019
howardjohn pushed a commit to howardjohn/istio that referenced this pull request Jan 12, 2020
howardjohn pushed a commit to howardjohn/istio that referenced this pull request Jan 12, 2020
* 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
brian-avery pushed a commit that referenced this pull request Jun 30, 2020
istio-testing pushed a commit that referenced this pull request Jul 2, 2020
* update Envoy sha (#25)

* update Envoy sha

* update sha again

* Bump base image (#27)

* Update proxy sha

Co-authored-by: Yangmin Zhu <[email protected]>
Co-authored-by: Eric Van Norman <[email protected]>
@LugiaChang LugiaChang mentioned this pull request Sep 19, 2022
16 tasks
@pavan359t pavan359t mentioned this pull request Sep 6, 2024
2 tasks
luksa pushed a commit to luksa/istio that referenced this pull request Oct 14, 2024
)

* Push distroless images when helm test are executed

* Update integ-suite-ocp.sh to use variant
johnlanni pushed a commit to johnlanni/istio that referenced this pull request Jun 17, 2025
dgn pushed a commit to dgn/istio that referenced this pull request Jun 24, 2025
)

* Push distroless images when helm test are executed

* Update integ-suite-ocp.sh to use variant
cam-garrison pushed a commit to cam-garrison/istio that referenced this pull request Oct 29, 2025
)

* Push distroless images when helm test are executed

* Update integ-suite-ocp.sh to use variant
cam-garrison pushed a commit to cam-garrison/istio that referenced this pull request Jan 20, 2026
)

* Push distroless images when helm test are executed

* Update integ-suite-ocp.sh to use variant
dgn pushed a commit to dgn/istio that referenced this pull request Feb 17, 2026
)

* Push distroless images when helm test are executed

* Update integ-suite-ocp.sh to use variant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants