Quick Start with GKE

Manage your GKE clusters with Meshery. Deploy Meshery in GKE in-cluster or outside of GKE out-of-cluster. Note: It is advisable to Install Meshery in your GKE clusters

Prerequisites

  1. Install the Meshery command line client, mesheryctl.
  2. Install kubectl on your local machine.
  3. Install gCloud CLI, configured for your environment.
  4. Access to an active GKE cluster in your Google Cloud project.

Also see: Install Meshery on Kubernetes

Available Deployment Methods

In-cluster Installation

Follow the steps below to install Meshery in your GKE cluster.

Preflight Checks

Read through the following considerations prior to deploying Meshery on GKE.

Preflight: Cluster Connectivity

  1. Verfiy you connection to an Google Kubernetes Engine Cluster using gCloud CLI.
  2. Login to GCP account using gcloud auth login.
  3. After a successful login, set the Project Id:
gcloud config set project [PROJECT_ID]
  1. After setting the Project Id, set the cluster context.
gcloud container clusters get-credentials [CLUSTER_NAME] --zone [CLUSTER_ZONE]
  1. Verify your kubeconfig’s current context.
kubectl config current-context

Preflight: Plan your access to Meshery UI

  1. If you are using port-forwarding, please refer to the port-forwarding guide for detailed instructions.
  2. If you are using a LoadBalancer, please refer to the LoadBalancer guide for detailed instructions.
  3. Customize your Meshery Provider Callback URL. Meshery Server supports customizing authentication flow callback URL, which can be configured in the following way:
$ MESHERY_SERVER_CALLBACK_URL=https://custom-host mesheryctl system start

Meshery should now be running in your GKE cluster and Meshery UI should be accessible at the EXTERNAL IP of meshery service.

Installation: Using mesheryctl

Use Meshery’s CLI to streamline your connection to your GKE cluster. Configure Meshery to connect to your GKE cluster by executing:

$ mesheryctl system config gke

Once configured, execute the following command to start Meshery.

$ mesheryctl system start

If you encounter any authentication issues, you can use mesheryctl system login. For more information, click here to learn more.

Installation: Using Helm

For detailed instructions on installing Meshery using Helm V3, please refer to the Helm Installation guide.

Post-Installation Steps

Access Meshery UI

To access Meshery’s UI, please refer to the instruction for detailed guidance.

Note: You can also verify health of your system using mesheryctl system check

Suggested Reading

Recent Discussions with "meshery" Tag