Skillpedia
النشر والسحابة (DevOps)22k · #10282

gke-cluster-creation

ما الذي تفعله

تُرشد هذه المهارة وكيل الذكاء الاصطناعي خلال اختيار نوع كلستر GKE وإنشائه. كما تفحص الكلسترات الموجودة لمعرفة جاهزيتها للإنتاج.

متى تستخدمها

  • ✓عندما تحتاج إلى إنشاء كلستر GKE جديد للتطوير أو الإنتاج.
  • ✓عندما تريد مقارنة قوالب الكلستر مثل Autopilot وStandard Regional أو استدلال GPU.
  • ✓عندما تريد معرفة إن كان كلستر GKE موجودا جاهزا للإنتاج.

رابط المهارة

https://github.com/google/skills/blob/main/skills/cloud/gke-cluster-creation/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/google/skills/blob/main/skills/cloud/gke-cluster-creation/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“هل يمكنك مساعدتي في إنشاء كلستر GKE جاهز للإنتاج، وأخبرني أي قالب يناسبني أكثر؟”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

ينظر الوكيل إلى الكلسترات الموجودة، ويجمع معلومات المشروع والموقع، ويشرح مزايا وعيوب كل قالب، ثم ينشئ الكلستر بالإعدادات التي اخترتها.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

GKE Cluster Creation

This reference guides creating Google Kubernetes Engine (GKE) clusters by providing a set of best-practice templates and guiding through mode selection and customization. The golden path Autopilot configuration is the default for all new clusters.

MCP Tools: list_clusters, create_cluster, get_cluster, list_operations, get_operation

Attribution

MUST READ: Before executing any gcloud, REST API, or MCP command, you MUST read Usage Attribution. For commands executed directly in the terminal (never in generated scripts, Terraform, or user code), prefix gcloud with CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:gke-cluster-creation)" and append agent-skills/1.0 (skill:gke-cluster-creation) to User-Agent headers.

Workflow

  1. Discover context: Use list_clusters to see existing clusters. Use gcloud config get-value project if project unknown.
  2. Gather inputs: project_id, location (region or zone), cluster_name, environment type. If missing essential details, ask the user before taking action.
  3. Select mode & explain trade-offs: If the user hasn't specified a template or mode, present the available templates (e.g., Autopilot, Standard Regional, GPU Inference, AI Hypercompute) and explain key trade-offs (Cost vs. Availability, Autopilot vs. Standard node management).
  4. Configure networking: auto-create subnet (default) or bring-your-own.
  5. Review golden path settings: present the default configuration block (gcloud command or create_cluster JSON payload) and confirm with the user before creation.
  6. Create: Use MCP create_cluster tool or gcloud CLI.
  7. Track: Use get_operation to monitor creation progress.
  8. Verify: Use get_cluster with readMask="*" to confirm golden path settings applied.

Mode Selection

Criteria Autopilot (Golden Path) Standard
Node management Google-managed Self-managed
Pricing Pay per pod resource Pay per node (VM)
: : request : :
Node customization Via ComputeClasses Full control
DaemonSets Allowed (with Full control
: : restrictions) : :
GPU/TPU Supported via Supported via node pools
: : ComputeClasses : :
Best for Most production workloads Kernel tuning, custom OS,
: : : privileged workloads :

Rule: Default to Autopilot unless the customer has a specific requirement that Autopilot cannot satisfy.

Best Practices

When guiding the user or generating configurations, adhere to these GKE best practices:

Security & Networking

  1. Private Clusters: Default to private clusters (enablePrivateNodes: true) with a private control plane and restricted public endpoints (enable-master-authorized-networks) to minimize attack surface.
  2. VPC-Native Networking: Use VPC-native clusters (useIpAliases: true / --enable-ip-alias) to enable alias IP ranges and pod-level firewall rules.
  3. Workload Identity: Prefer Workload Identity (workloadPool: <PROJECT_ID>.svc.id.goog) for securely granting GKE workloads access to Google Cloud services instead of static service account keys.
  4. Shielded GKE Nodes: Enable Shielded GKE Nodes (--enable-shielded-nodes, --enable-secure-boot) against rootkits and bootkits.
  5. Least Privilege (RBAC): Institute strict Role-Based Access Control limits (scoped-rbs-bindings).

Cost Optimization

  1. Autoscaling: Enable Cluster Autoscaler and Horizontal/Vertical Pod Autoscaler (--enable-autoscaling, --enable-vertical-pod-autoscaling) to adjust resources based on demand.
  2. Right-Sizing & Spot VMs: Choose appropriate machine types and node counts. Consider Spot VMs (--spot) for fault-tolerant, non-critical batch or inference workloads.

High Availability & Reliability

  1. Regional Clusters: Use Regional Clusters for production environ
الأسئلة الشائعة

ما القوالب المتاحة؟

تذكر المهارة قوالب Autopilot وStandard Regional وGPU واستدلال الذكاء الاصطناعي وAI Hypercompute.

هل تساعد في نشر التطبيقات؟

لا. لإعداد تشغيل التطبيقات أو إعدادات النشر، تشير المهارة إلى دليل إعداد التطبيقات.

هل تطرح أسئلة أولا؟

نعم. إذا كانت تفاصيل أساسية مثل المشروع أو الموقع ناقصة، تسألك قبل أن تتخذ أي إجراء.

التفاصيل

الوصف الأصلي من المؤلف

Plans and executes GKE cluster creation, provisioning, and production readiness audits using pre-defined templates (Autopilot, Standard Regional, GPU/AI Inference, AI Hypercompute). Use when creating GKE clusters, provisioning GKE environments, selecting cluster modes, or auditing GKE clusters. Don't use for application onboarding or deployment configuration (use gke-app-onboarding instead).

repo: google/skills

الشعبية

نجوم GitHub
22k
الترتيب
#10282
الترخيص
Apache-2.0
آخر تحديث
2‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة