Skip to content

Commit

Permalink
Merge pull request #36 from seans3/docs-update
Browse files Browse the repository at this point in the history
Controller type: StatefulSet versus Deployment
  • Loading branch information
seans3 committed Mar 23, 2018
2 parents 0ba5e72 + fb61aa2 commit 0ddf457
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/tools_user_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,13 @@ OUTPUT_YAML_FILE=hack/install.yaml
kubebuilder create config --name=<my-project-name> --controller-image=<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=<my-project-name> --controller-image=<controller-image> --controller-type=deployment --output=$OUTPUT_YAML_FILE
```

This generates the YAML config to create the following resources:

* Namespace
Expand Down

0 comments on commit 0ddf457

Please sign in to comment.