Skip to content

Instantly share code, notes, and snippets.

View bschimke95's full-sized avatar

Benjamin Schimke bschimke95

View GitHub Profile
@bschimke95
bschimke95 / install-cilium.sh
Last active November 17, 2023 14:36
Cilium with ingress Controller
# Configure cluster CIDR
IPv4_CLUSTER_CIDR="10.1.0.0/16"
IPv6_CLUSTER_CIDR=""
# Require cgroup2 to be mounted
cgroup_hostroot="$(mount -t cgroup2 | head -1 | cut -d' ' -f3)"
if [ -z "$cgroup_hostroot" ]; then
echo "cgroup2 mount not found, fail"
exit 1
fi