Skip to content

Commit

Permalink
update Go operator quickstart docs (#5636)
Browse files Browse the repository at this point in the history
* update Go operator quickstart docs

Include steps for running the operator locally in the quickstart

Signed-off-by: Bryce Palmer <bpalmer@redhat.com>

* update docsy-install link

update the docsy-install link as it has moved to a new url

Signed-off-by: Bryce Palmer <bpalmer@redhat.com>
  • Loading branch information
everettraven authored Apr 8, 2022
1 parent f9b59af commit 831a71a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions website/content/en/docs/building-operators/golang/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,24 @@ has a custom CA, these [configuration steps][image-reg-config] must be complete.
make undeploy
```
### Run locally (outside the cluster)
This is recommended ONLY for development purposes
1. Run the operator:
```sh
make install run
```
1. In a new terminal tab/window, create a sample Memcached custom resource:
```console
$ kubectl apply -f config/samples/cache_v1alpha1_memcached.yaml
memcached.cache.example.com/memcached-sample created
```
1. Stop the operator by pressing `ctrl+c` in the terminal tab or window the operator is running in
## Next Steps
Expand Down

0 comments on commit 831a71a

Please sign in to comment.