Skip to content

seanlee10/service-mesh-hands-on

Repository files navigation

service-mesh-hands-on

Prerequisite

# Create EKS Cluster
eksctl create cluster -f eksctl/cluster.yaml

# Create Kubeconfig
aws eks update-kubeconfig --name ###CLUSTER_NAME### --region ap-northeast-2 --role-arn ###IAM_ROLE_ARN###
  • Sample App
kubectl apply -f color-service.yaml

Istio

Did you know? Istio means "Sail" in Greek

1. Install Istio using default profile

istioctl install --set profile=default -y 

2. Enable Sidecar injection and Install AddOns

# Enable sidecar injection
kubectl label namespace default istio-injection=enabled

# Prometheus
kubectl apply -f https://raw.githubusercontent.com/istio/istio/master/samples/addons/prometheus.yaml

# Grafana
kubectl apply -f https://raw.githubusercontent.com/istio/istio/master/samples/addons/grafana.yaml

# Jaeger
kubectl apply -f https://raw.githubusercontent.com/istio/istio/master/samples/addons/jaeger.yaml

# Kiali
kubectl apply -f https://raw.githubusercontent.com/istio/istio/master/samples/addons/kiali.yaml

3. Install Gateway

kubectl apply -f istio/01_gateway.yaml

4. Install VirtualService

kubectl apply -f istio/02_virtualservice.yaml

5. Install Ingress

kubectl apply -f istio/03_ingress.yaml

6. Test Traffic Routing

while sleep 2; do curl ###YOUR_ALB_DNS_NAME###; done

AWS App Mesh

https://docs.aws.amazon.com/app-mesh/latest/userguide/getting-started-kubernetes.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published