XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    XOA Kubernetes Recipe FYI CoreDNS not starting (unreachable backend: read udp )

    Scheduled Pinned Locked Moved Xen Orchestra
    2 Posts 2 Posters 306 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • naeemarsalanN Offline
      naeemarsalan
      last edited by

      Hey Guys,

      I recently used the XOA Recipe to create Kuberentes Cluster but by default it uses debian as os image. Which causes the internal Kube Proxy to fail to resolve DNS internally.

      2018/11/12 07:40:00 [ERROR] 2 AAAA: unreachable backend: read udp 192.168.18.1:36161->10.0.2.3:53: i/o timeout
      

      Apply the Following fix on all Master/Nodes

      sudo update-alternatives --set iptables /usr/sbin/iptables-legacy
      sudo update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
      

      Restart Master/Node Machines and then CoreDNS pods will start to work.

      Solution Provided By This Blog Post:
      https://www.jeffgeerling.com/blog/2019/debugging-networking-issues-multi-node-kubernetes-on-virtualbox

      BenjiReisB 1 Reply Last reply Reply Quote 1
      • BenjiReisB Offline
        BenjiReis Vates 🪐 XCP-ng Team @naeemarsalan
        last edited by

        @naeemarsalan Good catch, It will be added to the cloudinit script creating the master and the nodes.

        This will save one reboot to everyone. 🙂

        1 Reply Last reply Reply Quote 0
        • First post
          Last post