-
Notifications
You must be signed in to change notification settings - Fork 167
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
Possibility to apply single lib/object? #742
Comments
You mean that you would want to eval a single attribute ( |
Sorry about mixing up the wording, but yes. |
I think you want a separate Tanka environment per application, then you can do this much simpler. |
In an ideal world definitly @Duologic , But this is a bigger "app" comprised of lots of services, that currently is being migrated from a rather monolithic docker-swarm to kubernetes - which involves a handful of other problems (initalisation of services, one service cant work without the other, etc..). Therefore we decided to migrate first and split it up later. |
Currently, I've resorted to commenting out specific attributes to emulate this behavior. It's not a great UX. Resorting to one environment per app breaks the design philosophy of one environment per folder (unless you can nest them, I haven't attempted this yet). Is there an alternative I'm missing here? |
@jmgilman Haven't found one so far. I really like to see @julienduchesne idea of specificy an attribute or attribute-path. |
@strowi Would it perhaps help if you use inline environments and have those components that you want to apply in one env while all the rest somewhere else for now? |
@zerok this is a bit connected to #801, for now i've resorted to prefixing all resources with their name (should've done that from the beginning ;)). |
Hi,
still progressing building our stack with tanka.;) I opted to create separate /lib/*-folders for deployments like rabbitmq/redis/haproxy etc.
E.g.:
lib/haproxy
will contain sth. like:Instead of having to specify every k8s-object beneath this with "-t configmap/haproxy1 -t deployment/haproy -t ....", is there a way to apply a single lib/object (which is usually what you want during testing)?
I know in k8s i can usually just apply all, but for testing this sometimes takes time and requires some rollover of deployments etc..
So it could be really useful and a timesaver to apply only this 1 object.
regards,
strowi
The text was updated successfully, but these errors were encountered: