File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6969
7070function install_k3s_server {
7171 pre_install_k3s
72- INSTALL_K3S_EXEC=" server ${INSTALL_K3S_EXEC} --flannel-backend=none --disable=traefik --disable=servicelb --cluster-cidr=10.233.0.0/16"
72+ INSTALL_K3S_EXEC=" server ${INSTALL_K3S_EXEC} --flannel-backend=none --disable=traefik --disable=local-storage --disable= servicelb --cluster-cidr=10.233.0.0/16"
7373 if [[ -z " ${K3S_URL} " ]] ; then
7474 INSTALL_K3S_EXEC=" $INSTALL_K3S_EXEC --cluster-init"
7575 fi
103103}
104104
105105function install_longhorn {
106- kubectl patch storageclass local-path -p ' {"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"false"}}}'
107106 helm install longhorn drycc/longhorn --create-namespace \
108107 --set persistence.defaultClass=true \
109108 --set persistence.defaultClassReplicaCount=1 \
You can’t perform that action at this time.
0 commit comments