From fb61aa2aa1bf40ccd4ad28541b4e8dec27ffbe3a Mon Sep 17 00:00:00 2001 From: Sean Sullivan Date: Fri, 23 Mar 2018 15:26:16 -0700 Subject: [PATCH] Controller type: StatefulSet versus Deployment --- docs/tools_user_guide.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/tools_user_guide.md b/docs/tools_user_guide.md index 23b613adeba..e1b73148053 100644 --- a/docs/tools_user_guide.md +++ b/docs/tools_user_guide.md @@ -156,6 +156,13 @@ OUTPUT_YAML_FILE=hack/install.yaml kubebuilder create config --name= --controller-image= --output=$OUTPUT_YAML_FILE ``` +The default controller type is a StatefulSet. If you want the controller manager to be +a Deployment, use the following command: + +```sh +kubebuilder create config --name= --controller-image= --controller-type=deployment --output=$OUTPUT_YAML_FILE +``` + This generates the YAML config to create the following resources: * Namespace