Access Control in Namespaces
Monitoring GKE and GKE Usage Metering
Managing a GKE Multi-tenant Cluster with Namespaces
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
Join Qwiklabs to read the rest of this lab...and more!
- Get temporary access to the Google Cloud Console.
- Over 200 labs from beginner to advanced levels.
- Bite-sized so you can learn at your own pace.