This assumes you have the following installed locally:
- docker
- helm (tested with v3)
- kubectl
- gcloud
- Create GCP project
- Enable Kubernetes Engine
- Enable Cloud Filestore API
- Create a new key on the service account
test-deployin the GCP project. Your JSON key-file will be automatically saved to your computer. Move it tosecrets/gcp, rename it toservice-account.jsonand authenticate your gcloud CLI with:gcloud auth activate-service-account --key-file secrets/gcp/service-account.json
- Create and enter conda environment:
conda env create -f dev_environment.yml conda activate codehub
- Install CLI:
pip install --editable . - You can now use the CLI by typing:
- Create cluster
codehub createcluster -n <cluster-name>
- Upgrade cluster
codehub upgradecluster -n <cluster-name>
- Scale cluster
codehub scalecluster -n <cluster-name>
- Delete cluster
codehub deletecluster -n <cluster-name>
- Delete nfs
codehub deletefs -n <cluster-name>
- Get cluster IP
codehub getip -n <cluster-name>
- Create cluster