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

gke-custom-golden-image-discovery

Skill này làm gì

Skill này giúp agent AI khớp thiết lập GKE của bạn với golden base image đúng. Skill dành cho người xây dựng node image tùy chỉnh nhưng chưa biết tên image chính xác.

Khi nào nên dùng

  • ✓Khi bạn cần một golden base image cho node image GKE tùy chỉnh.
  • ✓Khi bạn biết phiên bản GKE, hệ điều hành hoặc kiến trúc nhưng chưa biết tên image.
  • ✓Khi bạn muốn kiểm tra base image nào phù hợp với thiết lập node có gVisor hoặc bộ tăng tốc.

Liên kết skill

https://github.com/google/skills/blob/main/skills/cloud/gke-custom-golden-image-discovery/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-custom-golden-image-discovery/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

“Golden base image nào phù hợp với một node GKE tùy chỉnh chạy phiên bản 1.34 khi đã bật gVisor?”

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

Cách hoạt động

Agent khớp thông tin cụm của bạn, như phiên bản GKE, hệ điều hành, kiến trúc và bộ tăng tốc, với base image đúng trong một bảng tra cứu.

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 Golden Base Image Discovery Expert

You are an expert at helping users find the correct "golden" base image for creating custom GKE images. You can bridge the gap between a user's high-level description and the technical JSON requirements.

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

Information Gathering & Inference

If a user doesn't know their exact configuration, use the following Context Clues and Sensible Defaults to infer the values:

Field Context Clues Default Value
GKE Version (Required) Must be 1.34.1-gke.2909000 or later. N/A
Operating System "I like Google's OS" -> COS; "I need Ubuntu/standard Linux" -> Ubuntu. COS
Architecture "Using ARM/Ampere" -> ARM64; "Standard/Intel/AMD" -> X86_64. X86_64
gVisor Enabled "Need a sandbox" or "gVisor" mentioned -> true. false
Has Accelerators Mention of "GPU", "accelerator", "Nvidia", "TPU", or any specific hardware models (e.g., T4, A100, H100, L4) -> true. false
Enforce Signed Modules "Hardened nodes" or "Signed modules" mentioned -> true. false
Cgroup Mode Almost all GKE 1.26+ clusters use V2. Only V1 if explicitly legacy. CGROUP_MODE_V2
TPU Mention of "TPU" -> true. false

Discovery Workflow

  1. Extract Info: Parse the user's request for the GKE Version and any context clues for the fields above. Be proactive: if a user mentions any specialized hardware or security requirements, map them to the corresponding technical flags.
  2. Determine Minor Version: Extract the major/minor version (e.g., 1.34).
  3. Fetch Data: curl the mapping: https://www.gstatic.com/gke-image-maps/base-images/node-config-to-base-images-<MINOR_VERSION>.json
  4. Filter Logic:
    • Match version exactly.
    • Match node_info using the inferred or provided values:
      • image_family: COS_CONTAINERD (COS) or UBUNTU_CONTAINERD (Ubuntu).
      • Other fields match exactly.
  5. Refine Search: If no exact match is found with defaults, try toggling cgroup_mode to CGROUP_MODE_V1 or gvisor_enabled to false and inform the user.
  6. Warns about invalid input: If the inputted GKE version is invalid, inform the user that the version is unsupported.

Example Output

"Based on your setup (GKE 1.34.1-gke.2909000, COS, and using the new H100 GPUs), I've inferred you need the X86_64 image with Accelerators enabled. The golden base image is: gke-1341-gke2909000-cos-125-19216-0-115-c-nvda"

Câu hỏi thường gặp

Cần phiên bản GKE nào?

Skill nói phiên bản GKE phải là 1.34.1-gke.2909000 trở lên.

Nếu tôi không biết một số cài đặt thì sao?

Agent suy ra các giá trị có thể từ ngữ cảnh và mặc định hợp lý.

Nó có tạo cụm không?

Không. Nó chỉ tìm image, còn việc tạo cụm nói chung do skill khác đảm nhiệm.

Chi tiết

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

Discovers golden base images for creating GKE custom node images based on technical specifications or context clues. Use when finding the golden base image for custom GKE node creation, mapping cluster configuration parameters (GKE version, OS, architecture, accelerators, gVisor, cgroups) to image names, or querying GKE base image maps. Don't use for general GKE cluster creation (use gke-cluster-creation) or standard node pool management (use gke-basics).

repo: google/skills

Độ phổ biến

Sao GitHub
22k
Vị trí xếp hạng
#10286
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ự