Update the go get to k8s.io/sample-controller

Referring to the issue: https://github.com/kubernetes/sample-controller/issues/20#issuecomment-398716033
This commit is contained in:
Kuralamudhan Ramakrishnan
2018-11-28 15:36:01 +00:00
committed by GitHub
parent 3f47b4febd
commit 6d631e32f2

View File

@@ -42,6 +42,8 @@ This is an example of how to build a kube-like controller with a single type.
```sh
# assumes you have a working kubeconfig, not required if operating in-cluster
$ go get k8s.io/sample-controller
$ cd $GOPATH/src/k8s.io/sample-controller
$ go build -o sample-controller .
$ ./sample-controller -kubeconfig=$HOME/.kube/config