Prerequisites¶
Verify the following prerequisites before you install MKE on GCP:
MTU (maximum transmission unit) is set to at least
1500
on the VPC where you want to create your instances. For more information, refer to Google Cloud official documentation: Change the MTU setting of a VPC network.All MKE instances have the necessary authorization for managing cloud resources.
GCP defines authorization through the use of service accounts, roles, and access scopes. For information on how to best configure the authorization required for your MKE instances, refer to Google Cloud official documentation: Service accounts.
An example of a permissible role for a service account is
roles/owner
, and an example of an access scope that provides access to most Google services ishttps://www.googleapis.com/auth/cloud-platform
. As a best practice, define a broad access scope such as this to an instance and then restrict access using roles.Refer to Google Identity official documentation: OAuth 2.0 Scopes for Google APIs for a list of available scopes, and to Google Cloud official documentation: Understanding roles for a list of available roles.
All of your MKE instances include the same prefix.
Each instance is tagged with the prefix of its associated instance names. For example, if the instance names are
testcluster-m1
andtestcluster-m2
, tag the associated instance withtestcluster
.