Difficulty: Beginner
Estimated Time: 10 minutes

Consul Service Mesh on Kubernetes

In this lab you will perform all the steps needed to deploy Consul service mesh as the data plane for your Kubernetes cluster.

The lab uses Minikube to deploy the cluster but the commands can be applied to any Kubernetes flavor.

If you are already familiar with the basics of Consul, Understand Consul Service Mesh provides a reference guide for the Consul service mesh based labs.

During this session you will deploy a Consul datacenter using Minikube and Helm 3.x. Specifically you will:

  • Create a local Kubernetes cluster using Minikube
  • Check the state of your Kubernetes cluster
  • Add the official HashiCorp Consul Helm chart repo
  • Review a Consul service mesh configuration file
  • Deploy Consul to Kubernetes using the HashiCorp Consul Helm chart
  • Verify the Consul deployment
  • Configure port forwarding for the Consul UI

Review

Congratulations! You have now successfully deployed Consul service mesh as the data plane for your Kubernetes cluster.

Specifically you:

  • Created a local Kubernetes cluster using Minikube.
  • Verified the state of your Kubernetes cluster.
  • Added the official HashiCorp Consul Helm chart repo.
  • Reviewed a Consul service mesh configuration file.
  • Deployed Consul to Kubernetes using the HashiCorp Consul Helm chart.
  • Verified the Consul deployment.
  • Configured port forwarding for the Consul UI.

Next Steps

To learn more about Consul service mesh, Understand Consul Service Mesh provides a reference guide for the Consul service mesh based labs.

Install Consul service mesh on Kubernetes

Step 1 of 4

Provisioning Lab Infrastructure

There are a few components that need to be added to the environment; we are adding them now. Wait for the complete message and then move to the next step.

Example Output

- Installing Helm x.y.x

and concluding with

- Complete! Move on to the next step.

Once this message appears, you are ready to continue.

This tab will not be visible to users and provides only information to help authors when creating content.

Creating Katacoda Scenarios

Thanks for creating Katacoda scenarios. This tab is designed to help you as an author have quick access the information you need when creating scenarios.

Here are some useful links to get you started.

Running Katacoda Workshops

If you are planning to use Katacoda for workshops, please contact [email protected] to arrange capacity.

Debugging Scenarios

Below is the response from any background scripts run or files uploaded. This stream can aid debugging scenarios.

If you still need assistance, please contact [email protected]