79409564

Date: 2025-02-03 17:28:21
Score: 1
Natty:
Report link

Since you're on a Google Cloud Free Trial, your quota for SSD storage is limited to 250 GB, while the default GKE cluster requires 300 GB. You need to either:

Option 1: Use Autopilot Mode (Recommended) Autopilot clusters automatically manage resources and fit within the free-tier limits. This avoids storage quota errors.

Steps: 1.Go to Google Cloud Console → Kubernetes Engine.

2.Click Create → Select Autopilot Cluster.

3.Choose a Region (e.g., us-central1).

4.Set a Cluster Name (e.g., my-cluster).

5.Click Create and wait for provisioning.

Option 2: Use Standard Mode with Smaller Disk (Manual Setup) If you must use Standard mode, reduce the node size and disk usage:

Steps: 1.Go to Google Cloud Console → Kubernetes Engine.

2.Click Create → Select Standard Cluster.

3.Set Number of Nodes to 1 (instead of default 3).

4.Choose Machine Type:Select e2-medium (lower resource usage).

5.Under Boot Disk, change:

Click Create. 🔹 Final Steps: Connect to the Cluster

1.Go to Kubernetes Engine → Clusters.

2.Click on your cluster name.

3.Click "Connect" and follow the instructions.

💡 Key Takeaways Autopilot mode is the best option for free-tier users. If using Standard mode, reduce the disk size and switch to HDD storage. Check your quota under IAM & Admin → Quotas to see available resources. Would you like help deploying an application on the cluster after setup? 😊

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Himanshu Kala