Skip to content

Instantly share code, notes, and snippets.

@brandoncox
Created March 6, 2023 02:10
Show Gist options
  • Save brandoncox/5345a0432251c66b1e03ab043c9ad74d to your computer and use it in GitHub Desktop.
Save brandoncox/5345a0432251c66b1e03ab043c9ad74d to your computer and use it in GitHub Desktop.
brew install operator-sdk
mkdir sample && cd sample/
operator-sdk init --domain example.com --repo github.com/example/memcached-operator
operator-sdk create api --group cache --version v1alpha1 --kind Memcached --resource --controller
make generate
make manifests
make deploy
make install run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment