"...For reasons I can’t quite understand, we’ve sort of collectively decided that it’s okay to put our Kubernetes control planes on the public internet. At the very least, we’ve sort of decided it’s okay to give them a public IP address..." Is that what Google does with Borg? ;-) "...Many of the developers at Google working on Kubernetes were formerly developers on the Borg project. We've incorporated the best ideas…
Why the hell is your Kubernetes API public?
21–30 of 45 posts
Re: Why the hell is your Kubernetes API public?
#22Re: Why the hell is your Kubernetes API public?
#23Re: Why the hell is your Kubernetes API public?
#24It is public, so what? Obviously cloud operators consider it secure enough to offer that option by default. What are the reasons to consider it not secure?
Re: Why the hell is your Kubernetes API public?
#25Why people expose their core infrastructure on the internet directly and unfiltered always baffles me. I guess they must be SWEs who have never touched a server.
Re: Why the hell is your Kubernetes API public?
#26I think something doesn't quite add up in OP's claim. Having full access to the control plane effectively let's you do anything you want with the cluster. If there were really millions of completely unsecured Kubernetes instances lying around, we should see all kinds of worms and botnets already taking advantage of them - and we should also see lots of attempted probes/attacks to infect new instances as soon as they…
Re: Why the hell is your Kubernetes API public?
#27At some point you just trust the common shared public key libraries that protect public APIs and VPNs.
Re: Why the hell is your Kubernetes API public?
#28I think something doesn't quite add up in OP's claim. Having full access to the control plane effectively let's you do anything you want with the cluster. If there were really millions of completely unsecured Kubernetes instances lying around, we should see all kinds of worms and botnets already taking advantage of them - and we should also see lots of attempted probes/attacks to infect new instances as soon as they…
Of course that's how it works, there are various authentication methods that must be completed [2] to do anything. The author's claim is that similarly like you shouldn't expose RDP to the public internet, you shouldn't expose your k8s API. In practice the difference is that while RDP (or database or WordPress) credentials are vulnerable to bruteforce, in almost all cases k8s clusters are secured by either mtls or jw…
It’s still a great idea to minimize the “blast radius” where you can.
Re: Why the hell is your Kubernetes API public?
#29the solution they suggest is worse. they think a hipster vpn is authentication.
Re: Why the hell is your Kubernetes API public?
#30"...For reasons I can’t quite understand, we’ve sort of collectively decided that it’s okay to put our Kubernetes control planes on the public internet. At the very least, we’ve sort of decided it’s okay to give them a public IP address..." Is that what Google does with Borg? ;-) "...Many of the developers at Google working on Kubernetes were formerly developers on the Borg project. We've incorporated the best ideas…