tilt-dev / tilt-dev/tilt-extensions

[FEATURE] uibutton - Option to execute argv inside pod (on one or on each)

Open
#672 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Starlark
Stars
243
Forks
194
Avg merge
3d 4h
Merged PRs (30d)
5

Description

I tried to use uibutton extension and got disappoined that button cannot execute commands inside pods even with location=location.RESOURCE, and resource fields being set. The only option now (probably, haven't tried yet) is to connect to the pod via argv= field.

Such workaround makes even simplest commands like ls or pwd look terrifying.

I'm curios whether it's possible to implement such functionality via field like execute_locally=False.

I've never being using several pods within Tilt, but to my mind in that case one more additional field like execute_on can ask user what pods should run arvg (e.g. "all", "0", "1", ...).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the uibutton extension and tracing how its argv, location, and resource fields launch commands. Define the expected behavior for one pod and multiple pods, then verify that commands can run inside the selected pods without requiring users to construct connection arguments themselves.

Written by the indexing model from the issue text.

Assessment

Tech stack
kubernetes
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.