Перейти к содержанию
Skillpedia
Деплой и облако (DevOps)22k · #10286

gke-custom-golden-image-discovery

Что он делает

Этот скилл помогает ИИ-агенту подобрать правильный базовый образ golden для вашей настройки GKE. Он нужен людям, которые создают собственные образы узлов и не знают точного имени образа.

Когда использовать

  • ✓Когда вам нужен базовый образ golden для собственного образа узла GKE.
  • ✓Когда вы знаете версию GKE, операционную систему или архитектуру, но не знаете имени образа.
  • ✓Когда вы хотите проверить, какой базовый образ подходит для настройки узла с gVisor или ускорителями.

Ссылка на скилл

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

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/google/skills/blob/main/skills/cloud/gke-custom-golden-image-discovery/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Какой базовый образ golden подходит для собственного узла GKE версии 1.34 с включенным gVisor?”

5 новых скиллов в неделю. 1 минута чтения.

Как это работает

Агент сопоставляет данные вашего кластера, например версию GKE, ОС, архитектуру и ускорители, с нужным базовым образом по таблице поиска.

Технический текст (оригинальный 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
Обновлён
02.11.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

Похожие скиллы