{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/72098","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/72098/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/72098/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/72098/events","html_url":"https://github.com/kubernetes/kubernetes/issues/72098","id":391632895,"node_id":"MDU6SXNzdWUzOTE2MzI4OTU=","number":72098,"title":"Kube-Proxy use ipvs proxy-mode blocks ipv6 nodePorts when running in ipv4 mode","user":{"login":"hegnee","id":20635575,"node_id":"MDQ6VXNlcjIwNjM1NTc1","avatar_url":"https://avatars2.githubusercontent.com/u/20635575?v=4","gravatar_id":"","url":"https://api.github.com/users/hegnee","html_url":"https://github.com/hegnee","followers_url":"https://api.github.com/users/hegnee/followers","following_url":"https://api.github.com/users/hegnee/following{/other_user}","gists_url":"https://api.github.com/users/hegnee/gists{/gist_id}","starred_url":"https://api.github.com/users/hegnee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hegnee/subscriptions","organizations_url":"https://api.github.com/users/hegnee/orgs","repos_url":"https://api.github.com/users/hegnee/repos","events_url":"https://api.github.com/users/hegnee/events{/privacy}","received_events_url":"https://api.github.com/users/hegnee/received_events","type":"User","site_admin":false},"labels":[{"id":105146071,"node_id":"MDU6TGFiZWwxMDUxNDYwNzE=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/kind/bug","name":"kind/bug","color":"e11d21","default":false},{"id":617149945,"node_id":"MDU6TGFiZWw2MTcxNDk5NDU=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/needs-sig","name":"needs-sig","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-17T09:52:45Z","updated_at":"2018-12-17T17:34:08Z","closed_at":null,"author_association":"NONE","body":"**What happened**:\r\n\r\nI created a nodeport service `nginx-app-svc`\r\n```\r\n# kubectl get svc\r\nNAME            TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)        AGE\r\nkubernetes      ClusterIP   10.68.0.1       <none>        443/TCP        3d\r\nnginx-app-svc   NodePort    10.68.191.131   <none>        80:39334/TCP   3d\r\n```\r\nuse netstat get info: \r\n```\r\n# netstat -nltpu| grep 39334\r\ntcp6      21      0 :::39334                :::*                    LISTEN      9392/kube-proxy \r\n```\r\n\r\nI have a ipv6 address eth0: `fb80::301f:6df2:9df6:81b2/64`\r\n use curl to access \r\n`curl -g http://[fb80::301f:6df2:9df6:81b2]:39334`\r\nit's blocking\r\n\r\n**What you expected to happen**:\r\nI can use ipv6 address to access  `nginx-app-svc ` \r\n**How to reproduce it (as minimally and precisely as possible)**:\r\nkube-proxy config:\r\n```\r\n[Unit]\r\nDescription=Kubernetes Kube-Proxy Server\r\nDocumentation=https://github.com/GoogleCloudPlatform/kubernetes\r\nAfter=network.target\r\n\r\n[Service]\r\nWorkingDirectory=/var/lib/kube-proxy\r\nExecStart=/opt/kubernetes/bin/kube-proxy \\\r\n  --bind-address=:: \\\r\n  --hostname-override=csdpaas5 \\\r\n  --kubeconfig=/etc/kubernetes/kube-proxy.kubeconfig \\\r\n  --logtostderr=true \\\r\n  --proxy-mode=ipvs  \\\r\n  -v=5\r\nRestart=on-failure\r\nRestartSec=5\r\nLimitNOFILE=65536\r\n\r\n[Install]\r\nWantedBy=multi-user.target\r\n```\r\n**Anything else we need to know?**:\r\nCNI: calico v3.3.1\r\n**Environment**:\r\n- Kubernetes version (use `kubectl version`):\r\n```\r\nClient Version: version.Info{Major:\"1\", Minor:\"13\", GitVersion:\"v1.13.1\", GitCommit:\"eec55b9ba98609a46fee712359c7b5b365bdd920\", GitTreeState:\"clean\", BuildDate:\"2018-12-13T10:39:04Z\", GoVersion:\"go1.11.2\", Compiler:\"gc\", Platform:\"linux/amd64\"}\r\nServer Version: version.Info{Major:\"1\", Minor:\"13\", GitVersion:\"v1.13.1\", GitCommit:\"eec55b9ba98609a46fee712359c7b5b365bdd920\", GitTreeState:\"clean\", BuildDate:\"2018-12-13T10:31:33Z\", GoVersion:\"go1.11.2\", Compiler:\"gc\", Platform:\"linux/amd64\"}\r\n```\r\n- Cloud provider or hardware configuration:\r\n`Bare`\r\n- OS (e.g. from /etc/os-release):\r\n`CentOS Linux release 7.3.1611 (Core) `\r\n- Kernel (e.g. `uname -a`):\r\n`Linux csdpaas5 3.10.0-514.el7.x86_64 #1 SMP Tue Nov 22 16:42:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux`\r\n- Install tools:\r\nNone\r\n- Others:\r\n\r\n<!-- DO NOT EDIT BELOW THIS LINE -->\r\n/kind bug"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/447930382","html_url":"https://github.com/kubernetes/kubernetes/issues/72098#issuecomment-447930382","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/72098","id":447930382,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NzkzMDM4Mg==","user":{"login":"Shnatsel","id":291257,"node_id":"MDQ6VXNlcjI5MTI1Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/291257?v=4","gravatar_id":"","url":"https://api.github.com/users/Shnatsel","html_url":"https://github.com/Shnatsel","followers_url":"https://api.github.com/users/Shnatsel/followers","following_url":"https://api.github.com/users/Shnatsel/following{/other_user}","gists_url":"https://api.github.com/users/Shnatsel/gists{/gist_id}","starred_url":"https://api.github.com/users/Shnatsel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shnatsel/subscriptions","organizations_url":"https://api.github.com/users/Shnatsel/orgs","repos_url":"https://api.github.com/users/Shnatsel/repos","events_url":"https://api.github.com/users/Shnatsel/events{/privacy}","received_events_url":"https://api.github.com/users/Shnatsel/received_events","type":"User","site_admin":false},"created_at":"2018-12-17T17:34:08Z","updated_at":"2018-12-17T17:34:08Z","author_association":"NONE","body":"Dual-stack support in k8s is very limited right now, see #62822.\r\n\r\nAlso, in my experience nginx is incredibly capricious when it comes to IPv6, and will require tuning its configs in very specific and arcane ways to work. I would start by SSHing into the container and checking if nginx can serve pages over IPv6 inside the container, without Kubernetes in the way."}}
{"actor":{"display_login":"Shnatsel"}}