Use Kind for Local Development and Continuous Integration
Kind[55] (an acronym for Kubernetes IN Docker) is a tool developed by the Kubernetes team to run local Kubernetes clusters using Docker containers as nodes. It’s the easiest way to run your own Kubernetes cluster, and it’s great for local development, testing, and continuous integration.
To install Kind, run the following:
| $ curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.8.1/kind-$(uname)-amd64 |
| $ chmod +x ./kind |
| $ mv ./kind /usr/local/bin/kind |
To use Kind, you’ll need to install Docker.[56] See Docker’s dedicated install instructions for your operation system.
With Docker running, you can create a Kind cluster by running:
| $ kind create cluster |
You can then verify that Kind created ...
Get Distributed Services with Go now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.