Panter cli tool for Kubernetes.
# yarn users
yarn global add @catladder/cli
# npm users
npm install -g @catladder/cli
Note: If you have @catladder/pipeline installed, upgrade it to >=4.0.0 before installing @catladder/cli.
You'll need:
- Google Cloud SDK (see installation instructions)
- Kubectl (see installation instructions)
- Cloud SQL Auth proxy (see installation instructions)
Afterwards, you need to connect to your cluster, e.g. gcloud container clusters get-credentials clustername --zone google-zone --project google-project-id
In most cases, you'll find the details on the Google Cloud cluster overview
It just works™
Catladder stores some preferences in ~/.catladder/preferences.yml
in case you want to change settings.
Check the documentation here.
if you add npm libs in cli, make sure to add them as dev-dependencies.
the reason is that we bundle all dependencies in the cli package, so that if you add that to your project, it won't install all @catladder/cli's dependencies.