pwod

module
v0.0.0-...-2b748f3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2023 License: MIT

README

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

Directories

Path Synopsis
cmd
pwod command
pkg
app

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL