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
41 lines
1.7 KiB
YAML
41 lines
1.7 KiB
YAML
---
|
|
project_name: "skydive"
|
|
|
|
skydive_services:
|
|
skydive-analyzer:
|
|
container_name: skydive_analyzer
|
|
group: skydive-analyzer
|
|
enabled: true
|
|
image: "{{ skydive_analyzer_image_full }}"
|
|
volumes:
|
|
- "{{ node_config_directory }}/skydive-analyzer/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
dimensions: "{{ skydive_analyzer_dimensions }}"
|
|
skydive-agent:
|
|
container_name: skydive_agent
|
|
group: skydive-agent
|
|
enabled: true
|
|
image: "{{ skydive_agent_image_full }}"
|
|
privileged: True
|
|
volumes:
|
|
- "{{ node_config_directory }}/skydive-agent/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "/var/run/openvswitch:/var/run/openvswitch:ro"
|
|
- "/var/run/netns:/host/run:shared"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
dimensions: "{{ skydive_agent_dimensions }}"
|
|
|
|
####################
|
|
# Docker
|
|
####################
|
|
skydive_analyzer_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-skydive-analyzer"
|
|
skydive_analyzer_tag: "{{ openstack_release }}"
|
|
skydive_analyzer_image_full: "{{ skydive_analyzer_image }}:{{ skydive_analyzer_tag }}"
|
|
|
|
skydive_agent_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-skydive-agent"
|
|
skydive_agent_tag: "{{ openstack_release }}"
|
|
skydive_agent_image_full: "{{ skydive_agent_image }}:{{ skydive_agent_tag }}"
|
|
skydive_analyzer_dimensions: "{{ default_container_dimensions }}"
|
|
skydive_agent_dimensions: "{{ default_container_dimensions }}"
|