Prerequisites¶
Terraform¶
Install Terraform.
Kubernetes cluster configuration¶
- Install tanka
- On Linux, after downloading the binary per instructions, run
sudo chmod +x /usr/local/bin/tk - Confirm successful installation with
tk --version - Optionally install Jsonnet if editing the jsonnet templates.
TBD
Database configuration¶
TBD
Install CockroachDB to generate CockroachDB certificates.
- These instructions assume CockroachDB Core.
- You may need to run
sudo chmod +x /usr/local/bin/cockroachafter completing the installation instructions. - Confirm successful installation with
cockroach version
Cloud CLI client¶
- Install and initialize AWS CLI.
- Confirm successful installation with
aws --version. - If you don't have an account, sign-up: https://aws.amazon.com/free/
- Configure terraform to connect to AWS using your account.
- We recommend to create an AWS_PROFILE using for instance
aws configure --profile aws-interuss-dssBefore runningterraformcommands, run once in your shell:export AWS_PROFILE=aws-interuss-dssOther methods are described here: https://registry.terraform.io/providers/hashicorp/aws/latest/docs#authentication-and-configuration
- Install and initialize Google Cloud CLI.
- Confirm successful installation with
gcloud version. - Check that the DSS project is correctly selected: gcloud config list project
- Set another one if needed using:
gcloud config set project $GOOGLE_PROJECT_NAME - Enable the following API using Google Cloud CLI:
compute.googleapis.comcontainer.googleapis.com- If you want to manage DNS entries with terraform:
dns.googleapis.com - Install the auth plugin to connect to kubernetes:
gcloud components install gke-gcloud-auth-plugin - Run
gcloud auth application-default loginto generate credentials to call Google Cloud Platform APIs. - If the result of performing the authorization indicates 404 in the browser, check whether a local dummy-oauth instance is running (using port 8085). Stop the dummy-oauth instance if it is running.