Skip to content
This repository has been archived by the owner on Aug 25, 2023. It is now read-only.
/ pwod Public archive

Validating my experimental ideas for istio testing

License

Notifications You must be signed in to change notification settings

wzshiming/pwod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PWOD - Pilot WithOut Dataplane for Istio

Requirements

  • docker or podman
  • kind
  • kubectl
  • istioctl
  • kwokctl

Set up Cluster

kwokctl create cluster --runtime kind

Create Node

kubectl apply -f https://kwok.sigs.k8s.io/examples/node.yaml

Deploy Istio

istioctl install -y

Migrate Controllers to Real Node

kubectl patch deploy istiod -n istio-system --type=json -p='[{"op":"add","path":"/spec/template/spec/nodeName","value":"kwok-kwok-control-plane"}]'

Start pwod and watch the logs

kubectl port-forward svc/istiod -n istio-system 15017:443 15010:15010
go run ./cmd/pwod

Test

kubectl label namespace default istio-injection=enabled
kubectl apply -f https://raw.githubusercontent.com.zsm.io/istio/istio/master/samples/bookinfo/platform/kube/bookinfo.yaml

Clean up

kwokctl delete cluster

About

Validating my experimental ideas for istio testing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages