Giter Site home page Giter Site logo

Comments (7)

sebra729 avatar sebra729 commented on August 17, 2024 2

Thanks for the help @lucky-sideburn!

It was my setup that did not work properly. I am hosting kubeinvaders on a remote instance and had not resolved the ingress.hostName to the external ip of my remote host.

For others with the same problem. The application expects the ingress.hostName to be resolved client side. For example in my case it would try to fetch pods on "https://kubeinvaders.io/kube/pods?action=list&namespace=namespace1".

To make this work resolve kubeinvaders.io to the external ip of the host you are hosting kubeinvaders in.

Edit /etc/hosts
xxx.xx.xx.xx kubeinvaders.io

Then go to https://kubeinvaders.io and accept the security warnings

from kubeinvaders.

lucky-sideburn avatar lucky-sideburn commented on August 17, 2024

Hi!

Thank you for open the issue. Can you do the following procedure?

Open a terminal and do "kubectl logs <pod_of_kubeinvader> -n kubeinvaders -f"
Execute from another terminal curl "https://<your_kubeinvaders_url>/kube/pods?action=list&namespace=namespace1" -k

from kubeinvaders.

sebra729 avatar sebra729 commented on August 17, 2024

Sure!

curl "https://kubeinvaders.io/kube/pods?action=list&namespace=namespace1" -k
{"items":["hello-968574869-pc26c","hello-968574869-69bf7","hello-968574869-c4bbh","nginx-76d6c9b8c-86brg","nginx-76d6c9b8c-2t6xr","nginx-76d6c9b8c-qp88f","nginx-76d6c9b8c-zcg5f","nginx-76d6c9b8c-df2rq","nginx-76d6c9b8c-m2p6j","nginx-76d6c9b8c-kt5zd","nginx-76d6c9b8c-rxvfn","nginx-76d6c9b8c-pmhn9","nginx-76d6c9b8c-vskfm","nginx-76d6c9b8c-sd9x5","nginx-76d6c9b8c-8zdtz","nginx-76d6c9b8c-gp5t4","nginx-76d6c9b8c-8jbgp","nginx-76d6c9b8c-4j5dq","nginx-76d6c9b8c-7j22v","nginx-76d6c9b8c-vn6sv","nginx-76d6c9b8c-rmtzn","nginx-76d6c9b8c-vx5kp","nginx-76d6c9b8c-254fw","nginx-76d6c9b8c-prmxt","nginx-76d6c9b8c-rcxql","nginx-76d6c9b8c-hkfs4","nginx-76d6c9b8c-9stds","nginx-76d6c9b8c-6z4z7","nginx-76d6c9b8c-8mcd5","nginx-76d6c9b8c-mck27","nginx-76d6c9b8c-n95dp","nginx-76d6c9b8c-dxs4s","nginx-76d6c9b8c-zz7qz"]}

kubeinv.log

from kubeinvaders.

lucky-sideburn avatar lucky-sideburn commented on August 17, 2024

Do you see errors in the section developer tools of your browser?

from kubeinvaders.

lucky-sideburn avatar lucky-sideburn commented on August 17, 2024

@sebra729 I have created for you a version of the image with more verbose logs. Please use: luckysideburn/kubeinvaders:v1.9.6_debug

from kubeinvaders.

lucky-sideburn avatar lucky-sideburn commented on August 17, 2024

Thank you @sebra729! Do you like the web interface and logs web tail?

from kubeinvaders.

sebra729 avatar sebra729 commented on August 17, 2024

@lucky-sideburn yes it's great stuff!

from kubeinvaders.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.