From af680ed1d08aefed2942fe933f62010a762390b8 Mon Sep 17 00:00:00 2001 From: Nikhita Raghunath Date: Wed, 31 Jan 2018 00:56:18 +0530 Subject: [PATCH] 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 --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 95ba305a..e2776a21 100644 --- a/README.md +++ b/README.md @@ -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