cortex-helm-chart icon indicating copy to clipboard operation
cortex-helm-chart copied to clipboard

Static port for cortex-nginx service

Open crisschomar opened this issue 2 years ago • 3 comments

I want to register Cortex(cortex-nginx service especially) in my own service discovery. The problem is that everytime I reinstall Cortex, cortex-nginx NodePort is changing. Correct me if Im wrong, but shouldn`t this chart give us possibility to define static NodePort for the cortex-nginx service?

crisschomar avatar Jun 21 '22 12:06 crisschomar

I want to register Cortex(cortex-nginx service especially) in my own service discovery. The problem is that everytime I reinstall Cortex, cortex-nginx NodePort is changing. Correct me if Im wrong, but shouldn`t this chart give us possibility to define static NodePort for the cortex-nginx service?

yep feel free to create an PR which introduces this logic. Although I think it's weird to do anything Node Port related 🤷

nschad avatar Jun 21 '22 14:06 nschad

I want to register Cortex(cortex-nginx service especially) in my own service discovery. The problem is that everytime I reinstall Cortex, cortex-nginx NodePort is changing. Correct me if Im wrong, but shouldn`t this chart give us possibility to define static NodePort for the cortex-nginx service?

Its certainly possible to pin a static port, but it seems like you'd be better off specifying an ingress pointing to the service. Would have to know more about your use case, but this does seem kinda odd.

TaylorMutch avatar Jul 11 '22 06:07 TaylorMutch

This issue has been automatically marked as stale because it has not had any activity in the past 30 days. It will be closed in 15 days if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 12 '22 04:08 stale[bot]