Comments (5)
You can use ssh tunneling as a workaround.
My example k8s environment is 3 nodes built with vagrant. I create ssh tunnel using command:
ssh -i ~/vagrant/k8s/.vagrant/machines/node1-master/virtualbox/private_key -L 127.0.0.1:3000:192.168.33.11:30002 [email protected]
Then spekt8 page can be accessed from local host with http://localhost:3000
from spekt8.
You can use ssh tunneling as a workaround.
My example k8s environment is 3 nodes built with vagrant. I create ssh tunnel using command:
ssh -i ~/vagrant/k8s/.vagrant/machines/node1-master/virtualbox/private_key -L 127.0.0.1:3000:192.168.33.11:30002 [email protected]
Then spekt8 page can be accessed from local host with
http://localhost:3000
this worked for me but just shouldn't be necessary. Please allow remote access instead of hardcoding localhost:3000
from spekt8.
Yep, same problem for me.
localhost:3000
is hardcoded, for example in
spekt8/src/client/supplement/fetch.js
Lines 4 to 7 in 0cdca49
and
and
from spekt8.
Same problem here.
from spekt8.
I have a really dirty workaround. I entered the container on the node running the pod with
sudo docker exec -it <PODID> bash
and then installed a text editor
apt-get update && apt-get install nano
then I edited the main.js file at /usr/src/app/dist and replaced all occurences of "localhost:3000" with the actual IP under which I made the webinterface accessiable
(FYI: kubectl port-forward --address 0.0.0.0 deployment/spekt8 3000:3000 if thats interesting for anyone. I could then just connect to <KUBERNETESMASTER_IP>:3000 on my workstation).
Then the webinterface worked on a reload. refresh button did not work, but I could reload again.
from spekt8.
Related Issues (19)
- namespace hardcoded to default HOT 20
- No acces to Kubernetes cluster depite of rbac authorization HOT 13
- any way to see pod names instead of "Pods" ?
- Ingress-rules not displayed (just the default host)
- Refresh continues to append to list of components in table view
- fabric8-rbac rolebinding is over-permissive HOT 3
- pod, service etc. JSON responses seem correct, yet nothing is visualised in the UI HOT 8
- Can't rebuild the project HOT 1
- Image only built for AMD64 ?
- Service/Pod connection broken when selector contain multiple labels
- hardcoded localhost:3000
- it supports network graph between pods ?
- Spekt8 doesn't show my pods, services and ingress HOT 1
- UnhandledPromiseRejectionWarning / daemonset REST Endpoint Failure HOT 1
- Local installation using Docker
- Dockerhub image is not up to date HOT 1
- Support for Mac M1 (arm64)
- No output; error in logs HOT 8
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 spekt8.