The Ownkube CLI
okctl drives Ownkube from your terminal.
- Deploy from your shellokctl up ships the directory you are in
- Logs and rollbackstail a deploy, put an earlier one back
- JSON on every readadd -o json, script it in CI
brew install ownkube/tap/okctl Install okctl Homebrew, a binary or go install
-
Homebrew
macOS and Linux. Shell completions come with it.
brew install ownkube/tap/okctl -
A binary
macOS arm64 shown. Every OS and arch is on the latest release.
curl -sSL https://github.com/ownkube/ownkube-cli/releases/latest/download/ownkube-cli_darwin_arm64.tar.gz \ | tar -xz -C /usr/local/bin okctl -
From source
Needs a Go toolchain.
go install github.com/ownkube/okctl@latest
Quick start
Terminal
# Log in via your browser
okctl login
# Point this directory at a deployment, then build and ship it
okctl link
okctl up
# Watch it run
okctl deploy logs <deployment-id> -
Machine-readable
Add
-o jsonto any read command. -
Your own AWS account
okctl aws connectlinks it. The same commands work after that.
Common commands
-
okctl loginSign in through your browser -
okctl upBuild and deploy the current directory -
okctl linkLink this directory to a deployment -
okctl regions listList the regions you can deploy to -
okctl deploy statusCheck health and whether the URL is live -
okctl deploy logsTail logs from a deployment -
okctl deploy rollbackRoll back to an earlier revision -
okctl usage month-to-dateSee what this month has drawn from your wallet -
okctl billing walletCheck your wallet balance
Full command reference okctl <command> --help for flags.