kbld
ytt
kbld | ytt | |
---|---|---|
5 | 14 | |
281 | 1,589 | |
1.8% | 1.2% | |
8.0 | 7.0 | |
12 days ago | 14 days ago | |
Go | Go | |
Apache License 2.0 | 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.
kbld
-
K3S newbie question: How do I force a running Pod or Deployment to pick up a new Image?
Pipe your manifest through https://github.com/vmware-tanzu/carvel-kbld before deploying. It will resolve the image tags to digests.
-
How do you update your repos for ArgoCD?
you can also use a tool such as kbld which is capable of taking yaml that has a floating tag or specifier, building your image, pushing it to a registry, and then emitting the same yaml but with the floating tag locked down into a SHA.
-
(question) Getting Kubernetes to update deployment & understanding imagePullPolicy: Always
We use https://github.com/vmware-tanzu/carvel-kbld do workaround this issue. You can just pass your deployment.yaml to kbld and it will rewrite all image tags to their corresponding resolved digests. You can than pipe the result to kubectl apply or your deployment tool of choice (we use Kapp from the same developers as kbld).
-
How do you manage your updates?
From purely a container standpoint, for my home Kubernetes cluster, I use ArgoCD for deployment and wrote a little plugin to pipe the final manifests (generated through helm, kustomize, static files, whatever) through kbld. kbld replaces the image tag with the digest sha, which means ArgoCD sees it as a change to the manifest, and with auto-sync turned on deploys the latest image automatically. I've had my Argo applications configured this way for over a year with basically no issues.
-
Deploy Neo4J's APOC plugin with code thanks to CARVEL vendir
kbld - Build or reference container images in Kubernetes configuration in an immutable way
ytt
-
10 Ways for Kubernetes Declarative Configuration Management
YTT - YTT is a templating tool that understands YAML structure. It helps you easily configure complex software via reusable templates and user provided values using the Starlark language.
-
Alternatives to Helm/Kustomize for complex Kubernetes Deployments
Adding https://carvel.dev/ytt/ to the list. I was happy using this tool as IMO it mixes good things from Helm and Kustomize, however the syntax is ugly and repelling my colleagues to have a closer look.
-
The YAML Document from Hell
> Templating yaml is a terrible, terrible idea
I've had a good time using ytt: https://carvel.dev/ytt/. It implements language-aware templating, which is IMO the only reasonable way to do it.
-
Creating Kubernetes Templates
`ytt` is part of the Carvel toolchain. https://carvel.dev/ytt/
-
Dealing with YAML overload
I agree with you on `you will want to see just plain texts instead of a bunch of templating token with hidden logic.` Which is why I think https://carvel.dev/ytt/ would be great. We could generate these templates in pipelines, or we could just make it easier to maintain what we have.
-
How to handle the lifecycle of multiple COTS
For more advanced configuration management you might be interested in ytt ( https://carvel.dev/ytt/ ) which is a "yaml-aware" templating tool. it lets you do "patches" via an overlay mechanism to add or remove specific yaml blocks, and it also lets you use a simplified python dialect for more complicated logic. With ytt you would put your DNS IP into a "data values" file and then run ytt to render it into the configs before handing them off to the deployment tool. e.g. `ytt -f | kubectl apply`
-
The Dhall Configuration Language
I said this above as well: ytt (https://carvel.dev/ytt/) lets you embed starlark into valid yaml, among other cute tricks for managing biz-logic in configs.
-
ArgoCD Instance per kubernetes cluster? (staging and prod)
Manifests are generated with ytt (https://carvel.dev/ytt/).
- Dynamically creating yaml manifests?
-
YAML and Configuration Files
This is why you should consider https://carvel.dev/ytt/
What are some alternatives?
imgpkg - Store application configuration files in Docker/OCI registries
kustomize - Customization of kubernetes YAML configurations
kapp-controller - Continuous delivery and package management for Kubernetes.
cue - CUE has moved to https://github.com/cue-lang/cue
kapp - kapp is a simple deployment tool focused on the concept of "Kubernetes application" — a set of resources with the same label
tanka - Flexible, reusable and concise configuration for Kubernetes
asdf - k14s asdf plugin
strictyaml - Type-safe YAML parser and validator.
kwt - Kubernetes Workstation Tools CLI
hull - The incredible HULL - Helm Uniform Layer Library - is a Helm library chart to improve Helm chart based workflows
homebrew - Provides tools from https://carvel.dev via Homebrew package.
yaml-rust - A pure rust YAML implementation.