Configurable ports when service type is NodePort#788
Configurable ports when service type is NodePort#788pinheadmz merged 4 commits intobitcoin-dev-project:mainfrom
Conversation
|
I think mechanically this is the right choice to get remote access to each pod individually. It seems more correct and kubernetes-y than #686 which addresses the same goal. Questions:
|
User would add the below to the node on their network configuration. Then it's accessible at
Haven't tested it, but according to Kubernetes docs it works just as: |
5649bd2 to
31739bc
Compare
|
Rebased |
31739bc to
6676377
Compare
|
Sorry about the long delay. Rebased on main mainly to refresh CI. WIll review today. |
|
fixed a nit in the doc and added a test |
|
adding new command |
1a8b9e5 to
01aca69
Compare
01aca69 to
7a9e6d0
Compare
|
Tested locally with macos using Docker Desktop and Minikube backends. Ran a remote cluster on digital ocean and tested that setup from debian. Along with the CI which runs ubuntu and Minikube, I think this is working as well as expected. The tricky part was Unfortunately there is no good way to test the feature on Macos using minkube backend, so I programmed the test to just skip if that is the condition |
|
@Jhoyola I think this is ready to merge, do you wanna take one last look and make sure I didn't break anything you need? |
|
Looks good to me. Thanks! |
For a simple and static way to connect to the node RPCs from host machine, the service type can be set to "NodePort". This PR makes it possible to fix static ports for each node to preconfigure a development environment based on warnet.