I am honored to be with you today at your commencement from one of the finest universities in the world. Truth be told, I never graduated from college. This is the closest I’ve ever gotten to a college graduation. Today I want to tell you three stories from my life. That’s it. No big deal. Just three stories.
When nothing seems to help, I go look at a stonecutter hammering away at his rock perhaps a hundred times without as much as a crack showing in it. Yet at the hundred and first blow it will split in two, and I know it was not that blow that did it, but all that had gone before.
– Jacob Riis
pkg constants defines default values minikube will use later:
- DefaultMinipath:filepath.Join(homedir.HomeDir(), “.minikube”)
- config for vm
minikube will open default browser and navigate to Kubernetes UI when run
Or just print url of Kubernetes UI if run
minikube dashboard --url.
Before doing dashboard, minikube checks local cluster’s status, which uses below’s pkgs:
Read source code of minikube
First, you need go 1.8+ and set GOPATH and GOROOT correctly.Then, clone code:
git clone https://github.com/kubernetes/minikube.git $GOPATH/src/k8s.io
If you want to save time, you can add
--depth=1 to git:
git clone --depth=1 https://github.com/kubernetes/minikube.git $GOPATH/src/k8s.io
Then, build with default instruction