Difference between revisions of "Setting up the rancher UI"

From Define Wiki
Jump to navigation Jump to search
(Created page with "== Setting up the rancher UI == * Working with ubuntu 20.04 VM * m1.medium (but check rancher min requirements - I just went middle of the road) * verified on ubuntu 22.04 VM...")
 
(No difference)

Latest revision as of 14:35, 17 February 2023

Setting up the rancher UI

  • Working with ubuntu 20.04 VM
  • m1.medium (but check rancher min requirements - I just went middle of the road)
  • verified on ubuntu 22.04 VM
# get things updated
apt update 
apt install docker.io

Setup the rancher UI

docker run -d --restart=unless-stopped \
  -p 80:80 -p 443:443 \
  --privileged \
  rancher/rancher:latest

# give if a few minutes as the UI takes a while to start
docker logs $(docker ps | grep rancher | awk '{print $1}') 2>&1  | grep "Bootstrap Password"
2022/03/31 15:07:37 [INFO] Bootstrap Password: 4kkd7m7tm2xqsbgntwgjf8z56qzv4r8v4t68g9dhw2mnxwcjzhdzgz

Oddness - happened once but never needed to do again

# hack with coredns issue
kubectl edit cm -n kube-system coredns (edit the dns server, setup something in resolv.conf
kubectl delete pod -n kube-system coredns-<uuid> coredns-<uuid>