July 2019
Intermediate to advanced
502 pages
14h
English
First, let's install the NATS operator (https://github.com/nats-io/nats-operator). The NATS operator helps you to manage NATS clusters in Kubernetes. Here are the commands to install it:
$ kubectl apply -f https://github.com/nats-io/nats-operator/releases/download/v0.4.5/00-prereqs.yaml $ kubectl apply -f https://github.com/nats-io/nats-operator/releases/download/v0.4.5/10-deployment.yaml
The NATS operator provides a NatsCluster Custom Resource Definition (CRD) that we will use to deploy NATS in our Kubernetes cluster. Don't get confused by this NATS cluster within the Kubernetes cluster relationship. This is really nice since we can deploy the NATS cluster just like built-in Kubernetes resources. Here is the ...