4242 k3s_install_url=" https://get.k3s.io"
4343fi
4444if [[ -z " ${K3S_URL} " ]] ; then
45- INSTALL_K3S_EXEC=" server --cluster-cidr=10.233.0.0/16"
45+ INSTALL_K3S_EXEC=" server --no-flannel -- cluster-cidr=10.233.0.0/16"
4646else
47- INSTALL_K3S_EXEC=" agent"
47+ INSTALL_K3S_EXEC=" agent --no-flannel "
4848fi
4949
5050alias install-k3s=" curl -sfL " ${k3s_install_url} " | sh - $@ "
@@ -53,12 +53,14 @@ install-k3s
5353
5454curl -sfL https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash -
5555
56+ helm repo add cilium https://helm.cilium.io/
5657helm repo add longhorn https://charts.longhorn.io
5758helm repo add jetstack https://charts.jetstack.io
5859helm repo add svc-cat https://kubernetes-sigs.github.io/service-catalog
5960helm repo add drycc https://charts.drycc.cc/${CHANNEL:- stable}
6061helm repo update
6162
63+ helm install cilium --set operator.replicas=1 --set cni.chainingMode=portmap cilium/cilium --namespace kube-system
6264helm install longhorn --create-namespace --set persistence.defaultClass=false --set persistence.defaultClassReplicaCount=1 longhorn/longhorn --namespace longhorn-system
6365helm install cert-manager jetstack/cert-manager --namespace cert-manager --create-namespace --set installCRDs=true
6466helm install catalog svc-cat/catalog --set asyncBindingOperationsEnabled=true --namespace catalog --create-namespace --wait
@@ -93,7 +95,8 @@ helm install drycc drycc/workflow \
9395 --set influxdb.persistence.enabled=true \
9496 --set influxdb.persistence.size=${INFLUXDB_PERSISTENCE_SIZE:- 5Gi} \
9597 --set influxdb.persistence.storageClass=" longhorn" \
96- --set monitor.grafana.persistence.enabled=true \ --set monitor.grafana.persistence.size=${MONITOR_PERSISTENCE_SIZE:- 5Gi} \
98+ --set monitor.grafana.persistence.enabled=true \
99+ --set monitor.grafana.persistence.size=${MONITOR_PERSISTENCE_SIZE:- 5Gi} \
97100 --set monitor.grafana.persistence.storageClass=" longhorn" \
98101 --set passport.admin_username=${DRYCC_ADMIN_USERNAME} \
99102 --set passport.admin_password=${DRYCC_ADMIN_PASSWORD} \
0 commit comments