Skip to content

managed nodes joining IPv6 cluster with IPv4 address #3435

Answered by etungsten
2tim asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @2tim,

Bottlerocket determines the kubelet node IP based on the IP family of the settings.kubernetes.cluster-dns-ip setting. Normally EKS MNG would bootstrap this value for you in the EC2 instance user-data. Is that not what you're seeing?

If you would like to set the cluster-dns-ip value manually, you can derive it based off of the service IPv6 CIDR by replacing the last hextet with a. E.g. If your cluster has a service IPv6 CIDR of

        "kubernetesNetworkConfig": {
            "serviceIpv6Cidr": "fd3c:540b:7a80::/108",
            "ipFamily": "ipv6"
        },

Then you should set the cluster-dns-ip to fd3c:540b:7a80::a. This should already be done automatically for you by EKS MNG…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@2tim
Comment options

Answer selected by 2tim
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants