Skip to content

Instantly share code, notes, and snippets.

@thiagoeh
Last active April 3, 2020 21:32
Show Gist options
  • Select an option

  • Save thiagoeh/85c187944fb7e7bd6a4d3069c4eeb12d to your computer and use it in GitHub Desktop.

Select an option

Save thiagoeh/85c187944fb7e7bd6a4d3069c4eeb12d to your computer and use it in GitHub Desktop.
Rancher demo with Huawei CCE
# https://rancher.com/docs/rancher/v2.x/en/installation
## https://rancher.com/docs/rancher/v2.x/en/installation/other-installation-methods/single-node-docker
putty root@rancher-lab-huaweibr.mooo.com
######
curl -fsSL https://get.docker.com | sh && systemctl start docker
docker run -d --restart=unless-stopped \
-p 80:80 -p 443:443 \
rancher/rancher:latest \
--acme-domain rancher-lab-huaweibr.mooo.com
# https://rancher-lab-huaweibr.mooo.com/g/apps/catalog/cattle-global-data:library-wordpress
## https://rancher-lab-huaweibr.mooo.com
# https://kubernetes.io/docs/tasks/tools/install-kubectl
curl -LO https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/linux/amd64/kubectl
chmod +x kubectl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment