<p>I'm trying to follow this step by step to upload the airflow in Kubernetes (<a href="https://github.com/EamonKeane/airflow-GKE-k8sExecutor-helm" rel="noreferrer">https://github.com/EamonKeane/airflow-GKE-k8sExecutor-helm</a>) but in this part of the execution I have problems as follows:</p>

<p>Researching on the topic did not find anything that solved so far my problem, does anyone have any suggestions of what to do?</p>

<pre><code>SQL_ALCHEMY_CONN=postgresql+psycopg2://$AIRFLOW_DB_USER:$AIRFLOW_DB_USER_PASSWORD@$KUBERNETES_POSTGRES_CLOUDSQLPROXY_SERVICE:$KUBERNETES_POSTGRES_CLOUDSQLPROXY_PORT/$AIRFLOW_DB_NAME

echo $SQL_ALCHEMY_CONN &gt; /secrets/airflow/sql_alchemy_conn
# Create the fernet key which is needed to decrypt database the database
FERNET_KEY=$(dd if=/dev/urandom bs=32 count=1 2&gt;/dev/null | openssl base64)
echo $FERNET_KEY &gt; /secrets/airflow/fernet-key

kubectl create secret generic airflow \
    --from-file=fernet-key=/secrets/airflow/fernet-key \
    --from-file=sql_alchemy_conn=/secrets/airflow/sql_alchemy_conn
</code></pre>

<blockquote>
  <p>Unable to connect to the server: error executing access token command
  "/google/google-cloud-sdk/bin/gcloud config config-helper
  --format=json": err=exit status 1 output= stderr=ERROR: gcloud crashed (BadStatusLine): '' If you would like to report this issue, please run
  the following command:   gcloud feedback To check gcloud for common
  problems, please run the following command:   gcloud info
  --run-diagnostics</p>
</blockquote>

Felipe FB
<p>I solved this by creating a new cloud shell tab to connect the cluster:</p>

<p><code>gcloud container clusters get-credentials testcluster1 --zone = your_zone</code></p>
