bootstrap-repo
kustomize
Our great sponsors
bootstrap-repo | kustomize | |
---|---|---|
7 | 28 | |
17 | 10,550 | |
- | 1.4% | |
8.8 | 9.2 | |
7 days ago | 7 days ago | |
Shell | Go | |
- | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
bootstrap-repo
- Running certbot on nginx pod behind ingress nginx - 308 madness
- If you treat your cluster as ephemeral, how do you re-attach PVs and PVCs to your persistent storage?
-
Need help understanding ingress without reverse proxy or metallb.
So why am I telling you all this? Because this is how I point Kubernetes ingresses at apps which live outside the clusters. It's not entirely clear that is what you wanted, but hope this helps. I have more examples, there's a bit more to what I'm doing, since at the bottom line what I wanted was to use my one public IP address to manage more than one service. So that's where Traefik comes in, https://github.com/kingdonb/bootstrap-repo/blob/main/apps/routers/urbit-ships/socryx-topled-ingressroute.yaml
- Practical resources to learn GitOps
-
Does anyone know of a way to "save" and/or "load" cert-manager issued certs to s3 so they aren't constantly re-issued when a cluster is destroyed and rebuilt?
I save them to git, and restore them using GitOps. https://github.com/kingdonb/bootstrap-repo
- kingdonb/bootstrap-repo
-
Question for declarative GitOps managed shops
Using Helm via GitOps, you can pass in ridiculous collections of values that you would never use on the command line, mixing in secrets from secret sources, here is a complicated example (and here is a simpler one that doesn't do any patching.) Hope this helps. Usually when I show people Helm Controller, the reaction I get is "that's exactly what I wanted."
kustomize
-
Building a Kubernetes Operator with the Operator Framework
kustomize: brew install kustomize
- Kustomize deployment order
- Deploying helm charts with other resources
-
How and when to use Helm and Kustomize together
It's a built in feature of kustomize https://github.com/kubernetes-sigs/kustomize/blob/master/api/types/helmchartargs.go
-
Alternatives to Helm?
I think the combination of Kustomize and helm works in my experience. For advanced use cases, you can also see KRM functions in Kustomize.
-
How to pass dynamic values to Kustomize?
See for instance a related issue: https://github.com/kubernetes-sigs/kustomize/issues/3866
-
Help with Kustomize: cleanest way to replace an environment variable in a pod or deployment?
Using a strategic merge is the safest way so you avoid the index fragility.
-
Helm makes it overly complex, or is it just me?
Rendering out the manifests is something I have been pushing for. Not having to understand how every templating tool works and what actually is being changed is key. Though, it gets complicated when you use helm (or any templating/patching tool) that produces many variants. You also lose any release/deployment time hooks that are provided (helm hooks or recently "patched" kustomize env variables).
-
Deployment with ArgoCD & secrets in helm chart
https://github.com/kubernetes-sigs/kustomize/blob/master/examples/chart.md (edit: oh I see the other commenter also included this link, oops)
-
Monokle, Kustomize & Quality Kubernetes Deployments
Kustomize is an open-source project that “lets you customize raw, template-free YAML files for multiple purposes, leaving the original YAML untouched and usable as is.” It’s now the most popular tool for customizing Kubernetes manifests reasonably, and it’s even built directly into the Kubernetes CLI since K8s v1.14.
What are some alternatives?
tofu-controller - A GitOps OpenTofu and Terraform controller for Flux
helmfile - Deploy Kubernetes Helm Charts
csh-flux
kpt - Automate Kubernetes Configuration Editing
documents - 📑 Lasting documents from the GitOps Working Group which are versioned and released together (including the GitOps Principles and Glossary)
ytt - YAML templating tool that works on YAML structure instead of text
tailscale-k8s - Configuration Repo for Tailscale on Kubernetes (on kind-kind)
kubevela - The Modern Application Platform.
helm-operator - Successor: https://github.com/fluxcd/helm-controller — The Flux Helm Operator, once upon a time a solution for declarative Helming.
tanka - Flexible, reusable and concise configuration for Kubernetes
flux2 - Open and extensible continuous delivery solution for Kubernetes. Powered by GitOps Toolkit.
helm-charts - Prometheus community Helm charts