menu
arrow_back

Managing a GKE Multi-tenant Cluster with Namespaces

search share 加入 登录

Managing a GKE Multi-tenant Cluster with Namespaces

1 个小时 15 分钟 7 个积分

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

加入 Qwiklabs 即可阅读本实验的剩余内容…以及更多精彩内容!

  • 获取对“Google Cloud Console”的临时访问权限。
  • 200 多项实验,从入门级实验到高级实验,应有尽有。
  • 内容短小精悍,便于您按照自己的节奏进行学习。
加入以开始此实验