Difficulty: Beginner
Estimated Time: 10 minutes

Installing Grey Matter in a Kubernetes cluster

In this scenario, we'll cover installing Grey Matter into a Kubernetes cluster

Finished!

There you have it, we've successfully installed Grey Matter.

Launch a Grey Matter (2.0) Service Mesh

Step 1 of 4

Step 1

Configure Kubernetes on the Master Node

Kubernetes is not configured by default but setting it up is fairly trivial. On the master node run the following command:

kubeadm init --kubernetes-version $(kubeadm version -o short)

Configure Kubernetes on the Compute Node

The last line printed by the above command is a command that you can run on the compute nodes to join the cluster. Copy that command into the terminal for the compute node (i.e., node01) and press return.

Configure Kubernetes Tools on the Master Node

In this tutorial we will be executing non-administration commands on the master node. Since the master is not configured for this access pattern, we'll copy the administration configuration usually reserved for kubeadm into the expected location for other Kubernetes tools (e.g., kubectl and helm).

mkdir .kube && cp /etc/kubernetes/admin.conf .kube/config

Install a Network Policy Provider, so that the Master Node will become ready

kubectl apply -f "https://cloud.weave.works/k8s/net?k8s-version=$(kubectl version | base64 | tr -d '\n')"

Terminal Host 2