mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
Merge pull request #71512 from rkamudhan/patch-1
Update the go get to k8s.io/sample-controller
This commit is contained in:
commit
b0f65ca1cf
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user