kota's memex

connecting to portainer

node port

kind delete cluster
kind create cluster
curl -L https://downloads.portainer.io/portainer-agent-ce211-k8s-nodeport.yaml -o portainer-agent-k8s.yaml; kubectl apply -f portainer-agent-k8s.yaml

Then check that the agent has actually installed:\

kubectl get pods --namespace=portainer --context kind-kind

NAME                               READY   STATUS    RESTARTS   AGE
portainer-agent-5988b5d966-bvm9m   1/1     Running   0          15m

Then get the IP address of the agent's node:

kubectl get nodes -o wide --namespace portainer --context kind-kind

Then take the IP + 30778 and enter that into portainer to connect the cluster:
172.18.0.2:30778