Coder Social home page Coder Social logo

istio-research's Introduction

Create cluster:

kind create cluster --config ./kind-config.yaml

(Optional) Label 2 worker node:

kubectl label node istio-testing-worker node-role.kubernetes.io/worker=worker1
kubectl label node istio-testing-worker2 node-role.kubernetes.io/worker=worker2

Install istio:

istioctl install --set profile=demo -y

Inject label:

kubectl label namespace default istio-injection=enabled

Check for istio health:

istioctl analyze

Install prometheus:

kubectl apply -f prometheus.yaml

Install Kiali:

kubectl apply -f kiali.yaml
kubectl apply -f kiali-ingress.yaml

Install Jeager:

kubectl apply -f jaeger.yaml

Install BookInfo:

kubectl apply -l version!=v2,version!=v3 -f booking.yaml

Install productpage gateway:

kubectl apply -f booking-gateway.yaml

Install Sleep (used to call other service):

kubectl apply -f sleep.yaml

Apply Destination rules:

kubectl apply -f destination.yaml

Apply request routing:

kubectl apply -f traffic-control-v1.yaml

Apply request routing to v2 (with jason username):

kubectl apply -f traffic-control-v2.yaml

Sleep gọi review:

kubectl exec $(kubectl get pod -l app=sleep -o jsonpath='{.items[0].metadata.name}') -- curl -sS http://reviews:9080/reviews/7

Sleep gọi productpage:

kubectl exec $(kubectl get pod -l app=sleep -o jsonpath='{.items[0].metadata.name}') -c sleep -- curl -sS productpage:9080/productpage | grep -o "<title>.*</title>"

istio-research's People

Contributors

duyndh avatar

Watchers

James Cloos avatar  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.