Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1.13 KB

configuring-kubernetes.md

File metadata and controls

44 lines (30 loc) · 1.13 KB

Configuring Kubernetes with Kind

This project uses Kind to host a light-weight Kubernetes cluster that can be used for development and testing. Kind can also be used for small-scale production deployments.

Installation

In order to operate the cluster, the following CLI tools need to be installed:

Setting up a cluster

Create a cluster

./scripts/create-cluster
./scripts/install-cluster

You can verify that the cluster was correctly created by running

kubectl cluster-info --context kind-meet

Lastly, we set the default context so we do not need to specify it with every kubectl command (which required for most of scripts):

kubectl config use-context kind-meet

Port-forwarding to enable traffic

In order for the cluster to receive traffic, a port-forwarding needs to be setup from the host machine to the Traefik service. This can be done by running

sudo ./scripts/proxy-traefik