cozystack icon indicating copy to clipboard operation
cozystack copied to clipboard

Disable ipv6 cluster wide

Open sm1lexops opened this issue 1 year ago • 0 comments

Summary

I’ve encountered a challenge with disabling IPv6 in my Kubernetes cluster, which includes 3 control plane (master) nodes and 3 worker nodes, all deployed with CozyStack v0.14.1. After reading various articles and trying different methods, I have not been able to find a working solution.

Steps Taken 1. Disabled IPv6 at the host level: talosctl -e <host> -n <host> cat /proc/sys/net/ipv6/conf/all/disable_ipv6 1 2. Modified Cilium configuration: Updated the cilium-config/cni-configuration ConfigMap to include the following argument: - '--enable-ipv6=false' 3. Updated the Cilium DaemonSet: Added the --enable-ipv6=false argument to the DaemonSet configuration. 4. Checked Kube-OVN CNI: Found no relevant configuration regarding IPv6.

Problem

Despite these efforts, IPv6 is still not disabled within the cluster. I am looking for guidance on how to fully disable IPv6 in a Kubernetes cluster deployed with CozyStack. I checked it by creating new ones.

It would be great to have a built-in option to disable IPv6 during CozyStack installation. Thx @kvaps, maybe one day thousands will contribute to this product))

sm1lexops avatar Sep 20 '24 14:09 sm1lexops