Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. minikube start --profile=asia
  2. minikube start --profile=europe
  3.  
  4. kubefed init lcloud
  5. --host-cluster-context=asia
  6. --dns-provider="coredns"
  7. --dns-zone-name="example.com."
  8. --dns-provider-config="/abs/path/to/coredns-provider.conf"
  9. --api-server-service-type=NodePort
  10. --apiserver-enable-basic-auth=true
  11. --apiserver-enable-token-auth=true
  12. kubefed join asia
  13. kubefed join europe
  14.  
  15. curl -i http://nginx.default.lcloud
  16.  
  17. curl: (6) Could not resolve host: nginx.default.lcloud
  18.  
  19. job:~$ cat coredns-provider.conf
  20. [Global]
  21. etcd-endpoints = http://etcd-cluster.default:2379
  22. zones = example.com.
  23. coredns-endpoints = 10.0.0.11:53
  24.  
  25. job:~$ kubectl version
  26. 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"}
  27. 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"}
  28.  
  29. job:~$ minikube version
  30. minikube version: v0.21.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement