lucky-sideburn / kubeinvaders

Gamified Chaos Engineering Tool for Kubernetes
Apache License 2.0
1.02k stars 127 forks source link

bug when i start the game #29

Closed xiangpingjiang closed 4 years ago

xiangpingjiang commented 4 years ago

Hello,

When i just start the game, i find that there are some aliens are red. In my namespace, there three applications, and every time there are three aliens are red. I use the defold to see the console, next is the result:

DEBUG:SCRIPT: table: 0x7f81f4292c40 DEBUG:SCRIPT: [swap_pod] phase of nginx-1-1-build is Succeeded DEBUG:SCRIPT: [swap_pod] nginx-1-1-build is not running DEBUG:SCRIPT: [swap_pod] phase of nginx-2-1-build is Succeeded DEBUG:SCRIPT: [swap_pod] nginx-2-1-build is not running DEBUG:SCRIPT: [swap_pod] phase of nginx-3-1-build is Succeeded DEBUG:SCRIPT: [swap_pod] nginx-3-1-build is not running DEBUG:SCRIPT: [swap_pod]: pods not running pods in Kubernetes: 3 DEBUG:SCRIPT: [swap_pod]: pods running pods in Kubernetes: 15 DEBUG:SCRIPT: [swap_pod]: pods not running pods in KubeInvaders: 3 DEBUG:SCRIPT: [swap_pod]: pods running pods in KubeInvaders: 15

can you help me to solve this problem, thank you very much.

lucky-sideburn commented 4 years ago

Hi @xiangpingjiang can you please do kubectl get pods -n <yourtargetnamespace>or oc get pods --all-namespaces -n <yourtargetnamespace>? May be there is some pod that is a state different by "running".

xiangpingjiang commented 4 years ago

Thank you, there is some pod that is a state different by "running"

lucky-sideburn commented 4 years ago

gr8!! I think we should found a community of Kubeinvaders :D