Re:Horrors of Using Azure Kubernetes Service in Production
by mgalgs on Monday August 06, 2018 @07:23PM
(#17702643)
FWIW, Amazon's hosted Kubernetes offering (EKS) isn't stable either (DNS failures, HPA is known to be broken, etc.).
[ Parent
| on HN ]
Re:Horrors of Using Azure Kubernetes Service in Production
by shamsalmon on Monday August 06, 2018 @07:43PM
(#17702743)
I know HPA is a legit issue but DNS failures seem to be fairly normal in kubernetes. Scaling up kube-dns has helped us resolve that particular issue as well as moving away from Alpine and into minimal Debian images. Alpine has its own DNS issues that caused us much pain.
Re:Horrors of Using Azure Kubernetes Service in Production
by atombender on Tuesday August 07, 2018 @01:09AM
(#17704009)
We've had issues with KubeDNS, too. Lots of retries and timeouts on the client side, and lots of conntrack entries.
Libc has pretty slow retries (5s, I think) by default, and until 1.11 hits you can't easily set up resolver configs, though you can inject an envvar separately into each. And musl-based distros like Alpine don't even support some of libc's options, iirc.
We ended up scaling up KubeDNS to 2 replicas and moving them to a dedicated nodepool just to make sure they weren't competing with other nodes. That fixed our issues for now.
Re:Horrors of Using Azure Kubernetes Service in Production
by praseodym on Monday August 06, 2018 @09:28PM
(#17703243)
Kube-dns (or CoreDNS in newer clusters) is pretty stable in my experience. It's still a very good idea to run more than one replica so that you can tolerate a single node failure, but if DNS failures are "fairly normal" that definitely warrants some additional investigation.
Re:Horrors of Using Azure Kubernetes Service in Production
by sleepybrett on Tuesday August 07, 2018 @01:48AM
(#17704135)
Most dns problems in kubernetes, in my experience, can be traced to udp failures due to the iptables kubeproxy backend.
Re:Horrors of Using Azure Kubernetes Service in Production
by shamsalmon on Monday August 06, 2018 @11:04PM
(#17703605)
Thanks we did look into it but not as thoroughly as probably needed. Switching out from Alpine fixed pretty much all our issues.
Re:Horrors of Using Azure Kubernetes Service in Production
by ivelichkovich on Friday August 17, 2018 @01:03PM
(#17784244)
EKS HPA workaround
https://medium.com/eks-hpa-workaround/k8s-hpa-controller-6ac...
Re:Horrors of Using Azure Kubernetes Service in Production
by ivelichkovich on Friday August 17, 2018 @01:02PM
(#17784242)
EKS HPA Workaround
https://medium.com/eks-hpa-workaround/k8s-hpa-controller-6ac...