Unable to Retrieve Neighbour Entry with ndisc6 for Pods Scheduled on Different Nodes

Rouf 0 Reputation points
2024-04-07T10:36:43.61+00:00

When inside the pod, I am unable to access the neighbor information of pods deployed on other nodes within the AKS cluster. Even attempts to use ndisc6 prove ineffective in fetching these neighbour records.

Although executing ping6 to the destination pod does add the neighbour entry, however that doens't server our interest.

I'm curious to know if there's a method to enable this neighbour information, even if it involves running ndisc6 just once. If such an option exists, what configuration adjustments are required when setting up the AKS Dual-stack cluster?

Example: EKS forbid ndisc6 however, they do populate permanent neighbour entry in the pod.

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,159 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,866 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anveshreddy Nimmala 2,465 Reputation points Microsoft Vendor
    2024-04-08T06:11:58.7966667+00:00

    Hello Rouf,

    Welcome to microsoft Q&A, Thankyou for posting your query here.

    Directly enabling neighbor discovery for pods across nodes in an AKS cluster is challenging due to the nature of Kubernetes' overlay network.

    Pods communicate across nodes via the overlay network, which abstracts away the underlying network details.

    Azure CNI is one of the network plugins that support dual-stack.

    When configuring the cluster, specify both IPv4 and IPv6 ranges for the --pod-cidrs and --service-cidrs options.

    Network address translation (NAT) is then configured so that the pods can reach resources on the Azure virtual network

    you can refer this links if any one can help you to achieve your goal.

    dual-stack kubenet networking in Azure Kubernetes Service (AKS)

    and

    Azure CNI Overlay networking in Azure Kubernetes Service

    Hope this helps you ,If an answer has been helpful, please consider accepting the answer to help increase visibility of this question for other members of the Microsoft Q&A community. If not, please let us know what is still needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!

    c947b109-2f3b-4468-8639-cb6c3bea645c