| Objective | Description |
|---|---|
| Create a GCP account | Sign up for Google Cloud Platform and configure billing. |
| Learn GKE fundamentals | Understand Kubernetes architecture and Google Kubernetes Engine (GKE). |
| Set up a GKE cluster | Deploy and initialize a Kubernetes cluster on GCP. |
What We Achieved
-
GCP Account Setup
- Registered for a Google Cloud Platform account.
- Enabled billing and configured IAM permissions.
-
GKE Fundamentals
- Explored key concepts: nodes, pods, control plane, and networking.
- Reviewed GKE-specific features like auto-scaling and regional clusters.
-
Cluster Provisioning
- Created a GKE cluster using the
gcloudCLI. - Retrieved credentials and verified the cluster’s health.
- Created a GKE cluster using the
Make sure your IAM user has the Kubernetes Engine Admin role before creating a cluster. Insufficient permissions will cause
gcloud container clusters create to fail.Essential gcloud & kubectl Commands
Always run
gcloud container clusters get-credentials before executing kubectl commands. This ensures your CLI is pointed to the correct cluster endpoint.Key Takeaways
- Defining sprint tasks is just the starting point; dive into related subtasks (e.g., authentication, IAM) for a deeper understanding.
- Hands-on practice with
gcloudandkubectlcements your GKE workflow. - Validating cluster connectivity early prevents common deployment headaches.
Next Steps: Sprint 03 Preview
In Sprint 03, we will:- Deploy a sample application using a Kubernetes Deployment and Service.
- Scale workloads with the Horizontal Pod Autoscaler.
- Perform rolling updates to achieve zero-downtime releases.