Update 'k3os/install/rancher.txt'

This commit is contained in:
2025-10-31 17:01:57 +00:00
parent 2549619b14
commit 77435b0ebc

17
k3os/install/rancher.txt Normal file
View File

@@ -0,0 +1,17 @@
PREREQUISITE: Helm
helm repo add rancher-stable https://releases.rancher.com/server-charts/stable
cp /etc/rancher/k3s/k3s.yaml ~/.kube/config
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/latest/download/cert-manager.crds.yaml
helm repo add jetstack https://charts.jetstack.io
helm repo update
helm install cert-manager jetstack/cert-manager --namespace cert-manager --create-namespace --set installCRDs=false
kubectl create ns cattle-system
helm install rancher rancher-stable/rancher --namespace cattle-system --set hostname=<hostname> --set bootstrapPassword=<password>