Skip to content

Commit e6e6663

Browse files
committed
feat(workflow): add cilium
1 parent 71de823 commit e6e6663

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

_scripts/install.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ else
4242
k3s_install_url="https://get.k3s.io"
4343
fi
4444
if [[ -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"
4646
else
47-
INSTALL_K3S_EXEC="agent"
47+
INSTALL_K3S_EXEC="agent --no-flannel"
4848
fi
4949

5050
alias install-k3s="curl -sfL "${k3s_install_url}" | sh - $@"
@@ -53,12 +53,14 @@ install-k3s
5353

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

56+
helm repo add cilium https://helm.cilium.io/
5657
helm repo add longhorn https://charts.longhorn.io
5758
helm repo add jetstack https://charts.jetstack.io
5859
helm repo add svc-cat https://kubernetes-sigs.github.io/service-catalog
5960
helm repo add drycc https://charts.drycc.cc/${CHANNEL:-stable}
6061
helm repo update
6162

63+
helm install cilium --set operator.replicas=1 --set cni.chainingMode=portmap cilium/cilium --namespace kube-system
6264
helm install longhorn --create-namespace --set persistence.defaultClass=false --set persistence.defaultClassReplicaCount=1 longhorn/longhorn --namespace longhorn-system
6365
helm install cert-manager jetstack/cert-manager --namespace cert-manager --create-namespace --set installCRDs=true
6466
helm 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

Comments
 (0)