- 1. 安装cert-manager
- 2. 安装ingress-nginx
- 3. 添加rancher repo
- 4. my-values.yaml
- 5. 安装
- 6. 卸载
- 7. 使用
1. 安装cert-manager当前k8s集群是1.23.5
参考 https://blog.csdn.net/qq_38983728/article/details/103462543
2. 安装ingress-nginx参考 https://blog.csdn.net/qq_38983728/article/details/123399245
3. 添加rancher repohelm repo add rancher-stable http://rancher-mirror.oss-cn-beijing.aliyuncs.com/server-charts/stable [root@master rancher]# helm search repo rancher-stable/rancher NAME CHART VERSION APP VERSION DESCRIPTION rancher-stable/rancher 2.6.4 v2.6.4 Install Rancher Server to manage Kubernetes clu...4. my-values.yaml
cat <5. 安装my-values.yaml hostname: rancher.wanfei.wang ingress: extraAnnotations: kubernetes.io/ingress.class: "nginx" kubernetes.io/tls-acme: "true" tls: source: letsEncrypt secretName: tls-rancher-ingress letsEncrypt: email: email@126.com environment: production ingress: class: "nginx" replicas: 1 bootstrapPassword: "123456" EOF
helm install rancher rancher-stable/rancher --version 2.6.4 --no-hooks --namespace cattle-system --create-namespace -f my-values.yaml
参考官方安装 https://docs.rancher.cn/docs/rancher2.5/installation/install-rancher-on-k8s/_index
6. 卸载helm uninstall rancher -n cattle-system7. 使用
输入 https://rancher.wanfei.wang,输入上面设置的密码bootstrapPassword
设置中文



