March 2020
Intermediate to advanced
626 pages
14h 45m
English
To install Consul, follow these steps:
$ cd ~/consul/scripts # Switch to scripts for this exercise
We will run three consul servers in our Kubernetes environment, even though we only have one node. Define the input parameters for the Consul Helm chart to be able to run three servers using a single node:
# Script : 02-consul-values.yamlglobal: datacenter: dc1 image: "consul:1.6.1" imageK8S: "hashicorp/consul-k8s:0.9.1"server: enabled: true replicas: 3 bootstrapExpect: 0 affinity: '' storage: 2Gi disruptionBudget: enabled: true maxUnavailable: 0client: enabled: true grpc: truedns: enabled: trueui: enabled: true
The following portion of the ...
Read now
Unlock full access