Comments (4)
I believe you could accomplish that with a shell script and kubectl port-forward
. Since you don't need to bind to multiple interfaces or have name resolution kubefwd
may be overkill IMO.
from kubefwd.
Aha... I was thinking that even w/o multi-interface binding and name resolution, it might still be reasonable to leverage other features in kubefwd
, e.g. allows to specify namespace, selector, context, kubeconfig, etc. So, an additional argument, say mode=fixed|random
, could support both.
But maybe you are right... I haven't thought about that on the other side... To use kubectl
w/ shell script or kubernetes client-go
may also be feasible... just not sure how much things overkilled...I will explore it. Thanks for your reply!
from kubefwd.
@morningspace im going to close this. I think a new project forked from kubefwd
might be a great way to experiment with this use case. Thanks for the input!
from kubefwd.
Sure... @cjimti thanks for your time on this!
from kubefwd.
Related Issues (20)
- app in() not work when using multiple different namespace HOT 3
- Kubefwd is not properly reconnecting when new pod is created HOT 5
- sudo-less option HOT 4
- [Discussion] Exposing the forwarded ports to a different pod in K8s
- unknown command "oidc-login" for "kubectl" HOT 2
- add insecure connect support HOT 1
- running kubefwd multiple times in parallel HOT 2
- Kubefwd not passing along app requests
- Option to display created Local Domains HOT 1
- windows host file didnot work HOT 1
- Forwarding of headless service is not showing up HOT 1
- No pods running error
- There are too many hostname aliases per line in a Windows hosts file
- Fish completions aren't working properly HOT 1
- WARN[18:55:59] WARNING: No Pod selector for service xxx.yyy, skipping HOT 1
- Option to restart forwarding on TLS connection reset. HOT 1
- aws eks: The config profile (prod/administrators) could not be found
- Unable to forward to gke cluster. HOT 2
- kubefwd cant save changings in hosts file HOT 4
- oidc-login not found on Linux HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubefwd.