Skip to content
Snippets Groups Projects
Commit 59190541 authored by Xueshan Feng's avatar Xueshan Feng
Browse files

Added remove docker installed kubectl.

parent 1de2b5f0
No related branches found
No related tags found
No related merge requests found
......@@ -18,6 +18,17 @@ Docker CE Edge installer come with experimental features in Docker Engine enable
Go [docker-for-mac Edge](https://download.docker.com/mac/edge/Docker.dmg) to install it. This tutorial is tested with Docker for Mac using Edge channel.
Docker for Mac Edge kubernetes integration installed `kubectl v.1.9` command in /usr/local/bin, which overrides what's installed in by brew. We need the latest `kubectl`
for some of the Kubernetes feature to work. Let's fix it and make sure `kubectl` version is 1.10.x:
```console
$ rm /usr/local/bin/kubectl
$ brew reinstlal kubectl
$ kubectl version -c
Flag shorthand -c has been deprecated, please use --client instead.
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.1", GitCommit:"d4ab47518836c750f9949b9e0d387f20fb92260b", GitTreeState:"clean", BuildDate:"2018-04-13T22:29:03Z", GoVersion:"go1.9.5", Compiler:"gc", Platform:"darwin/amd64"}
```
## Enable the kubernetes cluster
Click the `Docker` icon in the status bar, go to `Preferences`, and on the `Kubernetes` tab, check *Enable Kubernetes*. This will start a single node Kubernetes cluster. This might take a while - have a cup of tea and wait for the Kubernetes cluster to be ready.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment