Skip to content

Running Rancher on minikube

  1. 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)
  2. 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

  3. goto https://localhost, set a password.

  4. NOT sure what to set as Rancher Server URL... maybe host.minikube.internal ?!!?1
  5. Add Cluster, Import, name: minikube
  6. copy the curl line and change host.minikube.internal to localhost curl --insecure -sfL https://host.minikube.internal/v3/import/rqvnzk6xhpm5ksdr4hhtnlffc5s2zcrwr4dqqkpxhdc76rnvf75bn9.yaml >test.yaml
  7. 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
  8. then kubectl apply -f test.yaml should run without errors

Ok does not work :-( to be continued....

Trackbacks

No Trackbacks

Comments

Display comments as Linear | Threaded

No comments

The author does not allow comments to this entry

Add Comment

Markdown format allowed
Standard emoticons like :-) and ;-) are converted to images.
Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

Form options