9f0db30fd1
This commit is the final commit to apply resource-constraints to all OpenStack services. Depends-on: I39004f54281f97d53dfa4b1dbcf248650ad6f186 Change-Id: I072d69be9698be54775cb0ae286ea2b6ed78776c Implements: blueprint resource-constraints
31 lines
1.0 KiB
YAML
31 lines
1.0 KiB
YAML
---
|
|
zookeeper_services:
|
|
zookeeper:
|
|
container_name: zookeeper
|
|
group: zookeeper
|
|
enabled: true
|
|
image: "{{ zookeeper_image_full }}"
|
|
environment:
|
|
ZOO_LOG_DIR: /var/log/kolla/zookeeper
|
|
ZOO_LOG4J_PROP: "{{ zookeeper_log_settings }}"
|
|
volumes:
|
|
- "{{ node_config_directory }}/zookeeper/:{{ container_config_directory }}/"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "zookeeper:/var/lib/zookeeper/data"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
dimensions: "{{ zookeeper_dimensions }}"
|
|
|
|
####################
|
|
# Zookeeper
|
|
####################
|
|
zookeeper_log_settings: 'INFO,ROLLINGFILE'
|
|
|
|
####################
|
|
# Docker
|
|
####################
|
|
zookeeper_install_type: "{{ kolla_install_type }}"
|
|
zookeeper_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ zookeeper_install_type }}-zookeeper"
|
|
zookeeper_tag: "{{ openstack_release }}"
|
|
zookeeper_image_full: "{{ zookeeper_image }}:{{ zookeeper_tag }}"
|
|
zookeeper_dimensions: "{{ default_container_dimensions }}"
|