This section will explain about the project build around the Kubernetes environment within GCP.
kubectl and gcloud cli to your local machine.
kubectl command-line tool. Choose your platform and follow the steps from https://kubernetes.io/docs/tasks/tools/gcloud CLI. Follow the steps in https://cloud.google.com/sdk/docs/install. This is required later to authorize you to the GCP and fetch the kube config from the GKEgcloud auth login to authorize gcloud to access the GCP provided to your email addressgcloud config set project provider-serverless to set the active project to the development and staging environmentgcloud container clusters get-credentials dev-app-cluster-clone-1 --region=asia-southeast1
. This command will fetch the kubeconfig and add it to your config at $HOME/.kube/config and enables the kubectl command to connect to the Kubernetes environment in the GCPkubeconfig to the production environment in unoseamless project, repeat step 4 using unoseamless project name and repeat step 5 with dev-app-cluster cluster namekubectl command to manage the Kubernetes environment with the CLI. Learn the CLI further from the kubectl documentationTo monitor and manage the deployments in the Kubernetes environment, Lens offers a full features IDE with simple installation and is available in multiple platform. Follow Lens documentation to install it in your local machine
Withkubectl and gcloud CLI installed, you can now use Lens to view the Kubernetes environment through an IDE instead of wandering around the terminal.