gke-multi-tenancy

Generate isolated namespaces, RBAC roles, and resource quotas for GKE clusters.

42|32|Updated May 7, 2026
One-click install
npx skills add https://github.com/gke-labs/kube-agents --skill gke-multi-tenancy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gke-multi-tenancy
Source: https://github.com/gke-labs/kube-agents/tree/main/agents/platform/skills/gke-multi-tenancy
Command: npx skills add https://github.com/gke-labs/kube-agents --skill gke-multi-tenancy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the complexity of managing shared Kubernetes infrastructure by providing standardized patterns for tenant isolation, resource governance, and access control.

Core Features & Use Cases

  • Namespace Isolation: Standardizes the creation of isolated environments for different teams or applications.
  • RBAC Enforcement: Provides templates for implementing least-privilege access control to secure cluster resources.
  • Resource Governance: Defines resource quotas to prevent resource exhaustion and ensure fair sharing across tenants.
  • Use Case: A platform engineer can use this skill to quickly generate and apply manifests that partition a new GKE cluster for multiple development teams while ensuring each team is restricted to their own namespace and resource limits.

Quick Start

Use the gke-multi-tenancy skill to generate a namespace and associated RBAC role for a new tenant named marketing-team.

Frequently Asked Questions about gke-multi-tenancy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure multi-tenancy in GKE to isolate workloads across different teams?

GKE multi-tenancy isolates workloads by standardizing namespace creation, enforcing role-based access control, and defining resource quotas. This ensures teams share a cluster securely without accessing each other's resources or exhausting capacity.

How do I set up RBAC for Kubernetes namespaces to enforce least-privilege access?

You can enforce least-privilege RBAC in Kubernetes namespaces by applying standardized templates that restrict tenant access strictly to their own isolated environments. This secures cluster resources and satisfies organizational compliance requirements.

What is the best way to prevent resource exhaustion in a shared Google Kubernetes Engine cluster?

The best way to prevent resource exhaustion in a shared GKE cluster is by defining resource quotas for each tenant. This governance pattern ensures fair resource sharing and prevents any single team from monopolizing cluster capacity.

Can I use this approach to partition an existing GKE cluster for multiple development teams?

Yes, you can partition an existing GKE cluster for multiple development teams. Platform engineers can quickly generate and apply manifests that create isolated namespaces and resource limits specifically for each new tenant.

Do I need predefined manifests to start implementing cluster governance on Google Kubernetes Engine?

You do not need predefined manifests beforehand. This skill generates the necessary namespace configurations, RBAC roles, and resource quota definitions automatically, allowing you to quickly apply multi-tenancy patterns to your GKE cluster.