-
-
Notifications
You must be signed in to change notification settings - Fork 620
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
[common] Add affinity to common chart #27352
Comments
Quick work around until this is implemented (and also the string -> bool issue is fixed) Try this: |
@stavros-k this works, thanks! |
Affinity will need a bit more work, as I will have to template the spec and add validations and tests. |
I suggest not going over affinity for now, we've WAY more things with a higher prio, both in common and in the new required tooling. |
This is pretty important feature for any and all charts with multiple pods that mount the same PVC, which many truecharts do, see almost any of the *arr stack. This makes deploying these charts on multi node clusters very painful. If you're going to implement a common chart you should finish up the k8s spec so you can actually utilize these charts in more then just your own homelabs on truenas. |
TrueNAS is deprecated since couple of months now. Importance is relative. There are other things currently that have priority. If you feel this feature is important to you, consider opening a discussion on discord to discuss specifics on the implementation and then follow up with a PR. I don't get the "Finish up the k8s spec". We are not looking to implement every little corner of k8s spec unless there is a need for it. Even if we did, not everything would be exposed to user to change. Because if we do, it would be pretty close to defining your own k8s objects. |
Sane defaults are needed, the whole idea of a helm chart is to expose the relevant bits and allow them to be configurable.
this is helm charts in a nutshell |
Well if you check our common, almost everywhere there is a bit of "magic" involved to actually reduce boilerplate and/or added validation. So there won't be a plain "take this and put it there" approach. At least by my side. But anyone is free to implement it (after discussing it first on the dev channel in discord) |
@Kampe I don't get your attitude. Just because you want something, doesn't mean its a priority for us, the magic of opensource is that you can add it yourself. I also completely don't get the need for this in, for example the *arr stack. The actual issue seems to be that you don't run RWX compatible storage and want node-affinitiy to deal with that. That's completely fine and understandable, but don't go run in here having an attitude while we're working our asses off just because your precious feature wasn't added in a month. |
The only thing you have accomplicated here, is that this issue is now getting locked, preventing other people from responding. Congrats. |
Also: we don't allow discussions on Github, that's what we use discord for. |
Is your feature request related to a problem?
I use some charts from truecharts in my home k8s cluster with some nodes.
I need not to schedule some apps to nodes, which got gpu. So affinity is the best way to do this.
Describe the solution you'd like
And in chart something like this:
Describe alternatives you've considered
I tried:
but got error:
Additional context
I found, that it was in plan, but not realized in #2266
Thanks
I've read and agree with the following
The text was updated successfully, but these errors were encountered: