lucky-sideburn / kubeinvaders

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

Install KubeInvaders on Openshift, is it necessary to create a router or ingress to make the route enable? #25

Closed xiangpingjiang closed 4 years ago

lucky-sideburn commented 4 years ago

Hi!

I am sorry for the delay but I was in vacation :D Yes for Openshift you should create a route

xiangpingjiang commented 4 years ago

@lucky-sideburn Thank you very much for the response, i use this command to install kubeinvaders in the openshift: oc process -f openshift/KubeInvaders.yaml -p ROUTE_HOST=$ROUTE_HOST -p TARGET_NAMESPACE=$TARGET_NAMESPACE -p KUBEINVADERS_SECRET=$KUBEINVADERS_SECRET | oc create -f - But i have the problem to connect to the endpoint. I think it's a problem of exposing the services outsides. I saw that the rout has been created, i have also resolve the adress with the ip of cluster. The ROUTE_HOST works, but i have always the problem to connect to the endpoint. So i want to know if i need to create a router or ingress in the openshift to enable the route?

Thank you

lucky-sideburn commented 4 years ago

So, you acceso to Kubeinvaders but it returns errors connecting to the endpoint?

xiangpingjiang commented 4 years ago

@lucky-sideburn Yes, and i use the minishift for the openshift.

another question about the command: oc adm policy add-cluster-role-to-user kubeinvaders-role -z kubeinvaders -n kubeinvaders

-z kubeinvaders what's this meaning? Thank you

lucky-sideburn commented 4 years ago

Hi! Please try now I made a fix. Check if OCP pull the lastest image of kubeinvaders. It should do it because of image pull policy applied into the deploymentconfig. -z is for service account.

xiangpingjiang commented 4 years ago

@lucky-sideburn Thank you very much, it works now.