Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

HOW TO: expose multiple nodeports in Kubernetes(OKE) via single public IP adress

User_LEOWYMay 5 2022 — edited May 5 2022

Hello,

Is there any solution, how to expose multiple nodeports inside Kubernetes cluster via single public IP address?

Example:
prometheus nodeport: 30001
elastic nodeport: 30002

And all these nodeports will be handle by single public IP address. Then If I need to configure output for some app that needs to reach elastic I will use IP xxx.xxx.xxx.xxx:30002
Same with output for prometheus. The IP will be same xxx.xxx.xxx.xxx only nodeport will be different.
I know I can create LB for each of these but then I will have different IPs.

Is there any way how to do that?

Many thanks in advance.

Martin

Comments

Post Details

Added on May 5 2022
3 comments
1,633 views