Skip to content

Rancher

Introduction

...

Deploy By Binary

Quick Start

bash

Deploy By Container

Run On Docker

bash
docker run -d --name rancher --rm \
-p 80:80 -p 443:443 \
-e HTTP_PROXY=http://1.1.1.1:8888/ \
-e HTTPS_PROXY=http://1.1.1.1:8888/ \
--privileged rancher/rancher

# get password
docker logs rancher |grep Password

Run On Kubernetes

[[cc-k8s|deploy by kubernetes manifest]]

bash
#

[[cc-helm|deploy by helm]]

bash
# Add and update repo
helm repo add rancher-stable https://releases.rancher.com/server-charts/stable
helm repo update

# Get charts package
helm pull rancher-stable/rancher --untar
cd rancher

# Configure and run
vim values.yaml
...

helm -n cattle-system install rancher . --create-namespace

# verify
kubectl -n cattle-system get pod

Reference:

  1. Official Website
  2. Repository

Power by VitePress & Vue