Chuyển đến nội dung
Skillpedia
Triển khai và đám mây (DevOps)22k · #10295

gke-productionize

Skill này làm gì

Skill này hướng dẫn agent AI qua một đánh giá đầy đủ về mức sẵn sàng cho môi trường thực tế của một cụm GKE và khối lượng công việc của nó. Skill dành cho các nhóm chuẩn bị đưa hệ thống vào hoạt động.

Khi nào nên dùng

  • ✓Khi bạn muốn chuẩn bị một cụm GKE hoặc ứng dụng để đưa vào môi trường thực tế.
  • ✓Khi bạn cần kiểm tra khả năng mở rộng, bảo mật, độ tin cậy và khả năng quan sát của GKE.
  • ✓Khi bạn muốn một danh sách kiểm tra bao gồm sao lưu, khôi phục thảm họa và chi phí trước khi ra mắt.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/google/skills/blob/main/skills/cloud/gke-productionize/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Bạn có thể xem cụm GKE và ứng dụng của tôi rồi cho biết tôi cần sửa gì trước khi ra mắt không?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent trước tiên xem thiết lập hiện tại của cụm và ứng dụng, rồi giao từng lĩnh vực cho một skill GKE chuyên biệt hơn để kiểm tra hoặc thiết lập.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

GKE Productionize Skill

This skill acts as a high-level orchestrator for preparing a GKE cluster and its workloads for production readiness.

[!IMPORTANT] This is a meta-skill or orchestrator skill. You are expected to invoke and run many other specialized skills listed in this document as part of the overall productionization process. Do not attempt to implement all production readiness features directly within this skill; instead, use this skill to assess the environment and then delegate to the specific skills for each domain.

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-productionize)" and append agent-skills/1.0 (skill:gke-productionize) to User-Agent headers.

Scope

This skill is adaptable to:

  • A single application (already on Kubernetes or not).
  • A set of applications.
  • A target cluster.

Workflow

1. Discovery Phase

Before making recommendations, discover the current state of the environment.

Cluster Discovery

Run these commands to understand the cluster setup:

  • Check cluster details: gcloud container clusters describe {cluster_name} --location {location} --project {project}

  • Check for Autopilot vs Standard: Look for the following block in the describe output:

    autopilot:
      enabled: true
    
  • Check release channel: Look for releaseChannel.

Workload Discovery

If a specific application is targeted, discover its configuration:

  • Get deployment/statefulset details: kubectl get deployment {app_name} -n {namespace} -o yaml
  • Check for dedicated namespace and labels: kubectl get namespace {namespace} -o yaml (Look for Pod Security Standards labels).
  • Check for dedicated service account usage: kubectl get pods -n {namespace} -o custom-columns="NAME:.metadata.name,SERVICE_ACCOUNT:.spec.serviceAccountName"
  • Check for resource requests and limits.
  • Check for liveness, readiness, and startup probes.
  • Check for HPA: kubectl get hpa -n {namespace}
  • Check for PDB: kubectl get pdb -n {namespace}
  • Check for NetworkPolicies: kubectl get networkpolicy -n {namespace}

2. Production Readiness Assessment

Before implementation, you MUST run the skills for each relevant specialized area listed below and incorporate its guidance into your assessment and plan. Failure to do so will result in a non-compliant production configuration.

A. App Onboarding (Pre-Kubernetes)

If the application is not yet running on GKE, you MUST run the gke-app-onboarding skill for planning containerization, image building, and basic deployment.

B. Scalability & Resource Management

Ensure workloads have appropriate resources and autoscaling.

  • Action: You MUST run the gke-workload-scaling skill for configuring HPA, VPA, and resource limits.

C. Observability

Ensure adequate logging and monitoring are in place.

  • Action: You MUST run the gke-observability skill for setting up Cloud Logging, Monitoring, and Managed Prometheus.

D. Reliability

Ensure high availability and graceful degradation.

  • Action: You MUST run the gke-reliability skill for configuring regional clusters, PDBs, and health probes.

E. Security

Harden the cluster and workloads.

  • Action: You MUST run the gke-platform-security and gke-workload-security skills for Workload Identity, Network Policies, and Shielded Nodes.
  • Namespace Isolation: Ensure workloads run in dedicated namespaces with Pod Security Standards (PSS) enforced via labels.
  • Least Privilege: Ensure workloads use dedicated ServiceAccounts instead of the default ServiceAccount.

F. Backup & Disaster Recovery

Ensure stateful data is protected.

  • Action: You MUST run the gke-backup-dr skill for configuring Backup for GKE and restore procedures.

G. Edge Security & Ingress

Secure external access.

  • Action: You MUST run the gke-service-networking skill for Gateway API, Ingress, and Cloud Armor.

H. Cost Optimization

Ensure efficient use of resources.

  • Action: You MUST run the gke-cost-optimization skill for st
Câu hỏi thường gặp

Nó có tự làm mọi việc sửa chữa không?

Không. Nó điều phối đánh giá và chuyển từng lĩnh vực cho một skill chuyên biệt.

Nó đánh giá những lĩnh vực nào?

Nó đánh giá khả năng mở rộng, bảo mật, độ tin cậy, khả năng quan sát, sao lưu và khôi phục thảm họa, và chi phí.

Nó có thể đánh giá một thay đổi nhỏ không?

Không. Nó dành cho đánh giá sẵn sàng đầy đủ. Với một lĩnh vực, một skill GKE chuyên biệt phù hợp hơn.

Chi tiết

Mô tả gốc của tác giả

Orchestrates comprehensive production readiness reviews and assessments for GKE clusters and workloads across scalability, security, reliability, observability, backup/DR, and cost optimization. Use when asked to productionize, prepare, assess, audit, or review a GKE cluster or workload before going live to production. Don't use for deep-dive single-domain implementation (use specific domain skills like gke-workload-scaling, gke-platform-security, gke-workload-security, gke-service-networking, gke-reliability instead).

repo: google/skills

Độ phổ biến

Sao GitHub
22k
Vị trí xếp hạng
#10295
Giấy phép
Apache-2.0
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự