added load balancer to secrets-bridge server (#281)

This commit is contained in:
Bill Maxwell 2016-09-16 13:26:34 -07:00 committed by GitHub
parent 4fb5393c0d
commit 66713b3a94
2 changed files with 20 additions and 0 deletions

View File

@ -16,3 +16,9 @@ secrets-bridge:
- ${CATTLE_SECRET_KEY}
- --rancher-access
- ${CATTLE_ACCESS_KEY}
secrets-bridge-lb:
ports:
- "${LBPORT}:8081"
image: rancher/load-balancer-service
links:
- secrets-bridge:secrets-bridge

View File

@ -34,3 +34,17 @@
label: "Vault Cubbyhole Path"
required: true
description: "Path to get the permenant API key"
- variable: LBPORT
description: "Port for Secrets Bridge LB to listen on"
type: string
required: true
secrets-bridge-lb:
scale: 1
load_balancer_config:
haproxy_config: {}
health_check:
port: 42
interval: 2000
unhealthy_threshold: 3
healthy_threshold: 2
response_timeout: 2000