39 comments

  • mikeocool18 hours ago
    I made this decision at a startup (albeit when the eng team was ~30 people, and we had a monolith with ~10 supporting services). I wouldn’t do it again, even for the reasons stated in the article.<p>The uniformity is nice, we were moving from apps running directly ec2 instances provisioned with ansible. Each time we spun up a new service it was a process to get the ec2 instances provisioned just so.<p>But k8s is such a pain in the ass. One thing that I think people new to it don’t realize is that it’s not at all batteries included - to get a basic managed cluster setup, you’re still going to be installing a bunch of additional controllers (ingress, cert-manager, external dns to start). And then you’re on the hook for making sure all those processes stay up (hope the admission webhook controller for a critical resource doesn’t go down!). Then you’ve got to do a major upgrade on not only your cluster, but all of those controllers every ~3 months. And no one is shy about introducing breaking changes.<p>Also you’re introducing a huge amount of complexity with the k8s networking and dns layer that most startups have zero need for (if you’re on EKS, make sure to read about scaling and monitoring CoreDNS).<p>I think there is a real hole in the market for a simple solution that lets you deploy some containers to some instances in a declarative fashion without all of that complexity and does decent LTS versions. I imagine there’s something out there that does this, but k8s has really sucked up all the oxygen.
    • BobbyTables217 hours ago
      Pretty sure if there was a simple alternative, people would hate it.<p>Everyone initially wants thing A. But then they want to customize it to do all permutations and combinations n of A, B, C. They want it to be extensible. They want redundancy. They want orchestration. They want integration.<p>It’s why practically every config file format eventually becomes its own scripting language. Even HTML started off simple — now ridiculously complex — all the more ironic since practically nobody writes it by hand. Instead of CSS simplifying it, it became more complex.<p>There is another thing that is extremely customizable and extensible. It’s called a programming language. People write programs to solve specific problems.<p>There seems to be a perverse trend of cobbling together a Byzantine mesh of libraries, plugins, and services with complex configuration files to make it do practically everything possible. We just used to write software for such purposes…<p>And for anyone who thinks HTML is simple… the A (anchor) tag has an “ping” attribute that results in POST requests to a list of URLs when a link is clicked ! The list of attributes and resulting variations in behavior is quite mind boggling. It was supposed to be a damn link! <a href="https:&#x2F;&#x2F;html.spec.whatwg.org&#x2F;multipage&#x2F;links.html" rel="nofollow">https:&#x2F;&#x2F;html.spec.whatwg.org&#x2F;multipage&#x2F;links.html</a>
      • ajayvk15 hours ago
        I don&#x27;t think you can provide all the features of Kubernetes while reducing the complexity. What is possible is to support a subset of the features of Kubernetes while making it easy to use.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;openrundev&#x2F;openrun" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;openrundev&#x2F;openrun</a> is a project I am building. It supports declarative deployments, on a single-node with Docker or onto Kubernetes. The target use cases is limited to standalone web app, like internal tools. No support for stateful services, you manage stateful services yourself. With that simplification, OpenRun provides a much easier developer experience.
        • SOLAR_FIELDS15 hours ago
          I look forward to the evolution of your project into a less standardized Kubernetes as end users request more and more features of your project.
          • ajayvk13 hours ago
            Targeting a specific use case (internal tools) should hopefully help avoid feature creep. Also, the goal is that an OpenRun config should work on a single-node with Docker and with Kubernetes. That limits the types of features which can be implemented (for example no Docker Compose support, no Helm support).
      • bbkane14 hours ago
        See: <a href="https:&#x2F;&#x2F;www.macchaffee.com&#x2F;blog&#x2F;2024&#x2F;you-have-built-a-kubernetes&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.macchaffee.com&#x2F;blog&#x2F;2024&#x2F;you-have-built-a-kubern...</a>
      • notarobot1239 hours ago
        Wow, I didn&#x27;t know about ping attributes.<p>Advertisers have really shaped the Web right down to it&#x27;s core specifications.
      • DrScientist8 hours ago
        +1 on the problem of moving complexity from programming languages to configuration.<p>One of the main problems here is that programming languages typically have lots of tools to help validate correctness, whereas configuration tools are typically either much less mature or woefully underused.<p>There is nothing more frustrating in something failing due to a misconfiguration - but you&#x27;ve no idea what the correct value should be.
        • sethammons4 hours ago
          My helm adventures (a while back now, so maybe better these days):<p>&gt; You have an error in your config on line 1. Good luck.
          • jmaw2 hours ago
            Wait did it actually say &quot;Good luck&quot; in the error message? If so that is hilarious
      • aranelsurion6 hours ago
        There are already simpler alternatives, and yes people hate them too. Usually for the opposite reason of k8s: something they need isn’t included, and now bringing it is difficult or impossible.<p>Fargate and Cloud Run first come to mind.
      • chaos_emergent16 hours ago
        Totally agree with you. K8s ends up being the simplest solution for a very complex problem
      • bandrami8 hours ago
        It was <i>supposed to</i> primarily be a link <i>target</i> as well as possibly a source. Berners-Lee guessed the ratio of in to out wrong there.
      • panny4 hours ago
        &gt;Pretty sure if there was a simple alternative, people would hate it.<p>&gt;Everyone initially wants thing A. But then they want to customize it to do all permutations and combinations n of A, B, C.<p>Oh, I wouldn&#x27;t be so sure of that. Think about Eclipse vs IntelliJ. 10 years ago Eclipse had all the features, and IntelliJ didn&#x27;t so it was fast. Most developers don&#x27;t use all the features, so most developers were very happy to move to IntelliJ, even if it was not free. Then IntelliJ spent the next decade building lots of features it didn&#x27;t have. Now everyone wants off of IntelliJ, because it&#x27;s no longer fast. Now it&#x27;s got a lot of &quot;useless&quot; features like Eclipse too.
      • threethirtytwo9 hours ago
        not true. The market OFTEN prefers simple things over complicated things.
        • chvid7 hours ago
          But there is money in complexity.
          • threethirtytwo3 hours ago
            There is money in simplicity as well. The market demands and prefers it.
            • linksnapzz33 minutes ago
              This so isn&#x27;t true, that it&#x27;s not even wrong.
    • singron12 hours ago
      I really wish there was an 80% kubernetes. I think you could get there with some changes:<p>1. No overlay networks. 1 IP per machine. pods use dynamically allocated ports, and the kubelet enforces pods listen only on their assigned ports using seccomp.<p>2. No kube-proxy or equivalent Layer-4 &quot;load-balancer&quot;. It&#x27;s not good, but it&#x27;s often used. You should use some kind of Layer-7 load balancing instead. Also you need to look up the port number from (1). This also greatly lessens the need for DNS.<p>3. A better config language. YAML and helm templates are terrible. kustomize is built into kubectl, but it&#x27;s frustratingly limiting and also still very complicated. Something like nix would have been great. This can make it easier to upgrade third party configs since you can have more logic to validate and merge your settings with upstream defaults or templates.<p>4. Maybe an EBF-like for the api server? If the built-in k8s objects don&#x27;t have a setting for something, then you need to write an operator or control loop yourself and then run that too, which is a big lift. Over time, k8s just keeps adding more and more built-in things and then revising them, which creates a ton of churn. If you could easily script simple operations, then they wouldn&#x27;t have to build in every permutation ahead of time. E.g. the HorizontalPodAutoscaler has 24 config object types with several fields each, but all it does is set replicas based on data read from the api-server, so it could be replaced by some kind of flexible script that runs in the control plane.
      • ddreier11 hours ago
        Unless you hate HCL, 1, 2, and 3 pretty much describe Nomad exactly. We run over 100k production applications on Nomad. But migration to AWS from private data centers, our HashiCorp bill, and the severe lack of Nomad talent, have finally pushed us to k8s (EKS).
      • vbezhenar6 hours ago
        1. You can&#x27;t force third-party software to do that. There are programs with hardcored ports. There are programs which require XML modifications and container rebuilds to change port number. If your platform does not support launching of unmodified containers, it is severely restricted and not suitable for general use. All my programs always use port 8080 for HTTP, I don&#x27;t make it configurable because I have no reason to.<p>2. Does not work for all protocols. Again your solution restricts the number of protocols to HTTP protocols. Might work for many uses, but still this restriction doesn&#x27;t sound very good. Universal load balancer is much simpler conceptually.<p>3. YAML is not terrible. YAML is awesome. Kubernetes manifests are terrible, that&#x27;s I agree with. Docker compose is nice, for example. Kubernetes manifests felt like they were designed to be generated from something, but everyone ended up writing them directly or with templates. Though I think that XML generally is superior format so I&#x27;d vote for XML in the end.<p>Overall your suggestions look like you want to shift complexity from cluster operator to software developer. I&#x27;m not sure industry supports that, recently it seems to move in the opposite direction, but that&#x27;s interesting perspective. I guess with some wrappers for some containers it could be made usable.<p>But honestly you just want to throw away years of progress in containers and network namespaces. I understand that kubernetes mechanisms are somewhat complicated, but the core idea is to make pods look like virtual machines and I think this is very worthy idea.
      • corvad2 hours ago
        I believe this is more like Borg if anything.
      • linuxftw4 hours ago
        If these ideas served some useful purpose, they would already be implemented in kubernetes. The platform is quite extensible.
    • vbezhenar6 hours ago
      Docker swarm is that simple solution you&#x27;re looking for. But people don&#x27;t need simple solutions. They want scalable solutions and Kubernetes fits this niche perfectly. You can deploy it on single server today and scale to 100 servers managed cluster tomorrow.<p>Just to provide a similar example. Linux system is insanely complicated. Kernel alone has thousands of options. Distos have tens of thousands of packages. Wherever you look at, everything is hard and complicated. Firewall, containers, init system, filesystem hierarchy, storage layers. One would think that some people desire simpler operating system. But everybody uses Linux despite all these complexities. Try to find OpenBSD in production, for example. It&#x27;s not easy.
    • himata411317 hours ago
      I don&#x27;t know... running a startup sized kubernetes is relatively easy and pain free these days (k3s). Especially when it comes to scaling up.<p>CNPG is an absolute monster (in a good way). cert-manager is easier than the docker alternative, calico has never failed me (except in bgp mode which has some footguns like not being able to come back from a dead state since it has a chicken and an egg problem unless you point it to the external load balancer which I would have known if I read the documentation). trafeik is all you need. talosos largely mitigates the bare metal problems and comes pre-hardened and pre-optimized.<p>I solo most of my development projects and have used k3s for all of them. The only complaint is that cert-manager by default will fail silently and your certificates will expire. I largely mitigated this by having proper visibility setup via grafana and automated alerts (warns if certificates are about to expire) which should have been done by me anyway.<p>Two years ago I&#x27;d agree, today with LLMs everything I have runs talos with fully automated updates and I haven&#x27;t had to be on-call for almost a year.
      • makeitdouble16 hours ago
        I think parent would wish for something close to what heroku represented (what would it be ?)<p>K8s is easier at smaller scales (I understand k3s as a packaged version ?), but you still need one or two people in your team to properly understands all of the concepts and inner workings of k8s, and be able to neck deep into if&#x2F;when shit hits the fan.<p>For a small team that&#x27;s a lot of commitment for something that is usually not their bread and butter and wish they could build once and only slightly tweak every year or so.
        • englishspot51 minutes ago
          even with just k3s and a few plugins&#x2F;operators, it still takes someone dedicated to babying it. I&#x27;ve been running a k3s cluster at home for years and I dread upgrading all the things running on it, and all the things needed to keep it running.<p>and more to that last point, we haven&#x27;t talked about maintaining the actual nodes themselves yet.
      • KronisLV8 hours ago
        &gt; cert-manager is easier than the docker alternative<p><pre><code> MDomain blog.kronis.dev </code></pre> I&#x27;m not saying that cert-manager isn&#x27;t nice, but with regular Docker&#x2F;Compose&#x2F;Swarm setups you can just run a web server&#x2F;load balancer on whatever ports you want. With mod_md the above is all I really need in a regular .conf file to provision LetsEncrypt certs for my blog (very similar with something like Caddy too). And it&#x27;s the same in Docker as it is when running the web server directly, I think that&#x27;s why starting with Docker is really nice, because it has fewer custom abstractions and sometimes regular software does things elegantly already.
    • embedding-shape18 hours ago
      &gt; I think there is a real hole in the market for a simple solution that lets you deploy some containers to some instances in a declarative fashion without all of that complexity and does decent LTS versions<p>Hashicorp&#x27;s Nomad basically is just that, supports various way of running stuff too which is neat. Shame about the license change which basically killed all my interest in it, so seems the hole is indeed still unfilled.
      • nyrikki17 hours ago
        For simple cases I just launch podman containers on long lived hosts with ansible.<p>You can still add pods if needed and the systemd integration works.<p>Plus you can actually improve isolation by co-hosting services under separate UIDs.<p>Like any container it is just co-hosting, and elasticity is a bit slower with autoscaling instances, but it removes most of the complexity of K8s which very few org benefit from or have the culture to support.
      • alexjurkiewicz8 hours ago
        AWS ECS and GCP Cloud Run are this. Run a container on abstract compute. But they aren&#x27;t &quot;without all that complexity&quot; because it turns out all that complexity is required for even simple use-cases. Load balancing with SSl certs, cloud API keys, deployment pipelines, sidecars, etc.
        • embedding-shape8 hours ago
          Those are hosted services? Completely different class of solution.
      • mikeocool17 hours ago
        Yeah I’ve always meant to check out nomad and never had an opportunity.<p>Though as I recall, it makes heavy use of consul, which I have used in anger, and makes me a little weary (though that experience is likely very out of date).
        • embedding-shape17 hours ago
          It doesn&#x27;t require Consul IIRC, but bunch of features does depend on it, like service discovery and related stuff. But Nomad is totally usable without Consul for simpler setups.
          • xav09895 hours ago
            They’ve now had nomad-native services without consul for a while, including health checks!
            • embedding-shape2 hours ago
              Oh neat, wasn&#x27;t aware! Cheers for providing the update, now if they only could revert the license it might be something one could use again.
        • mocamoca17 hours ago
          I&#x27;ve been using Nomad for years without Consul. Maybe if you complex networking requirements it is worth it, else don&#x27;t really need it.
        • ddreier11 hours ago
          Nomad has gained basic service discovery and K&#x2F;V store without Consul. However, health checking is extremely limited.
      • mocamoca17 hours ago
        As CTO of a small startup and cutting costs, setting up hashicorp nomad + bare metal is a joy to work with.<p>Some self-reloading HAProxy in nomad to automatically assign URLs to services when needed. Could have used Consul but meh.<p>Tailscale for private networking.
    • zzyzxd17 hours ago
      &gt; One thing that I think people new to it don’t realize is that it’s not at all batteries included - to get a basic managed cluster setup, you’re still going to be installing a bunch of additional controllers (ingress, cert-manager, external dns to start).<p>And if you can do this again, what&#x27;s your solution to reverse proxy, certificate management, DNS...etc? I guess you can docker-compose some custom stack on a single machine, maybe add one more machine then you can say it&#x27;s HA enough for small scale. But you can also spend the same amount of time to install those kubernetes controllers with zero customization. In my experience, if you go with the default configuration, most of the well-maintained k8s components are boring as hell these days.<p>&gt; (if you’re on EKS, make sure to read about scaling and monitoring CoreDNS)<p>If load to your service increases, you need to scale up&#x2F;out your service. This is universally true. Do you have a proprietary solution that&#x27;s easier and more reliable than bumping up the replicas count in kubernetes?<p>There are lots of design decisions in Kubernetes that I hate. But if you want me to choose between Kubernetes and any proprietary stack, in 2026, I would definitely choose Kubernetes.
      • packetlost16 hours ago
        I use NixOS with nginx + acme &#x2F; caddy, coredns and no docker anywhere. It&#x27;s extremely homogeneous, easy to scale out (add another flake output, deploy to a new server, update DNS records). You could easily automate some of that with more nix, but I don&#x27;t bother because that&#x27;s already only like 50 lines of config.<p>I have a strong preference for renting bare metal and it has served me extremely well.
        • zzyzxd15 hours ago
          I totally believe this works for you. But in your case, isn&#x27;t NixOS just another declarative orchestration system like Kubernetes? Similarly I can just run a standalone nginx, caddy with acme, and a coredns pod in a bare minimum k8s cluster.<p>Personally, I think the complexity is on the same level.
          • packetlost14 hours ago
            It really isn&#x27;t comparable. Sure, nixpkgs is huge, but the surface area for what you need to understand and work with is considerably smaller. They aren&#x27;t even really in the same domain anyways. I was able to get very comfortable with Nix(OS) in a single weekend, but it took me months to get to a similar level with the K8s ecosystem.
          • XYen0n13 hours ago
            NixOS has no &quot;runtime&quot; or controlplane to maintain.
      • mikeocool16 hours ago
        I don’t have an answer I’m in love with today, I basically just want less moving parts.<p>As for EKS, having to monitor and manually scale the built in DNS service or else my queries are just going to stop resolving is not the type of thing I expect to have to manage on a managed service. I see they have finally released autoscaling for CoreDNS, though it took them 6 years.
        • jaggederest16 hours ago
          Accidental complexity and essential complexity. There is no working system that achieves all the stated aims with fewer parts. [1]<p>[1] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;No_Silver_Bullet" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;No_Silver_Bullet</a>
      • foo4u15 hours ago
        I&#x27;ve been building multi-cluster Kubernetes for some time and things like External DNS and Ingress controllers per app are just non-starters. They always felt kludgy having K8S orchestrate things external to the cluster and their anti-patterns IMO.
    • josevalerio16 hours ago
      Dear friend, you have built a Kubernetes<p><a href="https:&#x2F;&#x2F;www.macchaffee.com&#x2F;blog&#x2F;2024&#x2F;you-have-built-a-kubernetes&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.macchaffee.com&#x2F;blog&#x2F;2024&#x2F;you-have-built-a-kubern...</a>
      • mikeocool16 hours ago
        There was once a time when we could deploy software without spinning up 3 etcd databases, multiple controller processes constantly running event loops, and a virtual networking layer, before you even get off the ground.<p>Perhaps those days are behind us.
        • greenavocado12 hours ago
          No way. In the future people will be able to vibe code entire businesses in optimized assembler
      • bellowsgulch15 hours ago
        It&#x27;s a shit blog article. A shell script is what 99% of businesses need.
    • Thaxll16 hours ago
      k8s is not a pain, I would never return to something like Pupet &#x2F; Ansible &#x2F; etc ... to deploy bare ec2 instances, it&#x27;s just re-inventing the wheel badly.<p>Just use ECS &#x2F; Fargate with an ALB in front if you need a simpler use case.
      • mickael-kerjean15 hours ago
        I&#x27;ve had the opposite experience. I used to run k8s on bare metal, troubleshooting something at least once a month (DNS going down was a recurring favorite). The breaking point came with the churn in the ecosystem, got bitten by the deprecation of the community darling weave net cni plugin, the killing of the nginx ingress was the nail in the coffin knowing I had way too many annotation tight to the ingress that it would take longer to migrate those than go the ansible way with k8s imposing tight upgrade schedules. While I agree ansible feels a lot more dirty than k8s, I spend much less time on infrastructure, sleeping betterat night and handling things like databases is much simpler
    • a_c6 hours ago
      The pattern is pervasive. Big corp promotes a solution that fits their need. People read about it, think adopting big corp solution means they are doing the right thing. Few people have big corp need, let alone everyone big corps are different. And then endless hours spent fighting big corp solution to not so big corp problem.
    • petterroea7 hours ago
      Working with k8s myself I&#x27;m somewhere in between you and the article on opinion. I think k8s is good when you can afford to hire a person dedicated to managing it (or at least find someone with experience in running it that can make it part of their MO)<p>That is, k8s is probably best considered when you are beginning to consider having an infrastructure department, or if one of your early hires knows Kubernetes and is opinionated in a way that is less &quot;throw cool and complex stuff at the wall&quot;* and more &quot;the 5 things I want in a k8s cluster that I don&#x27;t want to spend much time on and should just work&quot;<p>My understanding of the 2000s and 2010s was that there was a big focus on inventing self service deployment systems for developers, and k8s is that solution(!), for the same scale that would begin considering re-inventing the wheel internally anyways
    • psviderski13 hours ago
      &gt;I think there is a real hole in the market for a simple solution that lets you deploy some containers to some instances in a declarative fashion without all of that complexity<p>That&#x27;s how I see it as well but it&#x27;s really tough to go against the grain. I have a small enthusiastic community of users around Uncloud (<a href="https:&#x2F;&#x2F;github.com&#x2F;psviderski&#x2F;uncloud" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;psviderski&#x2F;uncloud</a>) who went full circle - fed up with k8s and came back to simple, boring declarative Compose deployments across a handful of interconnected hosts.<p>Uncloud is essentially a cluster version of Docker Compose without a control plane and cluster management overhead.
    • Eridrus15 hours ago
      We started out core product on ECS, which is a declarative way to run a containerized service. It has been nice and reliable, but it has limitations (slow scaling, weird AWS Quotas if you have ephemeral tasks).<p>We&#x27;re moving our non-critical components onto EKS (pipelines, tooling, etc). We had one outage from runaway IP allocation in a subnet, but otherwise it&#x27;s been pretty stable.<p>I do hear vague horror stories so I&#x27;m really not excited about moving our prod stack to it, but it&#x27;s actually been really good for installing 3rd party software so far.
    • alexjurkiewicz8 hours ago
      As the article mentions towards the end, AWS EKS, GCP GKE, and other competitors have made k8s setup turnkey. You can deploy a new cluster with all the controllers you mentioned in a single click &#x2F; Terraform.
    • esprehn5 hours ago
      Is the simpler thing not Lambda&#x2F;Cloud Run (with terraform)?<p>On the application developer side k8s is awesome fo, but the you look inside the box and it melts your face off.<p>I&#x27;m not sure a middle ground exists unfortunately. It&#x27;s either full service like Lambda or bag of knives like k8s.
    • aurisl11 hours ago
      We also had similar problems at our small scale startup. We tried k8s for a pilot project, and observation was the same: the complexity was not worth it for us. We needed something simpler instead we adopted Nomad, which actually fit our use case. It had its own issues and bugs, but overall, it was much more straightforward to work with.
    • TZubiri2 hours ago
      &gt;I think there is a real hole in the market for a simple solution that lets you deploy some containers<p>Containers? In this climate? What&#x27;s the kernel LPE rate at after copyfail and copyfail2? No containers, VM or harden. No half measures.<p>If there&#x27;s going to be something new, it needs to be topical, and containers are out.
    • zug_zug16 hours ago
      &gt; I think there is a real hole in the market for a simple solution<p>Unless of course, all of the busywork that comes with kubernetes IS the value (to the engineer). Perhaps a bunch of engineers know at some level that locking the company into an overcomplicated cloud-within-a-cloud setup that has all sorts of weekly issues and requires constant work gives them a lot of job safety that they wouldn&#x27;t get if they just used an AWS autoscaling group and you&#x27;re done for the next 5 years.<p>Because simpler solutions DO exist (like a loadbalancer in front of an autoscale group, and not making a giant SOA for an app that orders you taxis, or books you a bnb or whatever nonsense).
    • tayo4217 hours ago
      Isn&#x27;t fargate or ecs that simple service?
      • icedchai17 hours ago
        Google&#x27;s Cloud Run is also pretty simple.
      • epgui17 hours ago
        I find them just as complicated as k8s.
    • jpb010417 hours ago
      Kamal is somewhere in the middle. Probably a little closer to a bunch of bash scripts. But it’ll get your container going pretty quick. Can take a bit of fiddling with SSH&#x2F;docker-login. Plus it handles deployments very well.
    • zsoltkacsandi2 hours ago
      I had exactly the same experience, and we went into the same direction (ansible + ec2). No regrets.
    • httgp9 hours ago
      &gt; there is a real hole in the market for a simple solution that lets you deploy some containers to some instances in a declarative fashion without all of that complexity and does decent LTS versions<p>There&#x27;s Nomad for this; I wish more teams would run Nomad.
    • czhu1218 hours ago
      I built canine.sh for exactly that reason, gives you a sensible deployment platform on top of k8s with one install, and you can customize it once you outgrow it.
      • esafak17 hours ago
        Your portainer link is broken.
    • erpellan8 hours ago
      There was: Heroku<p>It was glorious.
    • bitfilped3 hours ago
      Docker swarm has been providing the simple solution for over a decade but nobody wants to use it because it&#x27;s not k8s.
    • stevenaenns17 hours ago
      to what extent would AWS EKS auto mode solve those problems?
      • peterldowns16 hours ago
        &quot;completely&quot; in my experience
    • emodendroket17 hours ago
      &gt; I think there is a real hole in the market for a simple solution that lets you deploy some containers to some instances in a declarative fashion without all of that complexity and does decent LTS versions. I imagine there’s something out there that does this, but k8s has really sucked up all the oxygen.<p>I mean, it&#x27;s CDK and whatever equivalents other providers have, isn&#x27;t it? If you fully embrace all the stuff they give you then it&#x27;s straightforward to declare everything and it all works together. The downside is the vendor lock-in but unless you actively deploy to multiple environments, which most people don&#x27;t, you&#x27;re probably locked in in various ways without knowing about it.
    • dsincl129 hours ago
      Dokku?
    • antonvs10 hours ago
      &gt; k8s has really sucked up all the oxygen.<p>Because anything else involves making opinionated decisions that will be wrong for many users.<p>People who don’t understand why k8s is so widespread don’t understand all the problems it’s solving.
    • te_chris10 hours ago
      GCP cloud run is pretty close to this. We’re using it now and I’ve a lot of experience with gke.<p>They’ve announced persistent “instances” recently which solves a big problem for us - sometimes you want continual long running workloads.
    • busterarm17 hours ago
      Nomad, Consul and Vault all running on VMs that you manage with Terraform.<p>The problem is that when you run this long enough you want K8s features anyway.
      • kilobaud13 hours ago
        And your starter “production” deployment of the Nomad&#x2F;Consul&#x2F;Vault stack is literally 12 VMs, comprising three independent Raft clusters. There is no decent way to do zero-downtime instance replacement without building your own orchestration layer, but also they’ve had a years-long track record of shipping bad upgrades and following up with only manual remediations or workarounds instead of a fix.<p>As someone who has productionized and maintained truly hundreds of those clusters across several jobs, it is hard at this point for me to recommend Consul, Nomad, or Vault to anyone serious about building reliable applications. Too many broken upgrades and manual click-ops tasks just to keep them online. (…and I’ve said nothing of the actual product!)
        • secondcoming8 hours ago
          This is a timely post. We are going to use Consul to replace the need for Internal Load Balancers. What issues do you have with it?
  • xlii18 hours ago
    One year ago I might agree that Kubernetes is an overkill but today?<p>Ask your favorite GPT to generate manifests, get primary app into cluster with telepresence or execute straight from container and switch contexts and clusters like it&#x27;s 90s again.<p>One reason I dislike Docker Compose and Docker is lack of isolation. Yes sure if you put your arm deep enough you can get it, but on local k8s I can spin cluster per workspace and not worry about conflicting ports between PostgreSQL instances.<p>Before LLMs writing consistent YAMLs was PITA but today on low&#x2F;development scale it&#x27;s pretty much free lunch.
    • hadlock17 hours ago
      Strong agree, if there&#x27;s one thing LLMs are excellent at, it&#x27;s writing Terraform and Kubernetes deployments (and&#x2F;or helm charts). What used to be half a day of research, trial and error, is now 20 seconds of AI churn and 98% of the time it nails it on the first try. And then point it at grafana and tell it to write you a dashboard for the new service&#x2F;s. Easy peasy lemon squeezy. What used to require a team of 4 devops&#x2F;SRE to support a medium sized company, can now be collapsed down into a a single part time SRE.
      • kevmo3145 hours ago
        The other 2% your entire prod deployment gets deleted.
      • d67517 hours ago
        as I got into SWE 4 yrs ago, this was a big part of my job as a SRE&#x2F;SDET and my next job came b&#x2F;c of that SRE exp which was never used, so just became an SDET.<p>Now am laid off, and hard to find a job...
        • xlii11 hours ago
          I&#x27;m sorry to read that.<p>Unfortunately it&#x27;s an industry wide problem, and it touches many areas and levels of expertise. Some believed that AI can drop costs and compressed job spaces.<p>It starts to bounce off but it&#x27;s not back to - what I could fall - normal baseline.
          • d6751 hour ago
            yeah. Was always the jr on a team full of seniors&#x2F;staff. Always switching context, so many verticals and systems.<p>True startups need only senior+ and big ones don&#x27;t wanna interview often.
          • wiseowise4 hours ago
            &gt; Some believed that AI can drop costs<p>And it did! For companies, not for you.
      • bigstrat200315 hours ago
        LLMs are pretty bad at writing those things in my experience. They will invent HCL syntax that doesn&#x27;t exist, generate absurdly overwrought Helm charts, put in assumptions that don&#x27;t make any sense, and so on. It&#x27;s faster, and better quality, to write the stuff myself.
        • lijok13 hours ago
          Which LLMs?
      • TZubiri2 hours ago
        on the other hand, it might be a benefit that an AI can&#x27;t spin up instances.<p>Do I want potential to increase expenditure by infinite percent? Or do I want to sign a contract for 2 500$&#x2F;mo dedicated servers?<p>Let&#x27;s be real the latter can handle 20k concurrent users without breaking a sweat, and that&#x27;s like 99.9% of companies and projects.
    • embedding-shape18 hours ago
      &gt; One reason I dislike Docker Compose and Docker is lack of isolation. Yes sure if you put your arm deep enough you can get it, but on local k8s I can spin cluster per workspace and not worry about conflicting ports between PostgreSQL instances.<p>Using Kubernetes because you&#x27;re unable to grok docker&#x27;s networking enough so you can&#x27;t run multiple containers using their own ports and not conflicting with other stuff sounds like a recipe for disaster, even (especially?) if you use agents for this. Particularly if you let them manage a production environment, you&#x27;re bound to lose important data eventually.<p>&gt; pretty much free lunch.<p>Aah, famous last words of the young :)
    • athrowaway3z10 hours ago
      This cuts both ways.<p>At any stage of <a href="https:&#x2F;&#x2F;www.macchaffee.com&#x2F;blog&#x2F;2024&#x2F;you-have-built-a-kubernetes&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.macchaffee.com&#x2F;blog&#x2F;2024&#x2F;you-have-built-a-kubern...</a> a SOTA model can repackage it into Kubernetes.<p>If you&#x27;re feeling extra spicy you don&#x27;t even need the deploy scripts. Just a `llm` user account with the right permissions &amp; ssh keys on all your servers.
    • perrygeo10 hours ago
      &gt; Ask your favorite GPT to generate manifests, ... &gt; Before LLMs writing consistent YAMLs was PITA but today on low&#x2F;development scale it&#x27;s pretty much free lunch.<p>Writing manifests seems like a trivial thing to focus on. Who operates the k8s cluster in production? Who runs upgrades? Who&#x27;s on call to monitor the system? Of course if someone else is doing all the work for you, it feels like free lunch!
      • hdjrudni9 hours ago
        I find it much easier to upgrade k8s than a bare naked server.<p>With managed k8s, your host upgrades the control plane. And then you can upgrade your PHP, Python, Node, what have you, by flipping a number in your Dockerfile.<p>Not like other forms of sever infra don&#x27;t need monitoring and upgrades anyway.
        • darkwater6 hours ago
          The day Kubernetes will have an LTS version supported for 5 years with no API churn, and EKS and other k8s managed systems will have an LTS version based on the k8s LTS plus a bunch of LTS addons supported natively, then I will agree. Actually we will probably live in a better world overall.<p>Meanwhile, the update stress of core k8s - even managed - is much higher than a good managed old fashioned (immutable) infrastructure.
    • aleksiy12314 hours ago
      Finally just bought a piece of my own hardware and got LLM to deploy k3s cluster on it.<p>I think diy homelab&#x2F;hosting is more accessible than ever.<p>Cut costs on cloud spend and invest into AI spend.<p>For a solo dev on a budget, I think it just makes sense.
      • globular-toast11 hours ago
        It&#x27;s not an investment, it&#x27;s just a spend. If you had learnt to deploy k3s yourself, which is really easy, but still, that would be an investment. Paying for LLMs is basically renting.
    • iamcreasy18 hours ago
      Interesting. I have just started reading about Kubernetes. Is there an reading material that goes over this process you just described?
      • eu-tech-tak5 hours ago
        If you wanted to learn how to setup your own Kuberbetes cluster I found EasyK3S <a href="https:&#x2F;&#x2F;easyk3s.dev&#x2F;" rel="nofollow">https:&#x2F;&#x2F;easyk3s.dev&#x2F;</a> to be a good place to learn the basics.<p>It is not perfect, but a good place to start to get a hang of how to setup your own K8S setup if you are new to Kubernetes.
      • johnsmith184015 hours ago
        Don&#x27;t. Get a chatgpt subscription and spin up a minikube cluster and launch some stuff and play around.<p>K8s is incredibly deep and complex but with AI it&#x27;s finally easy to just hello world it.
        • bigstrat200315 hours ago
          This is absolutely terrible advice. You should <i>never ever</i> use LLMs to work on something you don&#x27;t understand already, because you have no way to catch the machine when it screws up (and it <i>will</i> screw up). Just like with every other form of automation before LLMs, a smart person only automates things he already knows how to do himself.
          • mettamage4 hours ago
            LLMs allow for play. Play means learning. Then that knowledge can be utilized for a second project or to chat with someone more experienced.<p>We all have different learning styles. I learn through play when it comes to LLMs.
          • xlii11 hours ago
            &quot;Only a Sith deals in absolutes&quot; ;-)<p>I mostly agree it&#x27;s an area that&#x27;s risky to wander into mindlessly but it is much more easier to validate knowledge than to practice it.<p>E.g. I can&#x27;t write Chinese but can validate if piece of Chinese is a valid one (by feeding to N translators, other LLMs or asking a friend who knows Chinese).<p>Under assumption of &quot;LLM output is false until proven otherwise&quot; it&#x27;s not a bad approach and worked for me in various scenarios. (E.g. I asked for implementation of algorithm in Rust and then validated it against base definition).
          • johnsmith184014 hours ago
            Yeah no. Getting the first hello world up is more important than anything else.<p>Until you physically see it running learning is slow.<p>I learned k8s through many months of study and pain pre AI. Once I actually got it up learning was FAR easier.<p>This is like using a jupyter notebook to learn python and is always the first thing I point to for someone just starting to learn. Only after should you learn venv, pip install, classes ect.<p>100% use AI to get started on something you don&#x27;t understand. I will literally never start to learn about a technical system again without first doing a hello world with AI.
      • SJC_Hacker9 hours ago
        Might watch to start out with docker-cónaíse firat,
  • suralind17 hours ago
    So I’m personally a huge fan of k8s and while I agree it may be „complicated”, it’s because deploying applications is complicated. (I want to point out that there is no requirement no set up cert manager, ArgoCD, external secrets, etc. - and many people who’d consider a VPS would happily slap a .env with an unencrypted secret then ssh to update, but when they choose Kubernetes they take the long route of doing proper GitOps and complain that there are so many things to configure :)<p>But I found funny that the OP summarized to use Kubernetes when CTO is no longer the only dev.
    • solatic5 hours ago
      &gt; many people who’d consider a VPS would happily slap a .env with an unencrypted secret then ssh to update<p>I just want to point out that you can totally still do this with Kubernetes. Of course it&#x27;s not correct, but you can save that unencrypted secret in a .env file right into your container while you&#x27;re building it - no need to use Kubernetes&#x27;s support for supplying environment variables from the manifest. And of course, you don&#x27;t even need a Dockerfile to build that container - you can just exec into a running container, paste it in, and then docker save.<p>Kubernetes doesn&#x27;t save you from making stupid decisions, it just makes it easier to make better ones.
      • suralind4 hours ago
        Perhaps I wasn&#x27;t clear enough - that was my point as well. You can do that, but when people switch to Kubernetes a lot of them do a proper (or better) job of avoiding that, but compare to previous experience where they&#x27;d just ssh to update the env, etc.
    • vbezhenar5 hours ago
      100% agree with you.<p>You can actually treat kubernetes as a glorified docker compose engine. Deploy pods, deploy nginx instead of ingress controller, deploy certbot cronjob instead of cert-manager, and believe it or not, it&#x27;ll work! On a single server!<p>People often compare Kubernetes with thousands of additional services to a simple VPS, but that&#x27;s not apples to apples comparison.
  • liampulles16 hours ago
    There is a core 20% to Kubernetes which is very nice, mostly being the Deployment and Service management stuff. That along with a very basic GitOps for cluster management (an infra repo for operators using Flux, applying service level yaml from app repos in CI) above a cloud managed Kubernetes cluster, where you still keep your DB and build servers off the cluster, can be quite nice for a small team.<p>Beyond that, there are massive holes of despair to fall down if a novice team starts to engage with extensive operators (starving the control plane), DB operators (distributed persistence) and build operators (spikey, expensive loads). At least, I know that I&#x27;ve had to dig out of those holes.<p>I just hope people don&#x27;t use k8s in the same way many use microservices: as a way to introduce complexity for complexity&#x27;s sake.
    • zbentley16 hours ago
      Spot on. I have a lot of trouble convincing cloud folks that for durable state, you probably <i>don’t</i> want kubernetes. It’s not that e.g. the CSI drivers and operators for clustered databases aren’t top notch—they are; the era of “avoid stateful kube services” is long behind us—it’s that the cloud provider managed services for e.g. blob stores or databases are <i>so much more reliable</i>. The S3s and Auroras of the world are expensive for a reason: no matter how good your kube native database operator is, it still doesn’t assume responsibility for a ton of the failure points that managed services do. And that’s true even at modest scale (e.g. upgrades are just harder when you’re running your own DB) and in cost conscious environments (sure, the Elasticache bill is steep, but the salary and velocity cost of fixing memory-leak-caused kube memcached crashes is steeper).
      • portly12 hours ago
        Also cluster migrations are required pretty often in my company. Having state on a cluster means migrating that as well, which is a complex and time consuming operation. Having your state in S3 or external database makes migrations a breeze.
  • codemog10 hours ago
    It&#x27;s not uniformity, it&#x27;s cargo culting and offloading thinking to group norms. Doesn&#x27;t help engineers are some of the most arrogant people alive and refuse to admit anything is complicated, as they consider it some kind affront to their intelligence.<p>I would not advise asking the majority of CTOs these questions either. Many got to that position by saying what people want to hear, which is the &quot;average&quot; safe answer. They will parrot whatever is &quot;hot&quot; at that time because it&#x27;s the least risky response. They are not your friend nor a reliable source.
    • quibono3 hours ago
      I think a big part of this whole discussion (and why it&#x27;s always such a divisive topic) is that there are so many factors to consider that there is no one single golden bullet. An industry standard just makes this issue go away; also it makes the decision making easier since you&#x27;re not taking risks going for &quot;VM-with-systemd&quot; or &quot;plain docker&quot; or &quot;bare metal&quot; over $STANDARD.<p>&gt; I would not advise asking the majority of CTOs these questions either. Many got to that position by saying what people want to hear, which is the &quot;average&quot; safe answer.<p>Agree; this is the same as asking people why they&#x27;re not having kids: they either a) don&#x27;t know or b) don&#x27;t want to &#x2F; are not willing to say the truth.
  • clickety_clack18 hours ago
    Adopting k8s when you hire your _second_ engineer (first after the CTO)? That’s a red flag that the CTO’s priorities are wrong and he’s just enjoying tinkering with his infra instead of solving the users’ problems.
    • Esophagus418 hours ago
      I thought that was the point of the article, right?<p>That the tech benefits may not be there, but they’re using it for the non-tech benefits
      • mijoharas6 hours ago
        &gt; That the tech benefits may not be there, but they’re using it for the non-tech benefits<p>My read of the article is that this is correct, but that the benefits they&#x27;re using it for are the operational, and organisational.<p>I think the comment you&#x27;re replying to is arguing that those benefits don&#x27;t really matter or outweigh the additional complexity costs when N=2 (engineers). I think I&#x27;d probably agree.
        • Esophagus45 hours ago
          I think I still disagree.<p>If K8s is new to you, sure. Definitely not the time to learn it.<p>But I can see a world where it’s fine to use early on.<p>Especially if your team is cloud native. K8s isn’t really a new controversial toy in my eyes, it’s pretty well supported and good enough for most things out of the box.<p>I just don’t think it’s as big a deal as the “CTO IS WASTING EVERYONES TIME” argument.
      • clickety_clack16 hours ago
        From the article:<p>&gt; My personal threshold would be the moment the CTO isn&#x27;t the only engineer anymore. As soon as a second person shows up, the problems K8s solves become real.
        • darkwater6 hours ago
          What a world we live in with people thinking that the problems of a 2 (founder) engineers startup deserve k8s complexity... Even with LLMs, they are going to rack up tech debt if their focus is - as it should in as mall startup - the final product and not the tech stack itself.
          • Esophagus45 hours ago
            &gt; Even with LLMs, they are going to rack up tech debt<p>And if they don’t?
            • darkwater5 hours ago
              Well, congrats then, I guess.
  • avhception18 hours ago
    Well, I totally get the benefits that made those people choose Kubernetes. It&#x27;s just that those benefits could be had w&#x2F;o running a massively complicated piece of machinery that is mostly engineered to solve problems I don&#x27;t have.
  • SamuelAdams18 hours ago
    This seems to be less about K8’s and more about the infra as code movement. It doesn’t matter if you use K8, CDK, or terraform - you get the same benefits the OP stated across the board.<p>It is nice to be able to have a consistent deployment pattern, with traceability, rollback support, and production approval checks. It’s nice to not have some archaic something stuck in someone’s head. It’s also nice to be able to see how something works by reading the code, which is usually up to date and deployable.
    • sshine17 hours ago
      &gt; <i>less about K8’s and more about the infra as code movement. It doesn’t matter if you use K8, CDK, or terraform - you get the same benefits the OP stated</i><p>I’d like to gently push back on that. ;-D<p>Terraform, when committed to git, provides organisational memory. But less so uniformity, since all providers are different (and you should expect different things when applying). No tracing besides git. And tfstate is hard to share between developers, unlike kube state.<p>Kubernetes is more the same across providers. And it manages drift after something is applied, which is not a direct argument of OP, but a strong reason over other IAC.<p>And yes, I also enjoy how well deploying works. And how things generally fit together. Liking the networking complexity less so.
      • simoncion16 hours ago
        &gt; And tfstate is hard to share between developers...<p>Really? For years and years we put our tfstate files into private S3 buckets at $DAYJOB and it seemed to work just fine. We didn&#x27;t even take pains to ensure that everyone was on the very same version of the Terraform CLI. What problems did you guys run into?
        • InvertedRhodium8 hours ago
          One person upgrading terraform can break the state format for backwards compatibility. We use direnv with asdf to ensure everyone is in the same version now.
  • mikgp19 hours ago
    Kubernetes is so ubiquitous that yeah, as long as you&#x27;re not trying to run it yourself, a small Kubernetes cluster just isn&#x27;t all that much to manage. I think it&#x27;s been so long, people forget how annoying it is to manage servers. All said and done Kubernetes is becoming more the &quot;Boring Technology&quot;
  • shevis17 hours ago
    &gt; The CTOs I talked to aren&#x27;t making a dumb choice. They&#x27;re solving real problems.<p>Unrelated to the content of the article, this sentence structure is a dead giveaway of LLM writing.
    • jcattle4 hours ago
      This blurb gave me the idea to try and quantize this. Scrape the top HN blogs over the last few years and see how occurences of common phrases change.<p>I&#x27;d expect to see a huge increase in &quot;solving real problems&quot; over the last months.
      • eamon09893 hours ago
        I would love to see the results of this if you actually do it!
  • jessinra983 hours ago
    I’m personally a huge fan of k8s and while I agree it may be „complicated”, it’s because deploying applications is complicated. (I want to point out that there is no requirement no set up cert manager, ArgoCD, external secrets, etc. - and many people who’d consider a VPS would happily slap a .env with an unencrypted secret then ssh to update, but when they choose Kubernetes they take the long route of doing proper GitOps and complain that there are so many things to configure :)
  • JohnMakin19 hours ago
    &gt; I still don&#x27;t totally get why the shift happened when it did. Five years ago all three camps were doing fine. Now the VM+systemd crowd has basically disappeared from job postings, serverless stayed niche, and K8s just won. &gt; &gt; My best guesses: managed K8s (EKS, GKE, AKS) got mature and the talent pool flipped: enough people learned it that hiring for anything else became the harder choice. And Helm made &quot;just use someone else&#x27;s chart&quot; a real option. But I&#x27;m not certain. If you were there for the shift and have a better theory, I&#x27;d genuinely like to know.<p>Pretty much, almost. Have spent a bunch of time in my career working on the &quot;VM + systemd&quot; setups, stuff running on a rack, or in an ec2 on cloud - managed kubernetes is a lot better for me than those cobbled together messes. There&#x27;s &quot;easier&quot; setups but usually end up costing me a lot more in time and $.<p>To answer simply, it became good + convenient. I could complain about plenty, and people here like to, but honestly you couldn&#x27;t pay me to go back to the old way. The one legitimate gripe is the upgrade schedule is exhausting, on AWS it&#x27;s about every 6 months before you go into extended support. I also hate being at the mercy of arbitrary decisions like &quot;ok we know a huge chunk of the web going back a decade has architected off our Ingress API, but recently we decided we dont really like that way anymore and we want you to use Gateway API instead, so, um, like ya we know it just killed off one of the most used open source ingress configs (ingress-nginx) but yea trust us bro this is going to be <i>so much better</i>&quot; kind of thing.
    • hadlock17 hours ago
      The upgrade cycle is a feature, not a bug. If (when) you need to do a big lift and shift, or there&#x27;s some 0 day CVE, push buttan, get security update. You CAN drift behind but there&#x27;s a real $$$ cost to that now. Every three months I toss opus at my k8s stack and verify it&#x27;s compliant with k8s v1.xx.y and then push the upgrade button on my staging cluster, and then a week later I push the upgrade button on my prod cluster. What used to be two days of maintenance every quarter is now more like 2-5 minutes spread across the two upgrades.<p>I&#x27;ll admit I&#x27;m dreading switching over to the gateway api, but by the time I get forced off ingresses it should be a stable&#x2F;mature ecosystem. That&#x27;s still a ways out though.<p>I don&#x27;t know anyone still dealing with VMs anymore, except our IT guy who manages a couple of pet servers for random executives from the before times. In the last year k8s has started absorbing executive pet processes and the number of VMs our IT guy manages has dropped by about half.<p>While I&#x27;m here spouting stuff, yeah hiring for k8s is real easy, if our SRE gets hit by a bus, he can be replaced in a week, and we can probably struggle through using opus until that happens. K8s being he lingua franca of git ops IaC makes it real easy for the new guy to parachute in and start working. Every VM thing is going to be totally bespoke and have the personality of the guy who designed it, which is rarely a good thing.
      • JohnMakin8 hours ago
        The gateway api people have clearly won and I can’t truly complain because I’m not a maintainer, but I have contributed in the past to a nontrivial part of the tooling built off this ecosystem. The issues with snippets&#x2F;annotations are a core deficiency with k8s design and eliminating this api creates more problems than it supposedly solves. I have been working on solutions of my own preparing for this inevitability, but it’s rough. ingress annotations like it or not run the modern infra tech stack. if they are persona non grata at any point in the future, a lot of people are going to have a lot of urgent consulting problems in the near to mid distant future.<p>I to this date have not seen a viable drop in replacement to how I’ve seen big orgs use the ingress controller stack with the gateway api and what i understand currently is ingate is basically DOA.
    • mschuster9118 hours ago
      I somewhat agree with you... but it&#x27;s not like you don&#x27;t need some actual experts who know what they&#x27;re doing, especially when stuff goes bonkers and it <i>will</i> go bonkers.<p>Even on AWS EKS, you <i>will</i> run into bullshit with their network overlay. Egress policies are a mess (at least half a year ago, you were not able to say something like &quot;allow pod A to egress traffic to service (!) B&quot; despite a service resolving down to an IP address in the end.<p>And that&#x27;s before going into the unholy mess that is getting connectivity to and from the external world to your cluster. Cloudfront, ACM certificates, ALB, ALB-EKS integration, Route53, Route53-EKS integration, EFS, EFS-EKS integration, EBS, EBS-EKS integration, RDS, RDS-EKS integration, IAM-EKS integration, SSM, SSM-EKS integration, autoscaling... and if you want more pain and don&#x27;t already wince, try setting that up across regions or, as I had to do once, across account boundaries.<p>Kubernetes is powerful. But do not make the mistake of assuming it&#x27;s easy to get started with, at least on the admin side. Even if you got prior AWS experience, getting it all integrated into EKS so you don&#x27;t have to deal with Terraform <i>and</i> helm&#x2F;k8s for a full deployment of a piece of software will take you an awful lot of time.<p>For users though? It&#x27;s a breeze, I will admit as much. Everything down to the firewall rules can be encoded in k8s spec files.
      • JohnMakin18 hours ago
        If you struggle with any of that (a lot of what you listed is not strictly necessary to running managed kubernetes, specifically EKS) you are also going to struggle with a lot of other things on AWS, or wrangling a VM setup at any kind of scale.
        • paulryanrogers18 hours ago
          So they&#x27;re holding it wrong?
        • mschuster9117 hours ago
          &gt; a lot of what you listed is not strictly necessary to running managed kubernetes, specifically EKS<p>Oh it&#x27;s not <i>necessary</i> per se but if you want to host a web service with any sort of state and <i>not</i> having to do stuff in parallel either by hand or by terraform, I&#x27;d consider the integrations pretty vital.<p>It&#x27;s easy enough (well, it&#x27;s still addons whose versions you have to keep updated each on their own) once it is set up, but getting to the point where you have something reproducibly running for the first time is annoying as hell.
          • zbentley16 hours ago
            I think the best supported and most mature pattern on most big cloud providers is precisely<p>&gt; do stuff in parallel either by hand or by terraform<p>…specifically by terraform. Making k8s own the provisioning and management of external infrastructure <i>on principle</i> (as opposed to when that makes sense, e.g. load balancers&#x2F;gateway&#x2F;CSI providers) is not a good approach. Sure, it feels unified, but the cost of unification is incredibly not worth it.
            • mschuster913 hours ago
              &gt; Sure, it feels unified, but the cost of unification is incredibly not worth it.<p>That&#x27;s the cost I was talking about. It is indeed annoying and time-consuming to get it set-up once, but once it works... it is amazing for developers to have the ability to spin up a <i>completely identical to prod</i> environment for a hotfix branch to test stuff out, with no involvement from ops or anyone else.<p>And also, it&#x27;s <i>much</i> easier IMHO to get a mental image of how a system is constructed when it&#x27;s one architecture - no matter if it&#x27;s k8s&#x2F;helm or Terraform. But as soon as you have both in the mix, you get friction issues, you have to pass stuff from Terraform to Helm or vice versa... and may God have mercy upon you if you also have Ansible in the mess, I had to do that once for a piece of proprietary dependency that would not have been supported by the vendor in any place other than a SLES bare metal server.
              • JohnMakin1 hour ago
                Yea, I used to believe this too, and still sort of agree - I got so tired of the argument in maintaining k8s infra in terraform I gave up and wrote what is essentially a terraform wrapper module around helm. The charts break terraform quite a bit sometimes, so you have to keep it simple, and god help you if you want to use CRD&#x27;s, hashicorp providers have the notion no one actually needs those.<p>I had dismal hopes of it working for very long but it&#x27;s remained mostly untouched going on 3 years now which really surprised me, and it&#x27;s been easy to work with. I think if you run EKS resources like node groups, autoscalers, LB type of resources in the same state file as helm deployments you&#x27;re going to have a <i>very</i> bad time though.
    • kensey5 hours ago
      What I&#x27;ve seen more than anything else is that Kubernetes built an ecosystem (of contributors and users, but also of <i>companies</i> invested in its success) that none of its competitors could or would. There was apparently a faction within Google that believed open-sourcing Kubernetes was a mistake because Google would have made more money keeping it in-house, but in terms of the success of the <i>project</i> I think it was entirely the right call, as was creating a foundation to maintain and promote it. Look at the history of its competition:<p>* DC&#x2F;OS was always its own thing and as time went on, eventually Mesosphere was basically the sole maintainer of the underlying Mesos. Very little external contribution.<p>* OpenShift was different from Mesos and basically maintained only by Red Hat from the Makara acquisition (sometime in 2010 I think) to about mid-2015 (i.e. the point where they ripped out most of the OpenShift-native process isolation and orchestration and replaced it with Docker and Kubernetes). Pre-Kubernetes OpenShift frankly struggled to catch on and again, basically everybody who cared about developing it worked for one company.<p>* CoreOS was developing fleet in the open but dropped it outright when Kubernetes was released. The phrase I heard there was &quot;We started to say something and Google finished our sentence.&quot; They pivoted to Kubernetes for orchestration so hard it was kind of awkward talking to customers who used fleet after that. In theory somebody could have picked it up like Kinvolk picked up rkt for awhile (and later CoreOS Linux as Flatcar), but as far as I know nobody ever made a serious effort to do so.<p>* Docker released Docker Swarm shortly after Kubernetes was released -- yet another one-company product. (I still don&#x27;t really understand <i>why</i> they released Swarm -- for simple workloads, Docker Engine and Docker Compose were enough, and for more complex ones Docker Engine was, at that time, still the <i>sole</i> underlying runtime in Kubernetes. There were already two distinct orchestrators on the market, one from a much larger company with a lot more operational experience running containerized workloads than Docker had. What was their thought process?)<p>* HashiCorp released Nomad well after Kubernetes but not only was it another sole-corporate-maintainer orchestrator, it deliberately omitted a lot of the basics Kubernetes included like service discovery in an effort to stay simple -- so in very few cases was Nomad alone actually enough to orchestrate workloads (nor was it intended to be, as the Nomad engineers in the ~1.0 days would have been first to tell you). Past a point this made Nomad more work to get running and keep running than Kubernetes was.<p>The flip side is, I don&#x27;t think a <i>purely</i> community-developed orchestrator would have won, even with a foundation backing it. It&#x27;s not the corporate backing that&#x27;s the issue, it&#x27;s the <i>lack of diversity</i> in that corporate backing.
  • ralferoo3 hours ago
    I should add a disclaimer that I&#x27;ve never used kubernetes or docker, the latter mostly because I prefer the mental model and data encapsulation of a VM per service.<p>That said, the app I&#x27;m developing in my startup is designed with scalability from the outset. I have a single setup script for each type of node, and can take a fresh ubuntu install and just &quot;wget -O- $URL | sh&quot; as root and it sets up the node from scratch and&#x2F;or reconfigures it to the latest configuration. That does all the ancillary stuff, setting up sane firewall defaults, blocking SSH from non-whitelisted IPs, setting up NTP, borg backup and zabbix (both require manual work on the respective backing servers currently), setting sane system configs (e.g. systemd logs limited to 100MB), wireguard (for the backends that distribute sqlite databases using litefs), etc. and installing the relevant packages with my software.<p>The actual backend application is built into a debian package automatically, so it&#x27;s just a case of adding my private repository to apt sources and installing it. Updating a machine is just &quot;ssh root@$MACHINE &#x27;apt-get update ; apt-get install $APP&#x27;&quot;. I probably could automate that with ansible, but I prefer to upgrade them piecemeal while I&#x27;m testing out an upgrade, so I have a couple of bash scripts that do the ssh in a for loop instead with different targets in each.<p>This has the advantage for me of being able to buy any old VPS from a cheap provider and add it to my pool in minutes.<p>I&#x27;m sure I could end up with something that&#x27;s just as easy to update with kubernetes, but it seems like another big learning curve with dependencies that probably change every few months and require me to keep learning new things just to keep it running. I understand my bash scripts, and know they won&#x27;t just stop working going forwards (modulo exceptional events like having to migrate to systemd scripts, but that kind of change is usually only required on a very few major OS distribution upgrades).<p>I already have enough pain from some of my tech depending on other people&#x27;s projects (I have a frontend app written in Flutter, and forced SDK upgrades about every 6 months and then resulting issues with toolchains I haven&#x27;t even chosen to use, like gradle and kotlin, that seem to break everything every release), that I have no great desire to rebuild everything on someone else&#x27;s deployment framework. When I get to the point of hiring others to help, I&#x27;d hope they&#x27;d be clued in enough to understand a simple bash script that sets up everything, and logically follow it through.
  • xylon2 hours ago
    I assumed the reason there are so many job offerings for kubernetes engineers is either because these jobs have high churn, or because kubernetes takes more work to maintain. I think linux+nginx+postgres+favourite-lang is still the most sensible way to go. Good engineers don&#x27;t overcomplicate things.
    • esbeeb2 hours ago
      &quot;linux+nginx+postgres+favourite-lang&quot; - I agree here. Yes, don&#x27;t over-complicate things.
  • Glyptodon18 hours ago
    Even as a solo dev there&#x27;s generally been a yawning gap between k8s and manual infra that nothing has ever filled that well and it&#x27;s part of why things like Heroku were so popular for a while.
    • ghaff18 hours ago
      Well, maybe especially as a solo dev. Things like Heroku and other tools that were largely called PaaS at the time were very popular with individuals and small teams but they had limitations for enterprise development--and even ran into barriers once anyone ran into those limitations.
    • soco5 hours ago
      From what I&#x27;ve seen, Azure container apps (ACA) sits exactly there in the middle: a managed Kubernetes, opinionated and full of defaults you may or may not like, but makes the deployment and maintenance a breeze.
  • reillyse17 hours ago
    The reason this is accelerating recently is agents are really good at spinning up k8s clusters. They&#x27;ve made devops work super super simple. Basically all the annoying stuff you know you should do but it&#x27;s way too much hassle - using let&#x27;s encrypt to create unique certs for every app in your cluster to enable zero trust, configuring permissions and security profiles for everything etc etc (never mind just standing them up in the first place) - it&#x27;s all simple now.
    • phailhaus17 hours ago
      The setup may be simple, but what about the maintenance?
      • kakwa_6 hours ago
        And the troubleshooting?<p>Given the number of moving parts, I would be terrified to have to look under the hood of what Talos deployed for me.
        • reillyse4 hours ago
          I’ve found it to be excellent at troubleshooting- recently had a hardware incident and it diagnosed the problem and migrated my cluster to a new machine super fast. I just give the agent access to kubectl and I let it investigate bugs and it does an excellent job - I would say way better than it is at normal coding.
      • __turbobrew__4 hours ago
        Kubernetes MCP
      • lawn6 hours ago
        Anecdotal of course but I&#x27;ve found that they&#x27;re excellent at debugging and analysing Kubernetes issues.
  • lanycrost3 hours ago
    I&#x27;m not asking about kubernetes in interviews too, may be trying to understand do the interviewer understand how containerization, CNI, kube-proxy working under the hood. For me the best indicator of strong engineer is that he is interested enough to go under the hood, and understand the foundations rather the tools.
  • chaos_emergent16 hours ago
    In addition to all of OP’s points, another reason k8s is getting popular is that LLMs have made them easier to use! It&#x27;s reasonably well represented in the dataset and there are pretty strong monitoring and observability tools and verification gates to make sure that you&#x27;ve specified your cluster specifications correctly.
  • aaronbrethorst15 hours ago
    <i>The knowledge is in the YAML</i><p>Exactly why I hate CloudFormation, K8S, GitHub Actions, etc. yaml is a terrible format for the knowledge encoded in these artifacts.
    • rienbdj9 hours ago
      There are compile-to-yaml config languages
      • aweiland2 hours ago
        Any good ones people would recommend?
  • andrewcamel5 hours ago
    I’m not sure it will cause a reversal, but I bet the k8s takeover wouldn’t have happened with costs of today. You inherently end up using far more resources than you need - between HA, built in services, overhead per node, etc.<p>I personally will be using more resource efficient approaches in everything I do. Question is just what provides the closest set of benefits without the full k8s weight.
  • nitwit00518 hours ago
    &gt; First one was uniformity. Every service deploys the same way.<p>My current company makes this claim, but it&#x27;s not true. They also have serverless apps, and also have some services running directly on EC2.<p>They just think of the Kubernetes deployments as the &quot;standard&quot; way.<p>&gt; Second was shared, hireable knowledge. K8s is basically a lingua franca now.<p>People were demanding experience with Kubernetes, long before it was reasonable to expect it. Everyone added it to their resume, because they had to.
  • mianos16 hours ago
    This is exactly why I call it &#x27;resume++&#x27;. You have to use it to attract talent. People want to use it to expand their employment pool. This is not justification to using it.<p>To use it is a whole different question, and not in any way related to job interviews. I have worked in places that are crazy for not using it and others where using it was even crazier.
  • hanneshdc6 hours ago
    I’ve worked for a few startups now and we’ve stayed away from k8s, instead being perfectly happy with ECS services managed via terraform.<p>It gives most of the benefits the author mentions (traceability of changes, clearly written down infrastructure), without the complexity of k8s.
  • imglorp2 hours ago
    &gt; shared, hireable knowledge<p>So it&#x27;s the same motivation as enterprise java.
    • TZubiri2 hours ago
      But if you just build bash scripts on top of vms, the talent pool is much larger, necessarily.<p>I feel the motivation goes a bit in the opposite direction. Yes a commoditized worker who speaks a common k8s language, but not too common a language, there has to be some selection here, a talent pool of 100K engineers that know linux is too big, but a pool of 5k engineers that know k8s apparently is just right.<p>Gotta filter those resumes somehow!
  • metaltyphoon13 hours ago
    The grass is not always greener. I would change the Service Fabric crap I have to deal with any day to K8s.
  • h4kunamata17 hours ago
    Taught me that companies follow hype.<p>I worked once at a bankm fully kubernetes, the amount of problems were out of reality from this world.<p>Complexities are being added for no reason at all.
    • SJC_Hacker9 hours ago
      Yeah this was ,ynexperienve as Wellfleet. Nó one réaluadar knew what was going on and we had 5 figure cloud spend bills per month.
  • johnsmith184015 hours ago
    AI, managed control plane, minikube<p>That makes it a no brainer for me for basically any sized project.<p>Small project? -&gt; minikube single node deploy it.<p>Tiny project? -&gt; minimum a docker container<p>I cringe watching anyone build and run code on a raw machine even locally without atleast a container. The endless hours of headaches you avoid is obvious k8s is just the natural extension from this.
  • siliconc0w16 hours ago
    I had a similar experience after a recent job search and started working on a &#x27;kube-lite&#x27; that just uses object storage for coordination and normal cloud primitives like auto-scale groups (skiff.pages.dev).<p>I ended up in a different non-SRE role but if you&#x27;re interested in working on it, please let me know and I&#x27;d love to walk you through it.
  • mattmatters19 hours ago
    A pretty nothing burger of a post with a bunch of ai-isms. Is this written by a real human?<p>K8s is a complicated beast. CTOs hiring for their 10 person company because of its &quot;used everywhere&quot; is a bad reason to adopt a major piece of technology. You can always graduate to it later if need be.
    • jbnorth18 hours ago
      Honestly I felt the same way for a while but the more I&#x27;m exposed to both Fortune 500 companies and ones who have a handful of employees I see Kubernetes as just a good starting point rather than adopting it later.<p>It removes the overhead of a lot of what sysadmins and devs of yesteryear did by hand or had to have a career&#x27;s worth of experience to do quickly.<p>That&#x27;s not to say that people don&#x27;t need to know what they&#x27;re getting into when they adopt kubernetes but especially when you&#x27;re using a managed offering and not on the bleeding edge of what it supports it&#x27;s pretty easy in terms of overhead and maintenance.
  • ritcgab14 hours ago
    Multi-cluster federation is still hard.
  • stego-tech17 hours ago
    OP gets it.<p>Right now, I’m one dinosaur managing a startup’s tech portfolio. Everything lives in my head first, then in my break-glass vault for addressing the bus problem. Our public cloud footprint is a single KMS for backups. We have no VMs, everything is a cloud service.<p>The <i>literal fucking second</i> we have real infrastructure requirements for compute, it’s right to GCE. No ifs, ands, or buts. Here’s our Git Repo, here’s the managed K8s control plane, make it work.<p>If (or when) we need on-prem compute, we add them to the K8s control plane as worker nodes and taint accordingly.<p>It’s just so much more interchangeable, even if the learning curve for non-SDEs can be a little steeper than VMs.
  • zug_zug16 hours ago
    Here&#x27;s my conspiracy theory --<p>There&#x27;s a certain type of engineer (maybe 25% of them) who does &quot;hype-driven-development.&quot; No matter the technology, they are huge advocates for the technology. The hype may be absolutely real, complete nonsense (e.g. mongodb), or somewhere in between (ai). The vast majority of the time it&#x27;s hype for a new technology that feels 90% the same from the end-user perspective (react vs vue, docker vs colima, go vs other, whatever vs whatever).<p>These engineers though, only care about something when it&#x27;s new and trendy enough to be a differentiator. This is because they don&#x27;t give any hoots about the actual usefulness of anything, they are just trying to differentiate themselves in a market by leveraging vibes rather than raw competence. I think these types of engineer drove kubernetes for companies that don&#x27;t need it, but tipped the scales enough that it has critical mass.<p>The irony being kubernetes is way too heavy&#x2F;clumsy an abstraction for most companies. The savings of packing pods onto the same node is usually a tiny fraction of the engineers&#x27; salaries who are managing it.<p>The other irony is now that kubernetes isn&#x27;t the new sexy thing, but a standard tool that AI or a normie can do all the hard work for, the hype driven engineers are off looking for the next thing.
    • gib4445 hours ago
      Tangential but IME those engineers do very very well, as they&#x27;re good at marketing themselves, but more importantly they often align with the CTO&#x2F;CEO who wants to present the company as the hottest thing since sliced bread – they signal they&#x27;re on the same page.<p>Who is going to criticise the engineer who is open to new things &#x2F; appears innovative &#x2F; loves MVPs &#x2F; 110% supportive of the latest bs the CTO is spewing? Yeah
    • zbentley16 hours ago
      The linked article discusses very different reasons for preferring kube. CTOs and hiring managers like it for reasons totally different from the cargo cult&#x2F;hype-driven engineers.
      • zug_zug16 hours ago
        Yeah I read the article and I saw that.<p>And I do think there is a way to use kubernetes with minimal damage, but it requires making firm rules about not focusing on things that aren&#x27;t needed yet (e.g. istio) and making firm hiring choices about only people who understand that such optimizations are complete wastes of time for a series A startup.
  • dzonga8 hours ago
    for smaller b2b startups - serverless is still a win.
  • vasco18 hours ago
    It&#x27;s a bit odd that the author presents no data other than their interviewing and declares that the shift happened recently. It&#x27;s not true, there&#x27;s been steady growth of adoption of kubernetes for years. Just reading CNCF surveys from last years before posting would tell them that.<p>Their identified reasons are OK though.
  • globular-toast11 hours ago
    I pushed k8s in the medium sized company I work for much the same reasons. We use flux for gitops which works really well. The problem is we now have as many clusters as we did bare metal hosts before. There&#x27;s production clusters, dev clusters, ones in other regions etc. The idea was to have &quot;one place, one way to deploy&quot; but it&#x27;s actually many places. Am I doing it wrong? Should it all be one cluster and just have different nodes for different reasons and RBAC etc?
    • raesene910 hours ago
      that probably depends on how much security and resource isolation you need. Multi-Tenant security in Kubernetes is not a simple thing, for a wide variety of reasons, and noisy neighbour problems are also potentially a headache.
  • crefiz17 hours ago
    Another complementary approach is what Vasilios shared today[1] (the ex-Attlasian guy that recently got attraction)<p>[1] <a href="https:&#x2F;&#x2F;youtu.be&#x2F;Iv9hoYTQp_8?si=5YsUxYayFUY-RfKC" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;Iv9hoYTQp_8?si=5YsUxYayFUY-RfKC</a>
  • louwrentius17 hours ago
    I&#x27;m going against the grain but I read: we have a cultural&#x2F;policy issue and we &#x27;fix&#x27; it with tools.<p>I think what you hear is never the whole story, there is much more going on.
  • FpUser16 hours ago
    I call BS on that. I serve SMB clients and many are happy like a clams with monoliths deployed using those proverbial bash scripts that also does lots of other things. Understanding scripts in the age of AI is trivial for newcomers. I for example fed my own uber script to AI as an experiment and it has produced all encompassing nice documentation with examples and tests.