Reference documentation and code samples for the GKE Hub v1 API class GkeHub.
The GKE Hub service handles the registration of many Kubernetes clusters to
Google Cloud, and the management of multi-cluster features over those
clusters.
The GKE Hub service operates on the following resources:
[Membership][google.cloud.gkehub.v1.Membership]
[Feature][google.cloud.gkehub.v1.Feature]
GKE Hub is currently available in the global region and all regions in
https://cloud.google.com/compute/docs/regions-zones. Feature is only
available in global region while membership is global region and all the
regions.
Membership management may be non-trivial: it is recommended to use one
of the Google-provided client libraries or tools where possible when working
with Membership resources.
public static void BindService(ServiceBinderBase serviceBinder, GkeHub.GkeHubBase serviceImpl)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic.
Note: this method is part of an experimental API that can change or be removed without any prior notice.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the GKE Hub v1 API is 2.5.0, with prior versions ranging from 2.4.0 down to 1.0.0 also available.\u003c/p\u003e\n"],["\u003cp\u003eThe GKE Hub service facilitates the registration of multiple Kubernetes clusters to Google Cloud and manages multi-cluster features across those clusters, operating on Membership and Feature resources.\u003c/p\u003e\n"],["\u003cp\u003eGKE Hub is available globally and in all Google Cloud regions, while Feature resources are limited to the global region, and Membership resources are global and in all regions.\u003c/p\u003e\n"],["\u003cp\u003eMembership management is recommended to be handled using Google-provided client libraries or tools, due to its complexity.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGkeHub\u003c/code\u003e class offers two \u003ccode\u003eBindService\u003c/code\u003e methods for creating and registering service definitions with a server.\u003c/p\u003e\n"]]],[],null,[]]