question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

kubeinvaders.local not accessible

See original GitHub issue

Thanks for this cool idea, I really like it 😄

I setup kubeinvaders in minikube using helm and no issues there. However I cant access kubeinvaders.local.

  1. From your client host do you resolve kubeinvaders.local?

No ( I verified with command: getent hosts kubeinvaders.local)

  1. Is the redirect to https working correctly?

I dont know

  1. If you do a curl directly to the kubeinvaders service which is the output?
kubectl get svc -n kubeinvaders 
NAME           TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)    AGE
kubeinvaders   ClusterIP   10.98.189.244   <none>        8080/TCP   60m

curl 10.98.189.244:8080
 
curl: (7) Failed to connect to 10.98.189.244 port 8080: Die Wartezeit für die Verbindung ist abgelaufen

Connection timed out.

But from inside the a pod it can connect to the ip:

kubectl exec busybox-sleep wget 10.98.189.244:8080 -n foobar
Connecting to 10.98.189.244:8080 (10.98.189.244:8080)
saving to 'index.html'
index.html           100% |********************************|  3863  0:00:00 ETA
'index.html' saved

The logs of the kubeinvaders pod:

172.17.0.1 - - [12/Nov/2019:08:23:48 +0000] "GET / HTTP/1.1" 200 3863 "-" "kube-probe/1.16" "-"
172.17.0.1 - - [12/Nov/2019:08:23:50 +0000] "GET / HTTP/1.1" 200 3863 "-" "kube-probe/1.16" "-"
172.17.0.1 - - [12/Nov/2019:08:23:58 +0000] "GET / HTTP/1.1" 200 3863 "-" "kube-probe/1.16" "-"

I noticed the Service has type: ClusterIP is this correct? Im not an kubernetes expert but I thought NodePort is that what we want (access from outside of the cluster)?

Anyways I appreciate any help to get this running 😄

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
lucky-sideburncommented, Nov 13, 2019

Thanks! I am looking for a DevOp Engineer if you want 😃

0reactions
WtfJokecommented, Nov 13, 2019

Thank you for your offer, but currently im not interested in a new job 😅

Read more comments on GitHub >

github_iconTop Results From Across the Web

KubeInvaders/README.md at master - GitHub
It seems that KubeInvaders does not work with EKS because of problems with ServiceAccount. At moment is not supported the installation of KubeInvaders...
Read more >
KubeInvaders - Gamified Chaos Engineering Tool for ...
Adopting chaos engineering strategies for your production environment is really useful, because it is the only way to test if a system supports ......
Read more >
Can't access service in my local kubernetes cluster using ...
If the cluster node is somewhere else and you want to make the port available on you local client , then just do...
Read more >
Provisioning a AKS cluster and KubeInvaders with Terraform
3) The “local-exec” provisioner remains useful to do additional work that cannot be managed directly by a Terraform module.
Read more >
chaos engineering tools for kubernetes
Comparing some of the available CNCF chaos engineering tools for testing fault tolerance ... KubeInvaders is a game so please do not take...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found