Requires Shipyard: https://shipyard.run
./consul/kubernetes/consul-template
This simple example shows how to connect two services using Consul Service Mesh on Kubernetes.
./consul/docker/consul-template
This simple example shows how to load balance upstream services using Consul Template and HAProxy.
This module installs and configures Consul Service Mesh using the HashiCorp Helm chart with CRDs enabled.
To enable monitoring use this chart in combination with the monitoring module.
// name of the k8s cluster to install module to
variable "consul_k8s_cluster" {
default = "dc1"
}
module "consul" {
source = "github.com/nicholasjackson/hashicorp-shipyard-modules/modules/kubernetes//consul"
}
This module installs and configures Vault using the HashiCorp Helm chart in
dev
mode.
// name of the k8s cluster to install module to
variable "vault_k8s_cluster" {
default = "dc1"
}
module "vault" {
source = "github.com/nicholasjackson/hashicorp-shipyard-modules/modules/kubernetes//vault"
}
./modules/kubernetes/monitoring
This module installs Grafana, Loki, and Prometheus to the specified kubernetes cluster
// name of the k8s cluster to install module to
variable "monitoring_k8s_cluster" {
default = "dc1"
}
module "monitoring" {
source = "github.com/nicholasjackson/hashicorp-shipyard-modules/modules/kubernetes//monitoring"
}
./modules/kubernetes/smi-controller
This module installs cert manager and a SMI controller to the specified Kubernetes cluster
// name of the k8s cluster to install module to
variable "smi_controller_k8s_cluster" {
default = "dc1"
}
module "smi_controller" {
source = "github.com/nicholasjackson/hashicorp-shipyard-modules/modules/kubernetes//smi-controller"
}