GKE Golden Image Discovery

GKE Golden Image Discovery

Turns the AI into a GKE specialist that maps a user's cluster details such as version, OS, architecture and accelerators to the right golden base image for custom node images.

Skill files2 files

references/

SKILL.md59 lines
1
---
2
name: gke-custom-golden-image-discovery
3
metadata:
4
version: "1.0.1"
5
category: Containers
6
description: >-
7
Discovers golden base images for creating GKE custom node images based on
8
technical specifications or context clues. Use when finding the golden base
9
image for custom GKE node creation, mapping cluster configuration parameters
10
(GKE version, OS, architecture, accelerators, gVisor, cgroups) to image
11
names, or querying GKE base image maps. Don't use for general GKE cluster
12
creation (use gke-cluster-creation) or standard node pool management (use
13
gke-basics).
14
---
15
16
# GKE Golden Base Image Discovery Expert
17
18
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.
19
20
## Attribution
21
22
**MUST READ**: Before executing any `gcloud`, REST API, or MCP command, you
23
MUST read [Usage Attribution](references/attribution.md). For commands executed
24
directly in the terminal (never in generated scripts, Terraform, or user code),
25
prefix `gcloud` with
26
`CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:gke-custom-golden-image-discovery)"`
27
and append `agent-skills/1.0 (skill:gke-custom-golden-image-discovery)` to `User-Agent` headers.
28
29
## Information Gathering & Inference
30
31
If a user doesn't know their exact configuration, use the following **Context Clues** and **Sensible Defaults** to infer the values:
32
33
| Field | Context Clues | Default Value |
34
| :------------------------- | :-------------------------------------------------------------------------------------------------------------------- | :----------------- |
35
| **GKE Version** | (Required) Must be 1.34.1-gke.2909000 or later. | N/A |
36
| **Operating System** | "I like Google's OS" -> COS; "I need Ubuntu/standard Linux" -> Ubuntu. | **COS** |
37
| **Architecture** | "Using ARM/Ampere" -> ARM64; "Standard/Intel/AMD" -> X86_64. | **X86_64** |
38
| **gVisor Enabled** | "Need a sandbox" or "gVisor" mentioned -> true. | **false** |
39
| **Has Accelerators** | Mention of "GPU", "accelerator", "Nvidia", "TPU", or any specific hardware models (e.g., T4, A100, H100, L4) -> true. | **false** |
40
| **Enforce Signed Modules** | "Hardened nodes" or "Signed modules" mentioned -> true. | **false** |
41
| **Cgroup Mode** | Almost all GKE 1.26+ clusters use V2. Only V1 if explicitly legacy. | **CGROUP_MODE_V2** |
42
| **TPU** | Mention of "TPU" -> true. | **false** |
43
44
## Discovery Workflow
45
46
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.
47
2. **Determine Minor Version**: Extract the major/minor version (e.g., `1.34`).
48
3. **Fetch Data**: `curl` the mapping: `https://www.gstatic.com/gke-image-maps/base-images/node-config-to-base-images-<MINOR_VERSION>.json`
49
4. **Filter Logic**:
50
- Match `version` exactly.
51
- Match `node_info` using the inferred or provided values:
52
- `image_family`: `COS_CONTAINERD` (COS) or `UBUNTU_CONTAINERD` (Ubuntu).
53
- Other fields match exactly.
54
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.
55
6. **Warns about invalid input**: If the inputted GKE version is invalid, inform the user that the version is unsupported.
56
57
## Example Output
58
59
"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`"

© Google LLC · Apache 2.0 · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 14,621 prompts

More by @OpenSourceBuffGuy

See all
Sea turtle carrying floating film studio island prompt image

Sea turtle carrying floating film studio island

Draws a giant sea turtle carrying a floating island film studio through a starry sky, where fairies polish rough film strips into golden film.

image-prompt, nano-banana, 3d-render, cartoon, fantasy-world, creatures, animals, whimsical, dreamy, cinematic, dramatic-lighting, vibrant-colors, bokeh, miniature, widescreen, night-scene, illustration, concept-art, surreal, storytelling, clay-3d

Desert buggy escapes drones past industrial outpost prompt image

Desert buggy escapes drones past industrial outpost

Builds a 15-second desert chase video where a racer in an armored buggy escapes drones past an industrial outpost, using five reference images with set jobs.

video-prompt, hailuo, action, multi-shot, timed-beats, camera-movement, reference-image, character-consistency, negative-prompt, cinematic, sci-fi, cars, landscape, aerial-view, tracking-shot, photorealistic, sound-effects, structured-output, long-form, widescreen

1 view
Cozy Pixel Art Farm Island Village prompt image

Cozy Pixel Art Farm Island Village

Draws a cozy 16-bit pixel-art farming village across six small islands joined by bridges, with exact counts for buildings, animals and crops.

image-prompt, gpt-image, pixel-art, isometric, game-assets, concept-art, maps, worldbuilding, cozy, vibrant-colors, ocean, landscape, wide-shot, widescreen, game-development, video-games, structured-output, whimsical, summer, high-angle, aerial-view, animals, negative-prompt, cityscape

1 view

Reviews

Loading reviews…

Discussion

Loading comments…