Merge pull request #71512 from rkamudhan/patch-1

Update the go get to k8s.io/sample-controller
pull/564/head
Kubernetes Prow Robot 2019-02-15 06:39:51 -08:00 committed by GitHub
commit b0f65ca1cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,8 @@ This is an example of how to build a kube-like controller with a single type.
```sh ```sh
# assumes you have a working kubeconfig, not required if operating in-cluster # 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 . $ go build -o sample-controller .
$ ./sample-controller -kubeconfig=$HOME/.kube/config $ ./sample-controller -kubeconfig=$HOME/.kube/config