[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M720XNHK5VN76JBMKCFTCBHW":3,"skill-same:01M720XNHK5VN76JBMKCFTCBHW":67},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M720XNHK5VN76JBMKCFTCBHW","gke-app-onboarding",null,"Manages GKE application onboarding, covering containerization, deployment manifests, and migration. Use when onboarding or deploying an application to GKE for the first time, or containerizing an app for GKE. Don't use for general GKE cluster administration or upgrades (use gke-basics or gke-upgrades instead).","gke-labs\u002Fkube-agents","gke-labs","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F197140281?v=4","01M720MEZR8K6WD2WTHNQE346Q","01M720MF0BRA9RGH1QVT4J0M0E",126,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fagents\u002Fplatform\u002Fskills\u002Fgke-app-onboarding\u002FSKILL.md",[],[],"2026-11-10 18:39:20",false,"---\nname: gke-app-onboarding\ndescription: >-\n  Manages GKE application onboarding, covering containerization, deployment\n  manifests, and migration. Use when onboarding or deploying an application to\n  GKE for the first time, or containerizing an app for GKE. Don't use for\n  general GKE cluster administration or upgrades (use gke-basics or\n  gke-upgrades instead).\nmetadata:\n  category: Containers\n---\n\n# GKE App Onboarding\n\nThis reference provides workflows for containerizing and deploying applications\nto GKE for the first time.\n\n> **MCP Tools:** `get_k8s_resource`, `get_k8s_rollout_status`, `get_k8s_logs`,\n> `describe_k8s_resource`\n>\n> A change goes out as a pull request to the GitOps repository, never as a write from here: Kubernetes objects as YAML through `gke-manifest-generation`, cluster settings and other Google Cloud resources as Config Connector YAML through `gcp-config-connector`, opened with `submit-suggestion`. Each profile's config offers only the `gke` MCP server's read tools, and the broker refuses `kubectl` and `gcloud` writes.\n\n## Workflow\n\n### 1. App Assessment\n\nBefore containerizing, assess the application:\n\n-   **Language & Framework**: Identify the tech stack\n-   **Dependencies**: List required libraries and external services\n-   **Configuration**: How is the app configured? (env vars, config files,\n    secrets)\n-   **Statefulness**: Does it need persistent storage? (databases, file storage)\n-   **Networking**: Port mapping and protocol (HTTP, gRPC, TCP)\n-   **Health endpoints**: Does the app expose health check endpoints?\n\n### 2. Containerization\n\nCreate a container image:\n\n**Dockerfile (recommended for most apps):**\n\n```dockerfile\n# Multi-stage build for smaller, more secure images\nFROM golang:1.22 AS builder\nWORKDIR \u002Fapp\nCOPY . .\nRUN CGO_ENABLED=0 go build -o server .\n\nFROM gcr.io\u002Fdistroless\u002Fstatic:nonroot\nCOPY --from=builder \u002Fapp\u002Fserver \u002Fserver\nUSER nonroot:nonroot\nEXPOSE 8080\nENTRYPOINT [\"\u002Fserver\"]\n```\n\n**Best practices:**\n\n-   Use multi-stage builds to keep production images small\n-   Use distroless or minimal base images to reduce attack surface\n-   Run as non-root user\n-   Log to `stdout` and `stderr` for Cloud Logging collection\n\nFor applications where writing a Dockerfile is not preferred, you can use\n[**Cloud Native Buildpacks**](https:\u002F\u002Fbuildpacks.io\u002F) to automatically detect\nthe language and build a container image:\n\n```bash\npack build \u003Cimage> --builder gcr.io\u002Fbuildpacks\u002Fbuilder:latest\n```\n\n### 3. Image Management\n\nBuild and store the container image:\n\n```bash\n# Configure Docker for Artifact Registry\ngcloud auth configure-docker \u003CREGION>-docker.pkg.dev --quiet\n\n# Build and push\ndocker build -t \u003CREGION>-docker.pkg.dev\u002F\u003CPROJECT>\u002F\u003CREPO>\u002F\u003CIMAGE>:\u003CTAG> .\ndocker push \u003CREGION>-docker.pkg.dev\u002F\u003CPROJECT>\u002F\u003CREPO>\u002F\u003CIMAGE>:\u003CTAG>\n```\n\n**Vulnerability scanning**: Enable automatic scanning in Artifact Registry to\ndetect issues in base images and dependencies.\n\n```bash\n# Check scan results\ngcloud artifacts docker images describe \\\n  \u003CREGION>-docker.pkg.dev\u002F\u003CPROJECT>\u002F\u003CREPO>\u002F\u003CIMAGE>:\u003CTAG> \\\n  --show-package-vulnerability \\\n  --quiet\n```\n\n### 4. Manifest Generation\n\nGenerate Kubernetes manifests for the application:\n\n```yaml\napiVersion: apps\u002Fv1\nkind: Deployment\nmetadata:\n  name: my-app\n  namespace: default\nspec:\n  replicas: 2\n  selector:\n    matchLabels:\n      app: my-app\n  template:\n    metadata:\n      labels:\n        app: my-app\n    spec:\n      containers:\n      - name: my-app\n        image: \u003CREGION>-docker.pkg.dev\u002F\u003CPROJECT>\u002F\u003CREPO>\u002F\u003CIMAGE>:\u003CTAG>\n        ports:\n        - containerPort: 8080\n        resources:\n          requests:\n            cpu: \"250m\"\n            memory: \"256Mi\"\n          limits:\n            cpu: \"500m\"\n            memory: \"512Mi\"\n        livenessProbe:\n          httpGet:\n            path: \u002Fhealthz\n            port: 8080\n          initialDelaySeconds: 10\n        readinessProbe:\n          httpGet:\n            path: \u002Freadyz\n            port: 8080\n          initialDelaySeconds: 5\n---\napiVersion: v1\nkind: Service\nmetadata:\n  name: my-app\nspec:\n  selector:\n    app: my-app\n  ports:\n  - port: 80\n    targetPort: 8080\n  type: ClusterIP\n```\n\n**Checklist for manifests:**\n\n-   Resource requests and limits set\n-   Liveness and readiness probes configured\n-   At least 2 replicas for production\n-   Service type appropriate (ClusterIP for internal, use Gateway API for\n    external)\n\n### 5. Deploy\n\nPropose the manifests as a pull request through `submit-suggestion`. Once the GitOps\nrepository applies them, verify:\n\n```\n# MCP (preferred)\nget_k8s_rollout_status(parent=\"...\", resourceType=\"deployment\", name=\"my-app\")\nget_k8s_resource(parent=\"...\", resourceType=\"pod\", labelSelector=\"app=my-app\")\n```\n\n**kubectl fallback:**\n\n```bash\nkubectl rollout status deployment\u002Fmy-app\nkubectl get pods -l app=my-app\n```\n\n## Next Steps\n\nOnce the application is running on GKE:\n\n-   Configure autoscaling — see the `gke-workload-scaling` skill\n-   Set up observability — see the `gke-observability` skill\n-   Harden security — see the `gke-workload-security` skill\n-   Configure reliability (PDBs, topology spread) — see the `gke-reliability`\n    skill\n","# GKE App Onboarding\n\nThis reference provides workflows for containerizing and deploying applications\nto GKE for the first time.\n\n> **MCP Tools:** `get_k8s_resource`, `get_k8s_rollout_status`, `get_k8s_logs`,\n> `describe_k8s_resource`\n>\n> A change goes out as a pull request to the GitOps repository, never as a write from here: Kubernetes objects as YAML through `gke-manifest-generation`, cluster settings and other Google Cloud resources as Config Connector YAML through `gcp-config-connector`, opened with `submit-suggestion`. Each profile's config offers only the `gke` MCP server's read tools, and the broker refuses `kubectl` and `gcloud` writes.\n\n## Workflow\n\n### 1. App Assessment\n\nBefore containerizing, assess the application:\n\n-   **Language & Framework**: Identify the tech stack\n-   **Dependencies**: List required libraries and external services\n-   **Configuration**: How is the app configured? (env vars, config files,\n    secrets)\n-   **Statefulness**: Does it need persistent storage? (databases, file storage)\n-   **Networking**: Port mapping and protocol (HTTP, gRPC, TCP)\n-   **Health endpoints**: Does the app expose health check endpoints?\n\n### 2. Containerization\n\nCreate a container image:\n\n**Dockerfile (recommended for most apps):**\n\n```dockerfile\n# Multi-stage build for smaller, more secure images\nFROM golang:1.22 AS builder\nWORKDIR \u002Fapp\nCOPY . .\nRUN CGO_ENABLED=0 go build -o server .\n\nFROM gcr.io\u002Fdistroless\u002Fstatic:nonroot\nCOPY --from=builder \u002Fapp\u002Fserver \u002Fserver\nUSER nonroot:nonroot\nEXPOSE 8080\nENTRYPOINT [\"\u002Fserver\"]\n```\n\n**Best practices:**\n\n-   Use multi-stage builds to keep production images small\n-   Use distroless or minimal base images to reduce attack surface\n-   Run as non-root user\n-   Log to `stdout` and `stderr` for Cloud Logging collection\n\nFor applications where writing a Dockerfile is not preferred, you can use\n[**Cloud Native Buildpacks**](https:\u002F\u002Fbuildpacks.io\u002F) to automatically detect\nthe language and build a container image:\n\n```bash\npack build \u003Cimage> --builder gcr.io\u002Fbuildpacks\u002Fbuilder:latest\n```\n\n### 3. Image Management\n\nBuild and store the container image:\n\n```bash\n# Configure Docker for Artifact Registry\ngcloud auth configure-docker \u003CREGION>-docker.pkg.dev --quiet\n\n# Build and push\ndocker build -t \u003CREGION>-docker.pkg.dev\u002F\u003CPROJECT>\u002F\u003CREPO>\u002F\u003CIMAGE>:\u003CTAG> .\ndocker push \u003CREGION>-docker.pkg.dev\u002F\u003CPROJECT>\u002F\u003CREPO>\u002F\u003CIMAGE>:\u003CTAG>\n```\n\n**Vulnerability scanning**: Enable automatic scanning in Artifact Registry to\ndetect issues in base images and dependencies.\n\n```bash\n# Check scan results\ngcloud artifacts docker images describe \\\n  \u003CREGION>-docker.pkg.dev\u002F\u003CPROJECT>\u002F\u003CREPO>\u002F\u003CIMAGE>:\u003CTAG> \\\n  --show-package-vulnerability \\\n  --quiet\n```\n\n### 4. Manifest Generation\n\nGenerate Kubernetes manifests for the application:\n\n```yaml\napiVersion: apps\u002Fv1\nkind: Deployment\nmetadata:\n  name: my-app\n  namespace: default\nspec:\n  replicas: 2\n  selector:\n    matchLabels:\n      app: my-app\n  template:\n    metadata:\n      labels:\n        app: my-app\n    spec:\n      containers:\n      - name: my-app\n        image: \u003CREGION>-docker.pkg.dev\u002F\u003CPROJECT>\u002F\u003CREPO>\u002F\u003CIMAGE>:\u003CTAG>\n        ports:\n        - containerPort: 8080\n        resources:\n          requests:\n            cpu: \"250m\"\n            memory: \"256Mi\"\n          limits:\n            cpu: \"500m\"\n            memory: \"512Mi\"\n        livenessProbe:\n          httpGet:\n            path: \u002Fhealthz\n            port: 8080\n          initialDelaySeconds: 10\n        readinessProbe:\n          httpGet:\n            path: \u002Freadyz\n            port: 8080\n          initialDelaySeconds: 5\n---\napiVersion: v1\nkind: Service\nmetadata:\n  name: my-app\nspec:\n  selector:\n    app: my-app\n  ports:\n  - port: 80\n    targetPort: 8080\n  type: ClusterIP\n```\n\n**Checklist for manifests:**\n\n-   Resource requests and limits set\n-   Liveness and readiness probes configured\n-   At least 2 replicas for production\n-   Service type appropriate (ClusterIP for internal, use Gateway API for\n    external)\n\n### 5. Deploy\n\nPropose the manifests as a pull request through `submit-suggestion`. Once the GitOps\nrepository applies them, verify:\n\n```\n# MCP (preferred)\nget_k8s_rollout_status(parent=\"...\", resourceType=\"deployment\", name=\"my-app\")\nget_k8s_resource(parent=\"...\", resourceType=\"pod\", labelSelector=\"app=my-app\")\n```\n\n**kubectl fallback:**\n\n```bash\nkubectl rollout status deployment\u002Fmy-app\nkubectl get pods -l app=my-app\n```\n\n## Next Steps\n\nOnce the application is running on GKE:\n\n-   Configure autoscaling — see the `gke-workload-scaling` skill\n-   Set up observability — see the `gke-observability` skill\n-   Harden security — see the `gke-workload-security` skill\n-   Configure reliability (PDBs, topology spread) — see the `gke-reliability`\n    skill\n",{"name":5,"metadata":23,"description":7},{"category":24},"Containers","main","af354bf2b99e17df77e52c512a7ba968c37c2306","agents\u002Fplatform\u002Fskills\u002Fgke-app-onboarding",44,"https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents","https:\u002F\u002Fgke-labs.github.io\u002Fkube-agents\u002F","https:\u002F\u002Fgithub.com\u002Fgke-labs","2026-11-14 20:53:19",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add gke-labs\u002Fkube-agents --skill gke-app-onboarding",{"tool":39,"command":40},"bunx","bunx skills add gke-labs\u002Fkube-agents --skill gke-app-onboarding",{"tool":42,"command":43},"pnpm","pnpm dlx skills add gke-labs\u002Fkube-agents --skill gke-app-onboarding","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fagents\u002Fplatform\u002Fskills\u002Fgke-app-onboarding\u002FSKILL.md",true,[47,53,57,63],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"assets\u002Fdeployment.yaml","ASSET","资产文件",1539,"https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fagents\u002Fplatform\u002Fskills\u002Fgke-app-onboarding\u002Fassets\u002Fdeployment.yaml",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"assets\u002FDockerfile",439,"https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fagents\u002Fplatform\u002Fskills\u002Fgke-app-onboarding\u002Fassets\u002FDockerfile",{"path":58,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":62},"assets\u002Findex.js","SCRIPT","脚本",454,"https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fagents\u002Fplatform\u002Fskills\u002Fgke-app-onboarding\u002Fassets\u002Findex.js",{"path":64,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":65,"sourceHtmlUrl":66},"assets\u002Fpackage.json",125,"https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fagents\u002Fplatform\u002Fskills\u002Fgke-app-onboarding\u002Fassets\u002Fpackage.json",[68,75,82,89,96,103],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":18},"01M72168JZM6CYRZFWW204PA2V","gke-workload-troubleshooting","Diagnoses GKE workload failures (CrashLoopBackOff, OOMKilled, ImagePullBackOff, Pending, etc.) via logs and events. Use when pods fail to start or crash repeatedly. Don't use for GKE cluster infrastructure provisioning, node pool creation, or non-Kubernetes Google Cloud services.","https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fthird_party\u002Fgoogle-skills\u002Fgke-workload-troubleshooting\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":18},"01M721643JPG43MFDHGN067D7T","gke-workload-security","Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running security audits (`audit_cluster.sh`), enforcing Network Policies (default-deny and Dataplane V2 logging), isolating high-risk pods inside GKE Sandbox (`gVisor`), enforcing Pod Security Standards (`restricted` labeling) and pod securityContext, and mounting Secret Manager secrets via CSI (`SecretProviderClass`). Use when auditing workload security posture, isolating namespaces, applying pod security standards, or configuring network policies and secret volume mounts. Don't use for Workload Identity (use gke-workload-identity), cluster-wide control plane security, RBAC hardening, Binary Authorization, Shielded Nodes, or enabling platform-level GKE add-ons (use gke-platform-security instead).","https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fthird_party\u002Fgoogle-skills\u002Fgke-workload-security\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":18},"01M721618QGFKZRWHS0RFVG7WT","gke-workload-scaling","Manages scaling for GKE workloads using HPA and VPA. Use when configuring Horizontal Pod Autoscaler (HPA), configuring Vertical Pod Autoscaler (VPA), or applying best practices for GKE workload autoscaling. Do not use for cluster-level autoscaling (Cluster Autoscaler), static cluster sizing, or configuring node-level machine styles directly.","https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fthird_party\u002Fgoogle-skills\u002Fgke-workload-scaling\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":18},"01M7215WA1TNFDZE22VJEN3XXW","gke-workload-identity","Configures and diagnoses Workload Identity Federation for GKE authentication failures for Pods (403 \"iam.serviceAccounts.getAccessToken\" \u002F permission denied, \"could not find default credentials\", or GKE metadata server unreachable) by verifying cluster and node-pool Workload Identity configuration, the Kubernetes ServiceAccount (KSA) to IAM binding (direct principal binding and legacy Google ServiceAccount impersonation), target-resource IAM roles, and gke-metadata-server health. Use when setting up KSA\u002FGSA bindings (`roles\u002Fiam.workloadIdentityUser`, `iam.gke.io\u002Fgcp-service-account`) or when a Pod cannot authenticate to Google Cloud APIs. Don't use for in-cluster Kubernetes RBAC errors (API-server authorization), general workload crashes (use gke-workload-troubleshooting), or Pod Security Standards and NetworkPolicies (use gke-workload-security).","https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fthird_party\u002Fgoogle-skills\u002Fgke-workload-identity\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":18},"01M7215PJTBTZ0W15ZZ2W32FF9","gke-upgrades","Plans, executes, and validates Google Kubernetes Engine (GKE) cluster upgrades and maintenance operations for both Standard and Autopilot clusters. Produces upgrade plans, pre\u002Fpost-upgrade checklists, maintenance runbooks with gcloud commands, release channel strategy, and troubleshooting guides. Handles node pool upgrade strategies (surge, blue-green), version compatibility, PDB management, and workload-specific concerns (stateful, GPU, operators). Use this skill whenever the user mentions GKE upgrades, Kubernetes version bumps, node pool maintenance, GKE patching, cluster version management, release channel selection, maintenance windows, surge upgrades, stuck upgrades, or any GKE lifecycle management task — even casual mentions like \"we need to upgrade our clusters\" or \"plan our next GKE maintenance\" or \"our upgrade is stuck.\" Don't use for GKE cluster creation, application onboarding, general networking\u002Frouting setup, or security policy configurations (use gke-basics or relevant GKE skills instead).","https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fthird_party\u002Fgoogle-skills\u002Fgke-upgrades\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":18},"01M7215JX0FBZBTG4570CJ20HS","gke-tpu-metrics-monitoring","Monitors and troubleshoots GKE TPU workloads, nodes, and node pools using GKE system metrics and PromQL. Use when monitoring TensorCore duty cycle, TPU memory, node readiness, multi-host TPU node pool availability, host maintenance or preemption interruptions, and calculating MTTR or MTBI metrics for GKE TPUs. Don't use for general non-TPU GKE workload monitoring or non-metric TPU debugging.","https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fthird_party\u002Fgoogle-skills\u002Fgke-tpu-metrics-monitoring\u002FSKILL.md",[],[]]