<p>I got the following error:</p>
<pre><code>controller.go:228] unable to sync kubernetes service: Post &quot;https://[::1]:6443/api/v1/namespaces&quot;: dial tcp [::1]:6443: connect: cannot assign requested address
</code></pre>
<p>I have the following warnings in my cluster kube (3x3 master/workers on prem (kvm)) with 3 etcd on masters.</p>
<pre><code>kubectl get events --field-selector  type!=Normal -n kube-system
LAST SEEN   TYPE      REASON      OBJECT                             MESSAGE
3m25s       Warning   Unhealthy   pod/kube-apiserver-kube-master-1   Readiness probe failed: HTTP probe failed with statuscode: 500
3m24s       Warning   Unhealthy   pod/kube-apiserver-kube-master-2   Readiness probe failed: HTTP probe failed with statuscode: 500
3m25s       Warning   Unhealthy   pod/kube-apiserver-kube-master-2   Liveness probe failed: HTTP probe failed with statuscode: 500
3m27s       Warning   Unhealthy   pod/kube-apiserver-kube-master-3   Readiness probe failed: HTTP probe failed with statuscode: 500
17m         Warning   Unhealthy   pod/kube-apiserver-kube-master-3   Liveness probe failed: HTTP probe failed with statuscode: 500
</code></pre>
<p>This error not affect my cluster or my servicies in any form. It's appear from the begining. How do I solve? :D</p>

Madalin NITU
<p>I had the same Error.
My CoWorker deactivated IPv6 (to try something..) and Kubernetes tried to use IPv6.</p>
<p>After rebooting my Master, IPv6 came back and it worked again.</p>
<p>I searched for a bit and found this article: <a href="https://kubernetes.io/blog/2021/12/08/dual-stack-networking-ga/" rel="nofollow noreferrer">https://kubernetes.io/blog/2021/12/08/dual-stack-networking-ga/</a> which basically says you can set <code>ipFamilyPolicy</code> to one of three options:</p>
<ul>
<li>SingleStack</li>
<li>PreferDualStack</li>
<li>RequireDualStack</li>
</ul>
