🐎 K3D
🐎 K3D
K3D equal k3s in a container. a tools to create single- and multi-node k3s clusters. Our favorite use case, is with podman and rootless. So there is some customization upstream to do. One downside I’ve found with k3d is that the Kubernetes version it uses is behind the current k3s release. Install 1curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash 2 3k3d completion zsh > "$ZSH/completions/_k3d" Tweaks for podman and rootless The issue: 1k3d cluster create test 2 3ERRO[0000] Failed to get nodes for cluster 'test': docker failed to get containers with labels 'map[k3d.cluster:test]': failed to list containers: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.46/containers/json?all=1&filters=%7B%22label%22%3A%7B%22app%3Dk3d%22%3Atrue%2C%22k3d.cluster%3Dtest%22%3Atrue%7D%7D": dial unix /var/run/docker.sock: connect: permission denied The solution: 1sudo mkdir -p /etc/containers/containers.conf.d 2sudo sh -c "echo 'service_timeout=0' > /etc/containers/containers.conf.d/timeout.conf" 3 4sudo ln -s /run/podman/podman.sock /var/run/docker.sock 5 6XDG_RUNTIME_DIR=${XDG_RUNTIME_DIR:-/run/user/$(id -u)} 7export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/podman/podman.sock 8export DOCKER_SOCK=$XDG_RUNTIME_DIR/podman/podman.sock 9 10systemctl --user enable --now podman.socket If /sys/fs/cgroup/cgroup.controllers is present on your system, you are using v2, otherwise you are using v1.
🔔 Customize RSS Feed in Hugo
🔔 Customize RSS Feed in Hugo
How to Customize in an Hugo Blogs the RSS feed and why it matters!
✨ How to Write a Hugo Shortcode
✨ How to Write a Hugo Shortcode
Hugo Shortcodes are reusable snippets to insert dynamic or complex content.
💫 Podman as a service
🎺 How to Create a Widget for Hugo.
🔭 My New Blog
🔭 My New Blog
Sometimes in life, you need to upgrade. This article walks through the new version of my blog and the discoveries that came with it.
Projects
Projects
Just a short list of personnal projects, I am currently working on.