Conversation
it's enough to get you started, just install it and do a port-forward to :8080 and you'll have a demo status page at your disposal Resolves: valeriansaliou#63 Related: Signed-off-by: Daniel-Andrei Minca <mandrei17@gmail.com>
Resolves: Related:
Resolves: Related: Signed-off-by: Daniel-Andrei Minca <mandrei17@gmail.com>
Signed-off-by: Daniel-Andrei Minca <mandrei17@gmail.com>
|
there you go, added the Helm Chart push CI step as well :) Feel free to adapt it as needed. |
|
What's this used for? Sorry, not familiar with Helm Charts. |
|
Helm is a way to package an app for deploying it on Kubernetes, you'd use a helm chart in order to benefit from the templating language and keeping all manifests DRY. Sometimes, plain manifests are also good, but when you need to expose the app (ie. by creating a Some use GitOps to help provision these charts in an automated way, Flux is a practical example. |
|
That's a lot of overhead and things to maintain for me just for K8S. Wouldn't it be possible to have it provided by an external repository? I'm kind of not willing to add that much files in Vigil just for K8S, given that K8S is not what all people use. |
|
Now that I think about it you're actually right, the structure of the repo's not going to contain only the app code but also other tooling for deploying it on separate platforms/environments. Ok, I will close this PR then, but I don't know what do to next, I can just push all these into a separate repo, but not many people will be aware of its existence, so I'm not sure how to handle that. |
|
Could that be all stored in a single folder on this repo? Like a defs folder (for Helm but also any other definitions), not mixing up with the rest of the project. |
I would suggest to :
|
|
This is good PR. It's sad to see this will go away. Moving to other repos could mean it will not officially supported by Vigil itself. |
|
I'm willing to merge this, but since I'm not using k8s I won't maintain it over time as Vigil gets updated. Also, I'd like all those files to be nested in a sub-folder, ie. not to have k8s-related resources on the side of Vigil resources at the root. Would that be possible? Also, note that since the configuration file model has been since updated, I guess the PR would need to be updated in accordance w/ the changes. |
|
Please, consider that a helm chart is like a Linux package. And the same you won't host ALL possible packages (Debian, RPM, Ubunutu...) the Helm Chart should be manage out of this repo. IMHO, in regards to Kubernetes, the job of the current repo stop at providing an efficient Dockerfile. |
|
@gbonnefille Thanks. You'd then recommend hosting the Helm charts outside of this repository if I got you right? Such as in a |
|
I would call it something like vigil-helmchart. We can also find a lot of examples. A more ambitious (naming) change would be to create a Vigil organisation on GitHub and manage manay repositories like vigil/vigil and vigil/helm-charts (and perhaps vigil/website, vigil/demo...) |
|
A helm chart is not "like" a linux package. It's a set of files that are part of a templating system that render manifests that are to be deployed in a cluster. Standard practice nowadays is to host them next to your software, and have pipelines that make a helm release and publish it. Also, to accomodate non Helm users, a lot of projects add Kustomize files Motivations are strictly the same: people will like to deploy in a certain way, with some dependencies related to their version of Kubernetes or components already deployed... If you're looking for example of charts, build by a great community, These charts in an ideal situation would be hosted by the projects themselves but in many many cases we - k8s admins - find ourselves in these situations where there is analysis paralysis whether to start walking with the right or with the left foot. One of the greatest examples that i give to anyone looking for a boiler plate is: |
|
alright, closing this then. Thank you |
|
is there anyone working on this helmchart issue ? or it already done |
it's enough to get you started, just install it and do a port-forward to
:8080 and you'll have a demo status page at your disposal
Resolves: #63