Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minikube setup doesn't work in China due to firewall #76

Closed
alvinwo opened this issue Jan 12, 2017 · 7 comments
Closed

Minikube setup doesn't work in China due to firewall #76

alvinwo opened this issue Jan 12, 2017 · 7 comments

Comments

@alvinwo
Copy link

alvinwo commented Jan 12, 2017

When I'm going to create a nodejs environment with tutorial, I get stuck.

fission env create --name nodejs --image fission/node-env

There is no response with my terminal. I'm using fission on Mac.

@soamvasani
Copy link
Member

Did you set $FISSION_URL? Does fission env list work?

@alvinwo
Copy link
Author

alvinwo commented Jan 13, 2017

Yes, I've set $FISSION_URL
2017-01-13 10 14 19
Also, I cannot get any response with 'fission env list'.
Minikube has been started already. Is there anything wrong with my operations?

@soamvasani
Copy link
Member

Sorry you're having trouble with this. Can you check the status of the fission services and pods?

kubectl --namespace fission get services
kubectl --namespace fission get pods

Also, can you post the output of kubectl --namespace fission logs controller-xxx-yyy | tail -50 where controller-xxx-yyy is the name of the controller pod from the previous command?

BTW, if you want quicker help feel free to drop into the slack channel, http://slack.fission.io/

@soamvasani soamvasani changed the title create env No response to fission env CLI commands while using fission on minikube Jan 13, 2017
@alvinwo
Copy link
Author

alvinwo commented Jan 13, 2017

hi, here is the results for these commands
2017-01-13 12 09 54
I cannot get logs from the controller.

@soamvasani
Copy link
Member

soamvasani commented Jan 13, 2017

We spoke on slack, and found that gcr.io is blocked in China, and so the pause container image can't be pulled, so the pods never come up.

I don't know if there's a good workaround. There's a github issue kubernetes/minikube#473, but I can't find instructions on exactly how to get around this.

@soamvasani soamvasani changed the title No response to fission env CLI commands while using fission on minikube Minikube setup doesn't work in China due to firewall Jan 13, 2017
@soamvasani
Copy link
Member

If you can reach docker hub, try destroying your minikube setup with minikube delete, and then try minikube start --extra-config=kubelet.PodInfraContainerImage=kubernetes/pause.

@soamvasani
Copy link
Member

Going to close this, the only useful thing we could do in fission is improve the error; filed issue #78 for that. @AaronWo please reach out on slack if you still need any help with setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants