Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add brackets around IPv6 kube-dns liveness probe addrs #56544

Merged
merged 1 commit into from
Nov 29, 2017

Commits on Nov 29, 2017

  1. Add brackets around IPv6 kube-dns liveness probe addrs

    When a Kubernetes cluster is instantiated in IPv6-only mode
    via 'kubeadm init ...', the liveness probes that are
    configured by kubeadm for kube-dns currently use IP:port
    strings of "::1:53" and "::1:10053". These IP:port strings should
    instead include brackets around the ::1 IPv6 loopback address, e.g.
    "[::1]:53" and "[::1]:10053".
    
    This change adds the necessary brackets around the ::1 IPv6 loopback
    address.
    
    Without this change, the kube-dns sidecar container interprets the
    bracket-less strings as IPv4 IP:port strings that have too many
    colons, and the kube-dns pod is restarted about once every 2 minutes.
    
    fixes kubernetes#56543
    
    /area ipv6
    /sig network
    Dane LeBlanc committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    d626de1 View commit details
    Browse the repository at this point in the history