Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- minikube start --profile=asia
- minikube start --profile=europe
- kubefed init lcloud
- --host-cluster-context=asia
- --dns-provider="coredns"
- --dns-zone-name="example.com."
- --dns-provider-config="/abs/path/to/coredns-provider.conf"
- --api-server-service-type=NodePort
- --apiserver-enable-basic-auth=true
- --apiserver-enable-token-auth=true
- kubefed join asia
- kubefed join europe
- curl -i http://nginx.default.lcloud
- curl: (6) Could not resolve host: nginx.default.lcloud
- job:~$ cat coredns-provider.conf
- [Global]
- etcd-endpoints = http://etcd-cluster.default:2379
- zones = example.com.
- coredns-endpoints = 10.0.0.11:53
- job:~$ kubectl version
- Client Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.2", GitCommit:"922a86cfcd65915a9b2f69f3f193b8907d741d9c", GitTreeState:"clean", BuildDate:"2017-07-21T08:23:22Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}
- Server Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.0", GitCommit:"d3ada0119e776222f11ec7945e6d860061339aad", GitTreeState:"clean", BuildDate:"2017-07-26T00:12:31Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}
- job:~$ minikube version
- minikube version: v0.21.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement