kurtosis-tech / kurtosis

A platform for packaging and launching ephemeral backend stacks with a focus on approachability for the average developer.
https://docs.kurtosistech.com/
Apache License 2.0
382 stars 55 forks source link

Access public_ports from ServiceConfig #2497

Open nidhi-singh02 opened 5 months ago

nidhi-singh02 commented 5 months ago

Background & motivation

AFAIK currently ports are being exposed randomly if no public_ports is specified. Since these ports are random, do we have a way to access it from the service.

I see a API method https://docs.kurtosis.com/engine-apic-reference/#getpublicports---mapportid-portspec which is possible in golang and Typescipt, I want to get the public port in my starlark package.

Desired behaviour

Access public ports of a service in starlark package

How important is this to you?

Painful; the lack of this feature makes using Kurtosis frictionful.

What area of the product does this pertain to?

Other: anything not covered by the above

garyng2000 commented 5 months ago

yes, this makes it only good for local personal dev

nidhi-singh02 commented 4 months ago

Yes, A feature request for this would be super helpful , when are you guys planning to have this one on the roadmap ?