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

Complete the minikube tutorial #602

Open
wangkuiyi opened this issue Feb 6, 2018 · 13 comments
Open

Complete the minikube tutorial #602

wangkuiyi opened this issue Feb 6, 2018 · 13 comments
Assignees

Comments

@wangkuiyi
Copy link

The Running PaddlePaddle Cloud on Minikube tutorial doesn't explain how to verify the successful configuration of the minikube cluster.

I'd thought that we could follow this tutorial when we develop PaddlePaddle Cloud; however, it doesn't explain how to do the development work with minikube.

@wangkuiyi
Copy link
Author

Prerequisites

This section should be a step, not a section.

We only need the first of the two external links; it contains the second link.

@wangkuiyi
Copy link
Author

https_proxy=https://YOURPROXY:PORT minikube start --kubernetes-version v1.6.4

We need to explain why we need 1.6.4. here, if we do need this specific version; or, let's explain that any recent version works, or so.

@wangkuiyi
Copy link
Author

wangkuiyi commented Feb 6, 2018

  mkdir <yourpath>
  • mac
    Since Minikube mounts $Home path by default, we recommend creating the path under $Home which offers the flexibility of switching between directories in your deployment without stopping the MiniKube and mounting another one.
  • linux
    Mount path manually:
 minikube mount <yourpath>:<yourpath>

This step is very lengthy and confusing. I tried to rewrite it something like the following:

mkdir $HOME/workspace

If we are running Mac OS X, minikube would automatically mount $HOME to virtual machines. If we are running Linux, we need to mount manually:

minikube mount $HOME:$HOME

@wangkuiyi
Copy link
Author

cp ~/.minikube/ca.crt .
cp ~/.minikube/ca.key .

How/where comes the directory ~/.minikube?

@wangkuiyi
Copy link
Author

kubectl create -f cloud_ingress.yaml

How comes / where is cloud_ingress.yaml?

@wangkuiyi
Copy link
Author

Edit ~/.paddle/config like this:

into

Edit the configuration file of paddlectl, ~/.paddle/config:

@wangkuiyi
Copy link
Author

username:
password:

What should be the and ?

@wangkuiyi
Copy link
Author

You can use PaddlePaddle Cloud command line now.

How to use it? We need an example here to verify that the minikube cluster was successfully set up.

@wangkuiyi
Copy link
Author

FAQ

into

Troubleshooting

@putcn
Copy link

putcn commented Feb 6, 2018

got it, I will update the doc.

@gongweibao
Copy link
Collaborator

@putcn #463 (comment)

@putcn
Copy link

putcn commented Feb 7, 2018

i'm having issue while trying to follow this tutorial.

  1. looks v1.6.4 is no longer supported by minikube 0.25(the latest)
  2. my kubectl is not able to connect to api server created by minikube in Mac, with the following error
Unable to connect to the server: dial tcp 192.168.99.100:8443: i/o timeout

did some research, but no solution yet. @gongweibao is minikube working in your Mac?

@gongweibao
Copy link
Collaborator

gongweibao commented Feb 7, 2018

If you are in China, without proxy we can't download minikube's dependency successful.

Do you use

https_proxy=https://YOURPROXY:PORT minikube start --kubernetes-version v1.6.4

And then we should open a new terminal with no global https_proxy set and kubectl will succeed after the command upper.

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

3 participants