gke-multitenancy

Configure GKE multi-tenancy with namespaces, RBAC, quotas, and network policies.

17.1k|1.4k|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/google/skills --skill gke-multitenancy-google
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gke-multitenancy
Source: https://github.com/google/skills/tree/main/skills/cloud/gke-multitenancy
Command: npx skills add https://github.com/google/skills --skill gke-multitenancy-google

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the planning and configuration of multi-tenancy on Google Kubernetes Engine (GKE), addressing namespace isolation, RBAC planning, resource quotas, and network isolation.

Core Features & Use Cases

  • Namespace Isolation: Isolate workloads by namespace for better resource management and team collaboration.
  • RBAC Configuration: Plan and implement Role-Based Access Control (RBAC) for teams, ensuring least-privilege access.
  • Resource Quotas: Set resource limits and requests to prevent any single team from consuming all cluster resources.
  • Network Isolation: Apply network policies for secure and efficient communication between namespaces.
  • Cost Allocation: Track and allocate costs across teams or projects for better budget management.
  • Use Case: When multiple teams share a GKE cluster and need to isolate their workloads and manage resources effectively.

Quick Start

Use the gke-multitenancy skill to create and configure namespaces for team-a and team-b with resource quotas and network policies.

Frequently Asked Questions about gke-multitenancy

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

FAQPage Schema
How do I configure multi-tenancy on a shared GKE cluster?

Configure multi-tenancy on a shared GKE cluster by setting up namespace isolation, RBAC, resource quotas, and network policies. This approach isolates workloads by team, ensuring least-privilege access and preventing any single team from consuming all cluster resources.

How does namespace isolation work for team collaboration in GKE?

Namespace isolation in GKE separates workloads by namespace to improve resource management and team collaboration. It allows teams to operate independently within a shared cluster while maintaining strict boundaries for access control and resource consumption through quotas.

What's the best way to apply network policies for namespace isolation in GKE?

The best way to apply network policies for namespace isolation in GKE is to configure them alongside RBAC and resource quotas. This ensures secure and efficient communication between namespaces while maintaining strict workload separation and access control for multiple teams.

Can I track cost allocation across teams sharing a GKE cluster?

Yes, you can track and allocate costs across teams or projects sharing a GKE cluster. By implementing namespace isolation and resource quotas, you gain better budget management visibility into how resources are consumed by each team within the shared environment.

Do I need RBAC to manage resource quotas for multiple teams in GKE?

Yes, you need RBAC to manage resource quotas effectively for multiple teams in GKE. RBAC planning ensures least-privilege access, allowing teams to manage their isolated workloads while preventing unauthorized access to other namespaces or shared cluster resources.

Why should I use namespace isolation instead of separate GKE clusters for each team?

Use namespace isolation instead of separate GKE clusters to optimize resource management and reduce operational overhead. It enables team collaboration on a shared cluster while maintaining security through RBAC, network policies, and resource quotas to prevent resource monopolization.