本文へスキップ
Skillpedia
デプロイとクラウド(DevOps)22k · #10286

gke-custom-golden-image-discovery

できること

GKEの設定に合ったゴールデンのベースイメージを、AIエージェントが見つける手助けをします。イメージ名は分からないけれど、カスタムのノードイメージを作りたい人向けです。

使う場面

  • ✓カスタムのGKEノードイメージのために、ゴールデンのベースイメージが必要なとき。
  • ✓GKEのバージョン、OS、アーキテクチャは分かるが、イメージ名が分からないとき。
  • ✓gVisorやアクセラレーターを使うノードの設定に、どのベースイメージが合うか確かめたいとき。

スキルのリンク

https://github.com/google/skills/blob/main/skills/cloud/gke-custom-golden-image-discovery/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/google/skills/blob/main/skills/cloud/gke-custom-golden-image-discovery/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“gVisorを有効にしたバージョン1.34のカスタムGKEノードに、どのゴールデンのベースイメージが合いますか?”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、GKEのバージョン、OS、アーキテクチャ、アクセラレーターなどのクラスター情報を、参照表の中の適切なベースイメージと照らし合わせます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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"

よくある質問

必要なGKEのバージョンは何ですか?

GKEのバージョンは1.34.1-gke.2909000以降が必要だと、このスキルは説明しています。

いくつかの設定が分からない場合はどうしますか?

エージェントは、文脈の手がかりと妥当な初期値から、ありそうな値を推定します。

クラスターも作成しますか?

いいえ。イメージを見つけるだけです。クラスターの一般的な作成は、別のスキルが担当します。

詳細

作者による元の説明

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

人気

GitHubのスター
22k
ランキング
#10286
ライセンス
Apache-2.0
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル