Google Kubernetes Engine

Additional configuration required to operate Longhorn in Google Kubernetes Engine.

  1. GKE clusters must use Ubuntu OS instead of Container-Optimized OS, in order to satisfy Longhorn open-iscsi dependency.

  2. GKE requires a user to manually claim themselves as cluster admin to enable RBAC. Before installing Longhorn, run the following command:

kubectl create clusterrolebinding cluster-admin-binding --clusterrole=cluster-admin --user=<name@example.com>

where name@example.com is the user’s account name in GCE. It’s case sensitive. See this document for more information.


© 2019-2024 Longhorn Authors | Documentation Distributed under CC-BY-4.0


© 2024 The Linux Foundation. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.