New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[QUESTION] Auto deploying manifests? #122
Comments
Hey there, thanks for opening this issue 👍 Since k3d is just k3s in docker, you can use the E.g. Let me know, if that works for you :) |
Ah alright, yeah I guess that works too. I'll give it a try and let you know. It's slightly less than ideal though because I would prefer something that was as simple as (or close to what) If I create my custom k3s image with the manifests pre-baked in that location, that should work as well, right? I think using |
Baking the manifests into the image is definitely the most repeatable way to achieve this. The only alternative I can think of would be implementing something similar to Or applying the files from a network location. |
So, using I'll give the custom image a shot soon and can report back soon, but feel free to close the issue too. Thanks! |
So the first caveat is not solvable in the k3d scope and probably that would also not make too much sense, since you can use the |
@patoarvizu I just built |
Works perfectly, thanks! 👍 |
k3s-io/k3s#892 just got merged, so we can expect this to be included in the official rancher/k3s:v0.10.0 image 👍 |
Is there a configurable way to auto-deploy manifests, similar to what k3s allows you to do by placing manifests in
/var/lib/rancher/k3s/server/manifests
(https://rancher.com/docs/k3s/latest/en/configuration/#auto-deploying-manifests)? Or would the only way be to deploy a custom k3s image with the manifests baked in?For context, the three use cases I have right now are:
StorageClass
(like local-path-provisioner) is always bootstrapped.HelmChart
CRD that is installed by default.Secret
to exist.Right now, every time I create a k3d cluster, I have to run 5 or 6 commands to get all of the above to work.
The text was updated successfully, but these errors were encountered: