tilt
tilt copied to clipboard
Improve k8s_resource with hidden or order option
Feature request
When the project include 50+ running pods may be convenient to have the ability to hide (collapse? ) some of them. Or put them to the bottom of the list.
Now there is no way to sort or hide the k8s_resource
(they are listed as they are represented in Tiltfile) when resources are build through tools like Helmfile or Helm.
IDK which option will be easier to implement, since both of them are applicable.
Ooh, interesting. What are you running that has 50 pods?
We've been interested in some additional visual hierarchy when you have lots of servers, but are not quite sure what direction to take it. I think this is the most I've heard of in a project using Tilt.
Are they all coming from a single Helm chart, or multiple Helm charts?
cc @hyu who's been thinking about this for some other users
Putting the application stack to local cluster. Application is very old (10+ years) and quite big, but after a few tests was found that it is possible to migrate to local cluster. The main goal is to standardize the development process.
So actually the code is a mix of own and community helm charts, a bit of kustomize, just to manage secrets in dev, some stand-alone manifests (like rbac for dev) and custom bash & ruby scripts. Some sort of devil mix :)
Some of the pods should be jobs (helm hooks) and complete in the beginning of the process. But this jobs may be on the top of the list.
As for me, it is just enough something like hidden: boolean
or weight: integer
field to be able to put this stuff down or hide. After second thought, put it down looks better and should be possible to implement. What do u think about it?
we are also running tilt with around 20 lines in the sidebar and it gets a little cluttered. i think a very simple filter bar on top of the sidebar to filter by text would actually be all i need.
we are running into a similar issue where items inside a label are not consistently ordered. organizing things with labels is great, but it would be even better if we could alpha sort the items within those labeled groups.