mirror of
https://github.com/kubernetes/sample-controller.git
synced 2025-02-20 23:56:23 +08:00
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:
parent
0b8ef8e981
commit
af680ed1d0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user