• NegativeLookBehind@kbin.social
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    Ok so just learn Kubernetes. And then realize that for it to be useful in a production environment, it needs like 10 other third party things, which you’ll also have to learn, and you’re done!

    • smik@discuss.tchncs.de
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      10 is a bit exaggerating. What do you really need?

      ExternalDNS is nice so you don’t have to config your DNS manually. You might need to install your own Ingress controller. If you want to automatically add and renew certificates cert-manager is great. Security is important! Speaking of, you should add some kind of secret management (something like sealed-secrets, vault or Secrets Store CSI Driver).

      A really important thing is monitoring so you know your pods and the cluster itself is healthy. Prometheus is still king in that regard in my opinion. PromQL isn’t that hard. Of course some kind of alerting like AlertManager is a must for prod environments. Be aware that the front ends of those tools are not behind a login so something like oauth2-proxy and dex is vital! You might want to have some visualisation too so Grafana is a nice addition. If you add Loki too you got your OPs covered.

      Keeping track of all of your stuff is the hard part so some GitOps is highly recommended. ArgoCD or FluxCD are popular for a reason!

      I think that should cover the basic setup so you may scale your CRUD app without worries!

    • u_tamtam@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      Rule of thumb for kubernetes, if you are learning it “for fun” or on your own, you are not gonna need it :)