cd ~/apisnoop/kind
kind create cluster --config kind+apisnoop.yaml
mkdir -p ~/go/src/k8s.io
cd $_
git clone --depth 1 https://github.com/kubernetes/kubernetes.git
cd ~/
git clone https://github.com/apisnoop/ticket-writing.git
kubectl get nodes -owide
kubectl get pods -A
cd ~/go/src/k8s.io/kubernetes
grep ginkgo.It test/e2e/auth/service_accounts.go
grep framework.ConformanceIt test/e2e/auth/service_accounts.go
Check workflow document for ServiceAccountToken endpoint
kubectl get ns -w
cd ~/go/src/k8s.io/kubernetes
export KUBECONFIG=~/.kube/config
export TEST_NAME="should create a serviceAccountToken and ensure a successful TokenReview"
go test ./test/e2e -ginkgo.v -v -timeout=0 -ginkgo.focus="$TEST_NAME"
htop
Check workflow document for ServiceAccountToken endpoint