Documentation

Installing a Dev Environment for Astronomer


GCP

  • Install Google Cloud CLI Google Cloud SDK
  • Initialize gcloud to use your Google Cloud Project gcloud init'
  • Ensure you have gcloud command line utility installed
  • Login with gcloud auth login
  • Ensure you have kubectl command brew install kubernetes-cli
  • Ensure you have helm installed and updated. On mac it's brew install kubernetes-helm. You may need to run helm repo update and/or helm init --client-only.
  • Get kubernetes admin permission on your Google Cloud account
  • Download Astronomer helm charts locally git clone git@github.com:astronomer/helm.astronomer.io.git

Note: if you work with multiple Kubernetes clusters, kubectx is a nice utility to switch context between clusters.

AWS

General

  • Install Kubernetes CLI, kubectl (On Mac: brew install kubernetes-cli)
  • Install Helm CLI, helm (On Mac: brew install kubernetes-helm) You may need to run helm repo update and/or helm init --client-only

Note: follow these instructions: https://docs.helm.sh/using_helm/#tiller-and-role-based-access-control if you run into this error: User "system:serviceaccount:kube-system:default" cannot get namespaces in the namespace "<your-namespace>"

  • Download Astronomer helm charts locally

    	```shell
    	git clone git@github.com:astronomer/helm.astronomer.io.git
    	cd helm.astronomer.io
    	git checkout <latest tag>
    	```

Note: if you work with multiple Kubernetes clusters, kubectx is a nice utility to switch context between clusters.