mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +00: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.
This commit is contained in:
parent
f3942e7ded
commit
1fd07e1978
@ -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