lucky-sideburn / kubeinvaders

Gamified Chaos Engineering Tool for Kubernetes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Namespace undefined

tskyler opened this issue · comments

When I install in GKE namespace says undefined, no matter what namespace(s) (existing or non-existing) I specify

Hi @tskyler,

Just installed Kubeinvaders on GKE. I don't see undefined ns..

Below the step I followed:

kubectl create namespace1
kubectl create namespace2
helm repo add kubeinvaders https://lucky-sideburn.github.io/helm-charts/
kubectl create namespace kubeinvaders
helm install kubeinvaders --set-string target_namespace="namespace1,namespace2" -n kubeinvaders kubeinvaders/kubeinvaders --set ingress.hostName=kubeinvaders.io --set image.tag=v1.9

helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
helm repo update
helm install nginx-ingress ingress-nginx/ingress-nginx

Added into kubeinvaders ingress this annotation:

kubernetes.io/ingress.class: "nginx"

@lucky-sideburn I followed the steps which are mentioned as above, I am also getting undefined error. My cluster is on Digital Ocean.

@tskyler @lucky-sideburn I think it is due to ingress.

image

Hi @QAInsights

you added a wrong endpoint -set ingress.hostName=kubeinvaders.io

Please use an address that you can reach via http

Yes @lucky-sideburn i set ingress as kubeinvaders.io

Still not working when I launch https://kubeinvaders.io :(

@QAInsights it is normal. Please use an host different from kubeinvaders.io :D

@lucky-sideburn I tried with the below command, still not working :(

helm install kubeinvaders --set-string target_namespace="default" \
-n kubeinvaders kubeinvaders/kubeinvaders --set ingress.hostName=kubeinvaders.local \
--set image.tag=v1.9

@QAInsights do you resolve the name kubeinvaders.local?

@lucky-sideburn No :) I did not see any instructions in readme. Could you please share the sample entry?

@lucky-sideburn NVM, able to add it. I will submit a PR for the detailed instructions. :)