Gke productionize

From google/skills · View interactive version

Gke productionize is an AI agent skill from the GitHub repository google/skills. 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

How to use this skill

Skill file

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:

Workflow

1. Discovery Phase

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

Cluster Discovery

Run these commands to understand the cluster setup:

--location {location} --project {project}`

describe output:

```yaml

autopilot:

enabled: true

```

Workload Discovery

If a specific application is targeted, discover its configuration:

{namespace} -o yaml`

-o yaml` (Look for Pod Security Standards labels).

-o

custom-columns="NAME:.metadata.name,SERVICE_ACCOUNT:.spec.serviceAccountName"`

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.

HPA, VPA, and resource limits.

C. Observability

Ensure adequate logging and monitoring are in place.

Logging, Monitoring, and Managed Prometheus.

D. Reliability

Ensure high availability and graceful degradation.

regional clusters, PDBs, and health probes.

E. Security

Harden the cluster and workloads.

gke-workload-security skills for Workload Identity, Network Policies, and

Shielded Nodes.

Pod Security Standards (PSS) enforced via labels.

of the default ServiceAccount.

F. Backup & Disaster Recovery

Ensure stateful data is protected.

for GKE and restore procedures.

G. Edge Security & Ingress

Secure external access.

Ingress, and Cloud Armor.

H. Cost Optimization

Ensure efficient use of resources.

rightsizing, quotas, and Spot VMs.

I. Upgrades & Maintenance Posture

Ensure a safe, predictable upgrade posture.

selection, maintenance windows/exclusions, and node pool upgrade strategy.

J. Golden Path Defaults Audit

Ensure the cluster configuration matches recommended defaults.

against golden path defaults and report deviations with severity and

remediation.

3. Production Readiness Scoring

After the assessment, provide a summary report with a RAG (Red, Amber, Green)

status for each area and an overall readiness score. This helps prioritize

remediation efforts.

Apply this rubric deterministically so repeated assessments of the same

environment produce the same result:

  1. Per-domain criteria: For each assessed domain (A-J), list the concrete

checks performed (from the domain skill's guidance) and classify each check

as pass, fail-critical (production-blocking, e.g., no resource

requests, no backups for stateful data, public control plane in a locked

down environment), or fail-minor (improvement, e.g., missing VPA

recommendations, no Spot usage for batch).

  1. RAG mapping (per domain):
  1. Domain score: Green = 100, Amber = 50, Red = 0.
  2. Weighted overall score: weight Security, Reliability, and Backup/DR at

2x; all other assessed domains at 1x. Overall score = sum(domain score x

weight) / sum(weights), rounded to the nearest integer. Exclude domains

that are not applicable (e.g., Backup/DR for fully stateless workloads) from

both sums and note the exclusion.

  1. Readiness verdict: >= 90 with no Red domains = "Production ready";

70-89 with no Red domains = "Ready with follow-ups"; anything else =

"Not production ready".

In the report, show the per-domain check lists, RAG status, weights, and the

computed overall score.

Adaptability Guidelines

Workload Identity for that specific app.

Channels, Maintenance Windows, and default Network Policies.

observability, security, scaling, reliability) to assess and propose

improvements, seeking user confirmation before applying state-changing

implementations.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.