Supporting configuration for my next blog post on using consul connect to deploy a service mesh on raspberry pis.
Last active
November 22, 2020 02:45
-
-
Save mjpitz/f88bac2edfaebd67f2a2148829e053bb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# helm repo add hashicorp https://helm.releases.hashicorp.com | |
# helm repo update | |
# helm upgrade -i consul hashicorp/consul -n consul -f consul-values.yaml | |
global: | |
datacenter: mjpitz | |
# 1.16 supports both amd64 and arm64 compatible | |
imageEnvoy: envoyproxy/envoy:v1.16.0 | |
server: | |
replicas: 1 | |
bootstrapExpect: 1 | |
disruptionBudget: | |
enabled: true | |
maxUnavailable: 0 | |
connectInject: | |
enabled: true | |
client: | |
enabled: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# helm repo add depscloud https://depscloud.github.io/deploy/charts/ | |
# helm repo update | |
# helm upgrade -i depscloud depscloud/depscloud -f depscloud-values.yaml | |
extractor: | |
service: | |
type: ClusterIP | |
podAnnotations: | |
consul.hashicorp.com/connect-inject: 'true' | |
gateway: | |
service: | |
type: ClusterIP | |
podAnnotations: | |
consul.hashicorp.com/connect-inject: 'true' | |
consul.hashicorp.com/connect-service-upstreams: 'depscloud-extractor:9000,depscloud-tracker:9001' | |
indexer: | |
schedule: "@daily" | |
podAnnotations: | |
consul.hashicorp.com/connect-inject: 'true' | |
consul.hashicorp.com/connect-service-upstreams: 'depscloud-extractor:9000,depscloud-tracker:9001' | |
tracker: | |
service: | |
type: ClusterIP | |
podAnnotations: | |
consul.hashicorp.com/connect-inject: 'true' | |
consul.hashicorp.com/connect-service-upstreams: 'postgresql-dev:5432' | |
storage: | |
driver: postgres | |
address: postgres://depscloud:depscloud@postgresql-dev:5432/depsclouddb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# helm repo add mjpitz https://mjpitz.github.io/charts/ | |
# helm repo update | |
# helm upgrade -i postgresql-dev mjpitz/postgresql-dev postgresql-dev-values.yaml | |
podAnnotations: | |
consul.hashicorp.com/connect-inject: 'true' | |
env: | |
- name: POSTGRES_PASSWORD | |
value: depscloud | |
- name: POSTGRES_USER | |
value: depscloud | |
- name: POSTGRES_DB | |
value: depsclouddb | |
# or pull from a secret | |
# envFrom: [] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment