sample-controller: document minimum kube version

The sample-controller uses apps/v1 deployments
since they became GA in 1.9. This means that
sample-controller does not support versions below 1.9.

Kubernetes-commit: 1fd07e197803d0d98bba7d7caa1e5111abd12d6b
This commit is contained in:
Nikhita Raghunath 2018-01-31 00:56:18 +05:30 committed by Kubernetes Publisher
parent 0b8ef8e981
commit af680ed1d0

View File

@ -29,6 +29,8 @@ This is an example of how to build a kube-like controller with a single type.
## Running
**Prerequisite**: Since the sample-controller uses `apps/v1` deployments, the Kubernetes cluster version should be greater than 1.9.
```sh
# assumes you have a working kubeconfig, not required if operating in-cluster
$ go run *.go -kubeconfig=$HOME/.kube/config