Initial commit
This commit is contained in:
commit
a267b572a3
23 changed files with 2173 additions and 0 deletions
18
bin/k3d-entrypoint-cilium.sh
Executable file
18
bin/k3d-entrypoint-cilium.sh
Executable file
|
@ -0,0 +1,18 @@
|
|||
#!/bin/sh
|
||||
# ----
|
||||
# File: k3d-entrypoint-cilium.sh
|
||||
# Description: Script to be run on k3d clusters to be able to use cilium
|
||||
# Author: Sergio Talens-Oliag <sto@mixinet.net>
|
||||
# Copyright: (c) 2023 Sergio Talens-Oliag <sto@mixinet.net>
|
||||
# ----
|
||||
|
||||
set -e
|
||||
|
||||
echo "Mounting bpf on node"
|
||||
mount bpffs -t bpf /sys/fs/bpf
|
||||
mount --make-shared /sys/fs/bpf
|
||||
|
||||
echo "Mounting cgroups v2 to /run/cilium/cgroupv2 on node"
|
||||
mkdir -p /run/cilium/cgroupv2
|
||||
mount -t cgroup2 none /run/cilium/cgroupv2
|
||||
mount --make-shared /run/cilium/cgroupv2/
|
Loading…
Add table
Add a link
Reference in a new issue