Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/purwandi/istio
Bring your own existing grafana and prometheus when installing istio.
https://github.com/purwandi/istio
grafana istio prometheus service-mesh
Last synced: 11 days ago
JSON representation
Bring your own existing grafana and prometheus when installing istio.
- Host: GitHub
- URL: https://github.com/purwandi/istio
- Owner: purwandi
- Created: 2020-07-25T14:16:47.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-13T09:30:29.000Z (almost 2 years ago)
- Last Synced: 2024-10-08T07:04:10.828Z (30 days ago)
- Topics: grafana, istio, prometheus, service-mesh
- Language: Smarty
- Homepage:
- Size: 487 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Instal Istio
TLDR, istio is open platform to create service mesh in your microservice.
## About
About this project is to simulate to installing istio using your own existing
grafana and prometheus.## Why?
It's very hard to manually install grafana and prometheus because the istio website
lack documentation about to installing and configuring individual addons component## Installing
**Dump Istio Profile**
```sh
istioctl profile dump demo > istio-dump.yaml
```**Edit yaml file**
Edit `istio-dump.yaml` to disable grafana and prometheus component
```yaml
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
spec:
addonComponents:
grafana:
enabled: false
k8s:
replicaCount: 1
istiocoredns:
enabled: false
kiali:
enabled: true
k8s:
replicaCount: 1
prometheus:
enabled: false
k8s:
replicaCount: 1
tracing:
enabled: true
```Before
istioctl profile dump demo
istioctl manifest apply -f istio-dump.yaml \
--set values.kiali.prometheusAddr="http://prometheus-server" \
--set values.kiali.dashboard.grafanaURL="http://grafana"istioctl manifest apply -f istio-dump.yaml \
--set values.kiali.dashboard.grafanaURL="http://grafana"istioctl manifest apply -f istio-dump.yaml \
--set values.kiali.prometheusAddr="http://prometheus-server.default" \
--set values.kiali.dashboard.grafanaURL="http://grafana.default"istioctl manifest generate -f istio-dump.yaml | kubectl delete -f -
https://istiobyexample.dev/prometheus/#:~:text=Istio%20By%20Example-,Bring%20Your%20Own%20Prometheus,and%20your%20Envoy%2Dinjected%20workloads.
helm fetch stable/prometheus --version 9.1.2 --untar
helm upgrade prometheus ./helm-charts/prometheus --values ./helm-charts/prometheus/values-istio.yaml --install --namespace istio-system --debug