[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7210Y634PV315T0SDPAD0E9":3,"skill-same:01M7210Y634PV315T0SDPAD0E9":64},{"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":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":31,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M7210Y634PV315T0SDPAD0E9","gke-workload-security",null,"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 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).","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-workload-security\u002FSKILL.md",[],[],"2026-11-10 18:39:20",false,"---\nname: gke-workload-security\ndescription: >-\n  Audits, configures, and hardens workload-level security controls for Google\n  Kubernetes Engine (GKE) applications and namespaces. Covers running security\n  audits (`audit_cluster.sh`), enforcing Network Policies (default-deny and Dataplane\n  V2 logging), isolating high-risk pods inside GKE Sandbox (`gVisor`), enforcing Pod\n  Security Standards (`restricted` labeling), and mounting Secret Manager secrets via\n  CSI (`SecretProviderClass`). Use when auditing workload security posture, isolating\n  namespaces, applying pod security standards, or\n  configuring network policies and secret volume mounts. Don't use for Workload Identity (use gke-workload-identity), cluster-wide\n  control plane security, RBAC hardening, Binary Authorization, Shielded Nodes,\n  or enabling platform-level GKE add-ons (use gke-platform-security instead).\nmetadata:\n  version: \"1.0.1\"\n  category: Security\n---\n\n# GKE Workload Security\n\n> **Routing Note:** For Workload Identity KSA\u002FGSA bindings, open `gke-workload-identity\u002FSKILL.md`. For cluster-level security flags (`--database-encryption-key`, `--security-posture`, RBAC, Shielded Nodes, Binary Authorization), open `gke-platform-security\u002FSKILL.md`.\n\nThis skill provides workflows and best practices for securing GKE workloads. It\ncovers security auditing, Network Security (Network Policies), and Node Security.\nFor Workload Identity setup, use the `gke-workload-identity` skill.\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## Workflows\n\n### 1. Security Audit\n\nAssess the current security posture of your cluster using the provided audit\nscript.\n\n**Prerequisites:**\n\n-   `gcloud` CLI authenticated.\n-   `jq` command-line JSON processor installed.\n\n**Capabilities:**\n\n-   Checks for Workload Identity.\n-   Verifies Network Policy is enabled.\n-   Checks if Shielded Nodes are enabled.\n-   Checks if Binary Authorization is enabled.\n-   Checks for Private Cluster configuration.\n\n**Command:**\n\n```bash\n\u002Fopt\u002Fdata\u002Fprofiles\u002Fplatform\u002Fskills\u002Fgke-workload-security\u002Fscripts\u002Faudit_cluster.sh \u003Ccluster-name> \u003Cregion> \u003Cproject-id>\n```\n\n### 2. Configure Workload Identity (legacy GSA impersonation)\n\nLoad the `gke-workload-identity` skill first: binding IAM roles to the\nKubernetes Service Account (KSA) principal directly is the current default, and\nthat skill diagnoses both models. Use the impersonation setup below, where a KSA\nimpersonates a Google Service Account (GSA), only when a GSA must be the\nidentity: an existing GSA already holds the roles the workload needs, or the\nGoogle Cloud API it calls does not accept Workload Identity Federation\nprincipals (the GKE documentation lists those limitations).\n\n**Steps:**\n\n1.  **Create Namespace and annotated KSA**, proposed as a pull request through\n    `submit-suggestion`:\n\n    ```yaml\n    apiVersion: v1\n    kind: Namespace\n    metadata:\n      name: workload-identity-test-ns\n    ---\n    apiVersion: v1\n    kind: ServiceAccount\n    metadata:\n      name: \u003Cksa-name>\n      namespace: workload-identity-test-ns\n      annotations:\n        iam.gke.io\u002Fgcp-service-account: \u003Cgsa-name>@\u003Cproject-id>.iam.gserviceaccount.com\n    ```\n\n2.  **Bind KSA to GSA:** grant\n    `serviceAccount:\u003Cproject-id>.svc.id.goog[workload-identity-test-ns\u002F\u003Cksa-name>]`\n    `roles\u002Fiam.workloadIdentityUser` on\n    `\u003Cgsa-name>@\u003Cproject-id>.iam.gserviceaccount.com`, as an IAM binding in Config\n    Connector YAML through `gcp-config-connector`.\n\n3.  **Verify Example Pod:** Use existing asset\n    `assets\u002Fworkload-identity-pod.yaml` to test the configuration. Update the\n    `\u003Cksa-name>` in the file first, and propose it as a pull request.\n\n### 3. Implement Network Policies\n\nControl traffic flow between Pods using Network Policies. By default, all\ntraffic is allowed.\n\n**Check Network Policy Enforcement & Dataplane:**\n\nBefore modifying cluster networking, inspect whether NetworkPolicy enforcement\nis already active or provided natively by Dataplane V2:\n\n```bash\ngcloud container clusters describe \u003Ccluster-name> \\\n    --location \u003Clocation> \\\n    --format='value(networkConfig.datapathProvider,networkPolicy.enabled)'\n```\n\n- If `datapathProvider` is `ADVANCED_DATAPATH` (Dataplane V2), NetworkPolicy\n  enforcement is built-in natively via eBPF\u002FCilium from cluster creation. Calico\n  addons cannot be enabled and are not needed.\n- If `networkPolicy.enabled` is `True`, Calico enforcement is already enabled on nodes.\n- If neither is active, enable Calico network policy enforcement using the two-step\n  sequence below.\n\n**Enable Network Policy Enforcement (non-DPv2 clusters):**\n\nEnabling network policy enforcement on clusters without Dataplane V2 requires\ntwo sequential changes in this order: first enable the Calico addon on the\ncontrol plane, then enable network policy enforcement on the nodes. GKE rejects\nenforcement with HTTP 400 until the addon is enabled. Propose them as two pull\nrequests on the cluster's `ContainerCluster` through `gcp-config-connector`, the\nsecond only after the first has applied:\n\n1. Enable the NetworkPolicy addon on the control plane:\n   `spec.addonsConfig.networkPolicyConfig.disabled: false`.\n2. Enable NetworkPolicy enforcement on the nodes: `spec.networkPolicy.enabled: true`\n   (node pools may be recreated; this can take several minutes).\n\n**Apply Default Deny Policy:** Isolate namespaces by denying all ingress and\negress traffic by default.\n\n**Propose `assets\u002Fdefault-deny-netpol.yaml` in `\u003Ctarget-namespace>`, the namespace\nyou want to isolate, as a pull request through `submit-suggestion`.**\n\n### 4. GKE Sandbox (gVisor) Pod Isolation\n\nRun untrusted workloads in a sandbox for extra kernel isolation. *(Note:\nEnabling Shielded Nodes (`--enable-shielded-nodes`) and GKE Sandbox\n(`--enable-gke-sandbox`) at the cluster control plane level are platform-level\nactions covered in the `gke-platform-security` skill.)*\n\n**Run a Sandboxed Pod:** Add `runtimeClassName: gvisor` to your Pod spec:\n\n```yaml\napiVersion: v1\nkind: Pod\nmetadata:\n  name: sandboxed-pod\nspec:\n  runtimeClassName: gvisor\n  containers:\n  - name: app\n    image: nginx\n```\n\n### 5. Pod Security Standards\n\nEnforce security policies on namespaces using labels.\n\n**Enforce Restricted Profile:** set these labels on the namespace's manifest,\nproposed as a pull request through `submit-suggestion`:\n\n```yaml\nmetadata:\n  labels:\n    pod-security.kubernetes.io\u002Fenforce: restricted\n    pod-security.kubernetes.io\u002Fenforce-version: latest\n```\n\n> [!NOTE] Using `latest` ensures you use the policies corresponding to the\n> cluster's current version. You can pin it to a specific version (e.g.,\n> `v1.30`) to lock down the namespace to policies of a specific release.\n\n### 6. Secret Manager Integration (CSI Driver)\n\nMount secrets from Google Cloud Secret Manager directly as volumes in your pods.\n\n**Prerequisites**: Secret Manager CSI driver must be enabled on the cluster.\n\n**Example SecretProviderClass:**\n\n```yaml\napiVersion: secrets-store.csi.x-k8s.io\u002Fv1\nkind: SecretProviderClass\nmetadata:\n  name: my-secret-provider\nspec:\n  provider: gcp\n  parameters:\n    secrets: |\n      - resourceName: \"projects\u002F\u003Cproject-id>\u002Fsecrets\u002Fmy-secret\u002Fversions\u002Flatest\"\n        fileName: \"my-secret-file\"\n```\n\n**Example Pod Spec excerpt:**\n\n```yaml\nspec:\n  containers:\n    - name: my-app\n      volumeMounts:\n        - name: secrets-store-inline\n          mountPath: \"\u002Fmnt\u002Fsecrets\"\n          readOnly: true\n  volumes:\n    - name: secrets-store-inline\n      csi:\n        driver: secrets-store.csi.k8s.io\n        readOnly: true\n        volumeAttributes:\n          secretProviderClass: \"my-secret-provider\"\n```\n\n### 7. Enable Network Policy Logging\n\nIf using GKE Dataplane V2, you can log allowed and denied connections.\n\n**Steps:**\n\n1.  Configure the `NetworkLogging` custom resource.\n\n**Example NetworkLogging Manifest:**\n\n```yaml\napiVersion: networking.gke.io\u002Fv1alpha1\nkind: NetworkLogging\nmetadata:\n  name: default\nspec:\n  cluster:\n    allow:\n      log: true\n      delegate: true\n    deny:\n      log: true\n      delegate: true\n```\n\nThis will log connection details to Cloud Logging.\n\n## Best Practices\n\n1.  **Least Privilege:** Always use Workload Identity with minimal IAM roles.\n    Avoid using Node default service accounts.\n2.  **Network Isolation:** Use Network Policies to restrict Pod-to-Pod\n    communication. Enable Network Policy Logging for visibility.\n3.  **Image Security:** Use Binary Authorization to ensure only trusted images\n    are deployed.\n4.  **Secret Management**: Use Secret Manager CSI driver instead of default\n    Kubernetes secrets for sensitive data.\n5.  **Pod Security**: Enforce `baseline` or `restricted` Pod Security Standards\n    on all non-system namespaces.\n6.  **Policy Enforcement**: Consider using **Policy Controller** (Gatekeeper) to\n    enforce custom security and compliance policies across the cluster.\n\n## Resources\n\n-   [Workload Identity Federation for GKE](https:\u002F\u002Fcloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fworkload-identity)\n-   [GKE Network Policies](https:\u002F\u002Fcloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fnetwork-policy)\n-   [Pod Security Standards in GKE](https:\u002F\u002Fcloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fpodsecurityadmission)\n-   [Google Secret Manager CSI Driver](https:\u002F\u002Fcloud.google.com\u002Fsecret-manager\u002Fdocs\u002Fsecret-manager-managed-csi-component)\n-   [GKE Dataplane V2 Network Logging](https:\u002F\u002Fcloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fnetwork-policy-logging)\n","# GKE Workload Security\n\n> **Routing Note:** For Workload Identity KSA\u002FGSA bindings, open `gke-workload-identity\u002FSKILL.md`. For cluster-level security flags (`--database-encryption-key`, `--security-posture`, RBAC, Shielded Nodes, Binary Authorization), open `gke-platform-security\u002FSKILL.md`.\n\nThis skill provides workflows and best practices for securing GKE workloads. It\ncovers security auditing, Network Security (Network Policies), and Node Security.\nFor Workload Identity setup, use the `gke-workload-identity` skill.\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## Workflows\n\n### 1. Security Audit\n\nAssess the current security posture of your cluster using the provided audit\nscript.\n\n**Prerequisites:**\n\n-   `gcloud` CLI authenticated.\n-   `jq` command-line JSON processor installed.\n\n**Capabilities:**\n\n-   Checks for Workload Identity.\n-   Verifies Network Policy is enabled.\n-   Checks if Shielded Nodes are enabled.\n-   Checks if Binary Authorization is enabled.\n-   Checks for Private Cluster configuration.\n\n**Command:**\n\n```bash\n\u002Fopt\u002Fdata\u002Fprofiles\u002Fplatform\u002Fskills\u002Fgke-workload-security\u002Fscripts\u002Faudit_cluster.sh \u003Ccluster-name> \u003Cregion> \u003Cproject-id>\n```\n\n### 2. Configure Workload Identity (legacy GSA impersonation)\n\nLoad the `gke-workload-identity` skill first: binding IAM roles to the\nKubernetes Service Account (KSA) principal directly is the current default, and\nthat skill diagnoses both models. Use the impersonation setup below, where a KSA\nimpersonates a Google Service Account (GSA), only when a GSA must be the\nidentity: an existing GSA already holds the roles the workload needs, or the\nGoogle Cloud API it calls does not accept Workload Identity Federation\nprincipals (the GKE documentation lists those limitations).\n\n**Steps:**\n\n1.  **Create Namespace and annotated KSA**, proposed as a pull request through\n    `submit-suggestion`:\n\n    ```yaml\n    apiVersion: v1\n    kind: Namespace\n    metadata:\n      name: workload-identity-test-ns\n    ---\n    apiVersion: v1\n    kind: ServiceAccount\n    metadata:\n      name: \u003Cksa-name>\n      namespace: workload-identity-test-ns\n      annotations:\n        iam.gke.io\u002Fgcp-service-account: \u003Cgsa-name>@\u003Cproject-id>.iam.gserviceaccount.com\n    ```\n\n2.  **Bind KSA to GSA:** grant\n    `serviceAccount:\u003Cproject-id>.svc.id.goog[workload-identity-test-ns\u002F\u003Cksa-name>]`\n    `roles\u002Fiam.workloadIdentityUser` on\n    `\u003Cgsa-name>@\u003Cproject-id>.iam.gserviceaccount.com`, as an IAM binding in Config\n    Connector YAML through `gcp-config-connector`.\n\n3.  **Verify Example Pod:** Use existing asset\n    `assets\u002Fworkload-identity-pod.yaml` to test the configuration. Update the\n    `\u003Cksa-name>` in the file first, and propose it as a pull request.\n\n### 3. Implement Network Policies\n\nControl traffic flow between Pods using Network Policies. By default, all\ntraffic is allowed.\n\n**Check Network Policy Enforcement & Dataplane:**\n\nBefore modifying cluster networking, inspect whether NetworkPolicy enforcement\nis already active or provided natively by Dataplane V2:\n\n```bash\ngcloud container clusters describe \u003Ccluster-name> \\\n    --location \u003Clocation> \\\n    --format='value(networkConfig.datapathProvider,networkPolicy.enabled)'\n```\n\n- If `datapathProvider` is `ADVANCED_DATAPATH` (Dataplane V2), NetworkPolicy\n  enforcement is built-in natively via eBPF\u002FCilium from cluster creation. Calico\n  addons cannot be enabled and are not needed.\n- If `networkPolicy.enabled` is `True`, Calico enforcement is already enabled on nodes.\n- If neither is active, enable Calico network policy enforcement using the two-step\n  sequence below.\n\n**Enable Network Policy Enforcement (non-DPv2 clusters):**\n\nEnabling network policy enforcement on clusters without Dataplane V2 requires\ntwo sequential changes in this order: first enable the Calico addon on the\ncontrol plane, then enable network policy enforcement on the nodes. GKE rejects\nenforcement with HTTP 400 until the addon is enabled. Propose them as two pull\nrequests on the cluster's `ContainerCluster` through `gcp-config-connector`, the\nsecond only after the first has applied:\n\n1. Enable the NetworkPolicy addon on the control plane:\n   `spec.addonsConfig.networkPolicyConfig.disabled: false`.\n2. Enable NetworkPolicy enforcement on the nodes: `spec.networkPolicy.enabled: true`\n   (node pools may be recreated; this can take several minutes).\n\n**Apply Default Deny Policy:** Isolate namespaces by denying all ingress and\negress traffic by default.\n\n**Propose `assets\u002Fdefault-deny-netpol.yaml` in `\u003Ctarget-namespace>`, the namespace\nyou want to isolate, as a pull request through `submit-suggestion`.**\n\n### 4. GKE Sandbox (gVisor) Pod Isolation\n\nRun untrusted workloads in a sandbox for extra kernel isolation. *(Note:\nEnabling Shielded Nodes (`--enable-shielded-nodes`) and GKE Sandbox\n(`--enable-gke-sandbox`) at the cluster control plane level are platform-level\nactions covered in the `gke-platform-security` skill.)*\n\n**Run a Sandboxed Pod:** Add `runtimeClassName: gvisor` to your Pod spec:\n\n```yaml\napiVersion: v1\nkind: Pod\nmetadata:\n  name: sandboxed-pod\nspec:\n  runtimeClassName: gvisor\n  containers:\n  - name: app\n    image: nginx\n```\n\n### 5. Pod Security Standards\n\nEnforce security policies on namespaces using labels.\n\n**Enforce Restricted Profile:** set these labels on the namespace's manifest,\nproposed as a pull request through `submit-suggestion`:\n\n```yaml\nmetadata:\n  labels:\n    pod-security.kubernetes.io\u002Fenforce: restricted\n    pod-security.kubernetes.io\u002Fenforce-version: latest\n```\n\n> [!NOTE] Using `latest` ensures you use the policies corresponding to the\n> cluster's current version. You can pin it to a specific version (e.g.,\n> `v1.30`) to lock down the namespace to policies of a specific release.\n\n### 6. Secret Manager Integration (CSI Driver)\n\nMount secrets from Google Cloud Secret Manager directly as volumes in your pods.\n\n**Prerequisites**: Secret Manager CSI driver must be enabled on the cluster.\n\n**Example SecretProviderClass:**\n\n```yaml\napiVersion: secrets-store.csi.x-k8s.io\u002Fv1\nkind: SecretProviderClass\nmetadata:\n  name: my-secret-provider\nspec:\n  provider: gcp\n  parameters:\n    secrets: |\n      - resourceName: \"projects\u002F\u003Cproject-id>\u002Fsecrets\u002Fmy-secret\u002Fversions\u002Flatest\"\n        fileName: \"my-secret-file\"\n```\n\n**Example Pod Spec excerpt:**\n\n```yaml\nspec:\n  containers:\n    - name: my-app\n      volumeMounts:\n        - name: secrets-store-inline\n          mountPath: \"\u002Fmnt\u002Fsecrets\"\n          readOnly: true\n  volumes:\n    - name: secrets-store-inline\n      csi:\n        driver: secrets-store.csi.k8s.io\n        readOnly: true\n        volumeAttributes:\n          secretProviderClass: \"my-secret-provider\"\n```\n\n### 7. Enable Network Policy Logging\n\nIf using GKE Dataplane V2, you can log allowed and denied connections.\n\n**Steps:**\n\n1.  Configure the `NetworkLogging` custom resource.\n\n**Example NetworkLogging Manifest:**\n\n```yaml\napiVersion: networking.gke.io\u002Fv1alpha1\nkind: NetworkLogging\nmetadata:\n  name: default\nspec:\n  cluster:\n    allow:\n      log: true\n      delegate: true\n    deny:\n      log: true\n      delegate: true\n```\n\nThis will log connection details to Cloud Logging.\n\n## Best Practices\n\n1.  **Least Privilege:** Always use Workload Identity with minimal IAM roles.\n    Avoid using Node default service accounts.\n2.  **Network Isolation:** Use Network Policies to restrict Pod-to-Pod\n    communication. Enable Network Policy Logging for visibility.\n3.  **Image Security:** Use Binary Authorization to ensure only trusted images\n    are deployed.\n4.  **Secret Management**: Use Secret Manager CSI driver instead of default\n    Kubernetes secrets for sensitive data.\n5.  **Pod Security**: Enforce `baseline` or `restricted` Pod Security Standards\n    on all non-system namespaces.\n6.  **Policy Enforcement**: Consider using **Policy Controller** (Gatekeeper) to\n    enforce custom security and compliance policies across the cluster.\n\n## Resources\n\n-   [Workload Identity Federation for GKE](https:\u002F\u002Fcloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fworkload-identity)\n-   [GKE Network Policies](https:\u002F\u002Fcloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fnetwork-policy)\n-   [Pod Security Standards in GKE](https:\u002F\u002Fcloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fpodsecurityadmission)\n-   [Google Secret Manager CSI Driver](https:\u002F\u002Fcloud.google.com\u002Fsecret-manager\u002Fdocs\u002Fsecret-manager-managed-csi-component)\n-   [GKE Dataplane V2 Network Logging](https:\u002F\u002Fcloud.google.com\u002Fkubernetes-engine\u002Fdocs\u002Fhow-to\u002Fnetwork-policy-logging)\n",{"name":5,"metadata":23,"description":7},{"version":24,"category":25},"1.0.1","Security","main","af354bf2b99e17df77e52c512a7ba968c37c2306","agents\u002Fplatform\u002Fskills\u002Fgke-workload-security",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":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add gke-labs\u002Fkube-agents --skill gke-workload-security",{"tool":40,"command":41},"bunx","bunx skills add gke-labs\u002Fkube-agents --skill gke-workload-security",{"tool":43,"command":44},"pnpm","pnpm dlx skills add gke-labs\u002Fkube-agents --skill gke-workload-security","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fagents\u002Fplatform\u002Fskills\u002Fgke-workload-security\u002FSKILL.md",true,[48,54,58],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"assets\u002Fdefault-deny-netpol.yaml","ASSET","资产文件",235,"https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fagents\u002Fplatform\u002Fskills\u002Fgke-workload-security\u002Fassets\u002Fdefault-deny-netpol.yaml",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"assets\u002Fworkload-identity-pod.yaml",1207,"https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fagents\u002Fplatform\u002Fskills\u002Fgke-workload-security\u002Fassets\u002Fworkload-identity-pod.yaml",{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"scripts\u002Faudit_cluster.sh","SCRIPT","脚本",2261,"https:\u002F\u002Fgithub.com\u002Fgke-labs\u002Fkube-agents\u002Fblob\u002Fmain\u002Fagents\u002Fplatform\u002Fskills\u002Fgke-workload-security\u002Fscripts\u002Faudit_cluster.sh",[65,72,78,85,92,99],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"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":73,"name":5,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M721643JPG43MFDHGN067D7T","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":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"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":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"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":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"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":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"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",[],[]]