- install docker and minikube.... should not be that hard Note with minikube dashboard in an extra terminal one can see what's going on in the minikube cluster (rancher like but I want a local Rancher so on we go)
from https://rancher.com/quick-start/
sudo docker run -d --restart=unless-stopped -p 80:80 -p 443:443 rancher/rancher
Note make sure port 80 and 443 are free
goto https://localhost, set a password.
- NOT sure what to set as Rancher Server URL... maybe host.minikube.internal ?!!?1
- Add Cluster, Import, name: minikube
- copy the curl line and change host.minikube.internal to localhost curl --insecure -sfL https://host.minikube.internal/v3/import/rqvnzk6xhpm5ksdr4hhtnlffc5s2zcrwr4dqqkpxhdc76rnvf75bn9.yaml >test.yaml
- edit the test.yaml , replace extensions/v1beta1 with apps/v1 rbac.authorization.k8s.io/v1beta1 with rbac.authorization.k8s.io/v1 localhost with host.minikube.internal
- then kubectl apply -f test.yaml should run without errors
Ok does not work to be continued....
The author does not allow comments to this entry
No comments