Helm

一键安装脚本

curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash

cert-manager 证书

kubectl apply --validate=false -f https://github.com/jetstack/cert-manager/releases/download/v1.0.4/cert-manager.crds.yaml
kubectl create namespace cert-manager
helm repo add jetstack https://charts.jetstack.io
helm repo update
helm install cert-manager jetstack/cert-manager --namespace cert-manager --version v1.0.4
kubectl get pods --namespace cert-manager
NAME                                       READY   STATUS    RESTARTS   AGE
cert-manager-756bb56c5-gl7j9               1/1     Running   0          87s
cert-manager-cainjector-86bc6dc648-sv897   1/1     Running   0          87s
cert-manager-webhook-66b555bb5-2q996       1/1     Running   0          87s

安装 Rancher

kubectl create namespace rancher-system
helm repo add rancher-stable https://releases.rancher.com/server-charts/stable
helm install rancher rancher-stable/rancher --namespace rancher-system --set hostname=rancher.hw.com