Re:Kustomize – Templating in Kubernetes
by quickthrower2 on Saturday April 20, 2019 @03:34AM
(#19705291)
That's a question I ask myself. I use Kubernetes because I inherited a Terraform/Kubernetes project. I like the way it all works now I have learnt it, but I wouldn't have been brave enough to set that lot up on my own. I'd probably use a VM and Shell script. But I'm glad for the experience.
[ Parent
| on HN ]
Re:Kustomize – Templating in Kubernetes
by speedplane on Saturday April 20, 2019 @03:43AM
(#19705309)
> I use Kubernetes because I inherited a Terraform/Kubernetes project... but I wouldn't have been brave enough to set that lot up on my own. I'd probably use a VM and Shell script.
If you use a shell script to handle a cluster with a dozen docker images and nodes, with intermittent crashes, out-of-memory issues, running out of disk, or network failures, your shell script will be so complex that you will basically need to recreate kubernetes from scratch.
Re:Kustomize – Templating in Kubernetes
by quickthrower2 on Saturday April 20, 2019 @05:26AM
(#19705574)
Good point. The setup is quite simple in terms of number or containers/nodes. We are using Azure so would probably use cloud features to do the things you mention. A load balancer and a couple of VMs for example, with auto scaling set up.
Re:Kustomize – Templating in Kubernetes
by speedplane on Sunday April 21, 2019 @03:30AM
(#19710970)
> The setup is quite simple ... We are using Azure so would probably use cloud features ... [a] load balancer and a couple of VMs for example, with auto scaling set up.
Load balancing and auto-scaling are some of the more basic and popular services that kubernetes provides. If your platform already provides them for you, it makes the case for kubernetes weaker. That said, kubernetes can be run on multiple cloud providers, and provides far more features.
Once the complexity of the cluster grows, and vendor lock-in issues increase, kubernetes makes more and more sense.