Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1016 Bytes

File metadata and controls

35 lines (25 loc) · 1016 Bytes

Canary Rollout with Cilium

Prerequisites

# Enable Cluster Mesh on each cluster
cilium clustermesh enable
cilium clustermesh status

# Connect the clusters, only one direction is required
# From cluster 01 to cluster 02
cilium clustermesh connect --destination-context aks-cilium-demo-02

# Install Fred application to namespace fred
kubectl apply -f ./files/cluster01-fred.yaml --context aks-cilium-demo-01

# Install Fred v2 services on cluster 01
kubectl apply -f ./files/cluster01-fredv2.yaml --context aks-cilium-demo-01

# Install Fred v2 app with API backend to namespace fred on cluster 02
kubectl apply -f ./files/cluster02-fredv2.yaml --context aks-cilium-demo-02

# Install Gateway API config
kubectl apply -f ./files/gateway.yaml --context aks-cilium-demo-01

Demo

# Adjust backend weights to distribute traffic to the services
kubectl apply -f ./files/gateway.yaml --context aks-cilium-demo-01

# Access URL to verify traffic distribution
http://fred.philipwelz.com/