Skip to content
Snippets Groups Projects
Commit 0a128d24 authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "Put etcd behind HTTP loadbalancer"

parents 4ba17d6d 6f536a4f
No related branches found
No related tags found
No related merge requests found
...@@ -23,7 +23,13 @@ etcd_services: ...@@ -23,7 +23,13 @@ etcd_services:
image: "{{ etcd_image_full }}" image: "{{ etcd_image_full }}"
volumes: "{{ etcd_default_volumes + etcd_extra_volumes }}" volumes: "{{ etcd_default_volumes + etcd_extra_volumes }}"
dimensions: "{{ etcd_dimensions }}" dimensions: "{{ etcd_dimensions }}"
haproxy:
etcd:
enabled: true
mode: "http"
external: false
port: "{{ etcd_client_port }}"
tls_backend: "{{ etcd_enable_tls | bool }}"
#################### ####################
# Docker # Docker
......
---
- name: "Configure loadbalancer for {{ project_name }}"
import_role:
name: loadbalancer-config
vars:
project_services: "{{ etcd_services }}"
tags: always
...@@ -150,6 +150,11 @@ ...@@ -150,6 +150,11 @@
tasks_from: loadbalancer tasks_from: loadbalancer
tags: designate tags: designate
when: enable_designate | bool when: enable_designate | bool
- include_role:
name: etcd
tasks_from: loadbalancer
tags: etcd
when: enable_etcd | bool
- include_role: - include_role:
name: freezer name: freezer
tasks_from: loadbalancer tasks_from: loadbalancer
......
---
features:
- |
etcd is now exposed internally via HAProxy on ``etcd_client_port``.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment