News for hackers. Stuff that matters.
Re:Why is Kubernetes getting so popular? by mfer on Friday May 29, 2020 @04:03PM (#23354837)
Out of curiosity, are you using terraform to deploy k8s, your app stack on k8s, or both?
Re:Why is Kubernetes getting so popular? by throw1234651234 on Friday May 29, 2020 @04:15PM (#23354955)
To follow this - what do you feel K8S provides on top of terraform?

We used K8S on a large project and I felt like it really, really wasn't necessary.

Re:Why is Kubernetes getting so popular? by StreamBright on Friday May 29, 2020 @06:36PM (#23356388)
Nothing. We use Terraform to provision a simple auto-scaling cluster with loadbalancers and certs, does exactly the same thing but there is no Docker and k8s. Few million lines less Go code turning yaml filed into seggfaults.
Re:Why is Kubernetes getting so popular? by verdverm on Friday May 29, 2020 @04:43PM (#23355282)
Consistency and standardized interfaces for AppOps regardless of the hyper-cloud I use. Kubernetes basically has an equivalent learning curve, but you only have to do it once
Re:Why is Kubernetes getting so popular? by nvarsj on Friday May 29, 2020 @06:15PM (#23356178)
They operate at different layers. K8s sits on top of the infrastructure which terraform provisions. It's far more dynamic and operates at runtime, compared to terraform which you execute ad-hoc from an imperative tool (and so only makes sense for the low level things that don't change often).
Re:Why is Kubernetes getting so popular? by silviogutierrez on Friday May 29, 2020 @04:16PM (#23354981)
So terraform is a higher-order, meta-Kubernetes. It's very rarely used, but who provisions the cluster itself? That's terraform.

So terraform creates the cluster, DNS and VPC. Then k8s runs pretty much everything.

Re:Why is Kubernetes getting so popular? by mfer on Friday May 29, 2020 @05:32PM (#23355799)
How are you deploying the workloads into the cluster? Manual kubectl or Helm, GitOps with something like Flux, something else?
Re:Why is Kubernetes getting so popular? by wikibob on Friday May 29, 2020 @08:26PM (#23357244)
Spinnaker. Huge. Clunky. But excellent if you can justify it.
Re:Why is Kubernetes getting so popular? by silviogutierrez on Friday May 29, 2020 @05:42PM (#23355901)
Alas, still rely on bash for that. Practically a one liner.

Mainly just kustomize piped into kube apply.

But, but, but. Having to a create a one-off database migration script imperatively.

Re:Why is Kubernetes getting so popular? by ngcc_hk on Friday May 29, 2020 @06:35PM (#23356384)
Ooh!
Re:Why is Kubernetes getting so popular? by Sherl on Saturday May 30, 2020 @04:14AM (#23359429)
Some others are Tekton, Argo, KNative You could also use Jenkins with K8s deploy plugin (from MS Azure Devops team)
Re:Why is Kubernetes getting so popular? by pvorb on Friday May 29, 2020 @04:46PM (#23355327)
Why would you want to provision your own k8s cluster, if you can use EKS, AKS or similar?
Re:Why is Kubernetes getting so popular? by silviogutierrez on Friday May 29, 2020 @04:56PM (#23355446)
I don't. I use a cloud cluster. But that still has to be provisioned? You need to choose size, node pool, VPC, region, etc.
Re:Why is Kubernetes getting so popular? by cure on Friday May 29, 2020 @04:59PM (#23355488)
EKS, GKE and the like have a number of limitations. For example: they can be pretty far behind in the version of K8S they support (GKE is at 1.15 currently, EKS at 1.16; K8S 1.18 was released in at the end of March this year.
Re:Why is Kubernetes getting so popular? by kissgyorgy on Friday May 29, 2020 @04:52PM (#23355398)
One example I worked on myself: when you need to train lots of ML models and need lots of video cards. Those would be damn expensive in the cloud!