Skip to content

Instantly share code, notes, and snippets.

@dcanadillas
dcanadillas / frontend-v2.yaml
Last active January 13, 2021 23:07
HashiCups L7 Traffic for Consul
# ---
# apiVersion: v1
# kind: Service
# metadata:
# name: frontend-v2
# labels:
# app: frontend
# spec:
# type: ClusterIP
# ports:

DR Test case re-plied

Preparation of environment

Steps executed:

git clone https://github.com/dcanadillas/tf-vault-azure
@dcanadillas
dcanadillas / config_replication.hcl.tpl
Last active July 15, 2020 15:42
Vault config template for Terraform regarding Raft storage backend and replication resolver
cluster_name = "${clustername}-demo"
storage "raft" {
path = "/vault/data"
node_id = "${node_name}"
%{ for leader_host in hosts ~}
%{ if node_name != leader_host ~}
retry_join {
leader_api_addr = "http://${leader_host}:8200"
# leader_ca_cer_file = "/path/to/ca1"