Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow service port and type to be configurable #86

Open
abhi1693 opened this issue Jan 12, 2025 · 2 comments
Open

Allow service port and type to be configurable #86

abhi1693 opened this issue Jan 12, 2025 · 2 comments

Comments

@abhi1693
Copy link

I run my k8s on openstack and it requires a service of type LoadBalancer or NodePort to be able to expose the app. Since the service type is hard-coded, I have to manually update the type after every upgrade. I also want to be able to change the port so that I can redirect traffic from port 80 -> 8000

@rubenfiszel
Copy link
Contributor

You can pass PORT as env variable to override the app port

@abhi1693
Copy link
Author

But that doesn't change the service kind type and the port. Since those are hard coded, only way is to edit the manifest after every upgrade

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants