flyte icon indicating copy to clipboard operation
flyte copied to clipboard

feat: add custom port support for sandbox

Open muskan-creates352 opened this issue 6 months ago • 1 comments

Tracking issue

Closes #7346

Why are the changes needed?

Currently the sandbox uses fixed port mappings internally, so users cannot run the sandbox on custom ports when the default ones are already occupied.

What changes were proposed in this pull request?

  • Added support for custom sandbox port mappings through a new --ports flag.
  • Updated sandbox configuration to accept custom port mappings.
  • Updated sandbox startup logic to use custom ports when provided.
  • Preserved existing default behavior when no custom ports are supplied.

How was this patch tested?

  • Ran go build ./...
  • Verified flytectl sandbox start --help
  • Confirmed the --ports flag appears correctly.

muskan-creates352 avatar May 10 '26 06:05 muskan-creates352

Could you resolve the merge conflicts?

pingsutw avatar May 13 '26 07:05 pingsutw