3 ms·
I can’t think of a worse way to manage Kubernetes than Terraform. After years of running into issues, I think it’s really only suitable for small clusters. Cl
by davewritescode 4y ago
I can’t think of a worse way to manage Kubernetes than Terraform. After years of running into issues, I think it’s really only suitable for small clusters.
ClusterAPI has been the way my company has been doing things lately and I can honestly tell you it’s been transformative.
https://github.com/kubernetes-sigs/cluster-api https://github.com/kubernetes-sigs/cluster-api
There’s nothing more amazing that updating a kubelet version in a git repo and watching ClusterAPI carefully cordoning off nodes and moving our workloads to new machines while I sit back and watch via ArgoCD.
- MuffinFlavored 4y agoHow does ClusterAPI compare to Helm charts (or just managing Kubernetes YAML manually or through Kustomize?) Why do you need clusterctl / clusterawsadm? Can't you just kubectl apply once you have your .kube/config set up for your AWS k8s cluster (or Azure or GCP or whatever)?
- dilyevsky 4y agoCluster API is just CRDs to manage cluster infrastructure itself. Clusterctl and co is to manage controllers that reconcile said CRDs
- MuffinFlavored 4y ago> CRDs CustomResourceDefinition for anybody else following along https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/ https://kubernetes.io/docs/concepts/extend-kubernetes/api-ex...
- davewritescode 4y agoCluster API allows you to create clusters with helm charts. We use ClusterAPI + a centralized ArgoCD to push our clusters that’s other teams can use but with all the required add-ons that the business says we need like security tooling and policy management.
- MuffinFlavored 4y agoCan you elaborate a little please? Helm charts don't let you create a cluster? Wouldn't it be easier for Helm to add that functionality as opposed to introducing "yet another" tool/layer in the k8s stack?