RASA X - Kubernetes Cluster Unreachable Error using Github Actions

For Google Kubernetes Engine I needed to add the following step BEFORE the action server building step:

#Setup GcloudCLI
- uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
  with:
    service_account_key: <YOUR GOOGLE APPLICATION CREDENTIALS>
    project_id: <YOUR PROJECT ID>

# Configure Docker to use the gcloud command-line tool as a credential
# helper for authentication
- run: |-
    gcloud --quiet auth configure-docker

- run: |-
    gcloud components install kubectl

- run: |-
    gcloud container clusters get-credentials <YOUR-CLUSTER-NAME> --zone <YOUR-ZONE> --project <YOUR-PROJECT-ID>
1 Like