Coder Social home page Coder Social logo

purwandi / istio Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 499 KB

Bring your own existing grafana and prometheus when installing istio.

Dockerfile 2.91% Go 13.15% Shell 4.32% TypeScript 4.23% HTML 3.32% Smarty 72.06%
istio grafana prometheus service-mesh

istio's Introduction

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

istioctl profile dump demo > istio-dump.yaml

Edit yaml file

Edit istio-dump.yaml to disable grafana and prometheus component

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

istio's People

Contributors

purwandi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.