Skip to content

cli-0.1.0

Compare
Choose a tag to compare
@github-actions github-actions released this 20 Dec 05:26
· 5 commits to master since this release
822e4dc

okctl 0.1.0

Introduction

okctl (Oceanbase Kubernetes ConTroL) is a powerful command line interface (CLI) tool compatible with ob-operator

okctl has the following features:

  • Cluster management, including creating, deleting, scaling, upgrading, etc.
  • Tenant management, including creating, updating, activating standby tenant, switchover of tenants, etc.
  • Backup policy management, including creating, resuming, pausing, etc.
  • Component installation and update, supporting ob-operator, ob-dashboard, cert-manager, local-path-provisioner now.
  • Interactive command for user to deploy a ob cluster and tenant easily.

Installation

Install okctl by scripts

You can install okctl with the following script,

curl -sL https://raw.githubusercontent.com/oceanbase/ob-operator/master/scripts/install-okctl.sh | bash

Build okctl from source code

Execute the following command to build okctl from source code,

make cli-build

If build successfully, you can find the binary file in ./bin/okctl, you can copy it to your PATH for convenience.

Special Thanks

Special thanks to @lizzy-0323 for his dedication and contributions to the development of okctl over the past few months! Let's move on together!

What changed

  • The first release of ob-operator CLI tool as okctl #131