menu
arrow_back

Managing a GKE Multi-tenant Cluster with Namespaces

—/100

Checkpoints

arrow_forward

Create Namespaces

Access Control in Namespaces

Resource Quotas

Monitoring GKE and GKE Usage Metering

Managing a GKE Multi-tenant Cluster with Namespaces

1 heure 15 minutes 7 crédits

GSP766

Google Cloud Self-Paced Labs

Overview

When considering cost optimization solutions for any Google Cloud infrastructure built around Google Kubernetes Engine (GKE) clusters, it's important to ensure that you're making effective use of the resources that are being billed. A common misstep is assigning a one to one ratio of users or teams to clusters, resulting in cluster proliferation.

A multi-tenancy cluster allows for multiple users or teams to share one cluster for their workloads while maintaining isolation and fair resource sharing. This is achieved by creating namespaces. Namespaces allow multiple virtual clusters to exist on the same physical cluster.

In this lab you will learn how to set up a multi-tenant cluster using multiple namespaces to optimize resource utilization and, in effect, optimize costs.

What you'll do

  • Create multiple namespaces in a GKE cluster

  • Configure role-based access control for namespace access

  • Configure Kubernetes resource quotas for fair sharing resources across multiple namespaces

  • View and configure monitoring dashboards to view resource usage by namespace

  • Generate a GKE metering report in Data Studio for fine grained metrics on resource utilization by namespace

Inscrivez-vous sur Qwiklabs pour consulter le reste de cet atelier, et bien plus encore.

  • Obtenez un accès temporaire à Google Cloud Console.
  • Plus de 200 ateliers, du niveau débutant jusqu'au niveau expert.
  • Fractionné pour vous permettre d'apprendre à votre rythme.
Inscrivez-vous pour démarrer cet atelier