To play this lab, you need to:
- have a
Kubernetes
cluster available (here are the instructions to create one on Google Cloud GKE)
First of all, you have to connect onto your Google Cloud
account…
gcloud auth login
Follow the instructions.
#TODO: instructions needed here
gcloud projects create gitops-training-flux
export region='europe-west1-b'
export name='myk8scluster'
# Setup of the GKE cluster
gcloud container clusters create --region='europe-west1-b' 'myk8scluster'
# Once created (the creation could take ~5 min), get the kube configuration to interact with your GKE cluster
kubectl get nodes