Skip to content

nakamasato/memcached-operator

Repository files navigation

memcached-operator with Operator SDK (Go-based)

https://sdk.operatorframework.io/docs/building-operators/golang/quickstart/

Docs

Quickstart for Go-based Operators (GitHub Pages)

Prerequisite

Install the followings:

  1. operator-sdk: v1.32.0
  2. go: go1.20

You can upgrade the version with the following command:

./.upgrade-version.sh

Contents

  1. Create a project
  2. Create API (resource and controller) for Memcached
  3. Define Memcached API (Custom Resource Definition)
  4. Implement the controller
  5. Write controller tests
  6. Deploy Operator
  7. Continuous Integration

Update contents:

./.update-content.sh

Release

  1. Update version with ./.upgrade-version.sh in your local.
  2. Create a PR with release and merge it.
  3. GitHub Actions workflow publish-release will automatically make and publish a new release (internally using .publish-releas.sh).