Merge "Add skydive service"
This commit is contained in:
commit
1253c694f0
7
docker/skydive/skydive-agent/Dockerfile.j2
Normal file
7
docker/skydive/skydive-agent/Dockerfile.j2
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
FROM {{ namespace }}/{{ image_prefix }}skydive-base:{{ tag }}
|
||||||
|
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
|
||||||
|
|
||||||
|
{% block skydive_agent_header %}{% endblock %}
|
||||||
|
|
||||||
|
{% block skydive_agent_footer %}{% endblock %}
|
||||||
|
{% block footer %}{% endblock %}
|
8
docker/skydive/skydive-analyzer/Dockerfile.j2
Normal file
8
docker/skydive/skydive-analyzer/Dockerfile.j2
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
FROM {{ namespace }}/{{ image_prefix }}skydive-base:{{ tag }}
|
||||||
|
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
|
||||||
|
|
||||||
|
{% block skydive_analyzer_header %}{% endblock %}
|
||||||
|
{% block skydive_analyzer_footer %}{% endblock %}
|
||||||
|
{% block footer %}{% endblock %}
|
||||||
|
|
||||||
|
USER skydive
|
20
docker/skydive/skydive-base/Dockerfile.j2
Normal file
20
docker/skydive/skydive-base/Dockerfile.j2
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
|
||||||
|
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
|
||||||
|
|
||||||
|
{% block skydive_base_header %}{% endblock %}
|
||||||
|
|
||||||
|
{% import "macros.j2" as macros with context %}
|
||||||
|
|
||||||
|
{{ macros.configure_user(name='skydive') }}
|
||||||
|
|
||||||
|
{% if base_arch == 'x86_64' %}
|
||||||
|
|
||||||
|
{% block skydive_install %}
|
||||||
|
RUN curl -o /usr/bin/skydive -L "https://github.com/skydive-project/skydive/releases/download/v0.11.0/skydive" \
|
||||||
|
&& chmod +x /usr/bin/skydive
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% block skydive_base_footer %}{% endblock %}
|
||||||
|
{% block footer %}{% endblock %}
|
@ -73,6 +73,7 @@ _PROFILE_OPTS = [
|
|||||||
'qdrouterd',
|
'qdrouterd',
|
||||||
'rabbitmq',
|
'rabbitmq',
|
||||||
'redis',
|
'redis',
|
||||||
|
'skydive',
|
||||||
'tgtd',
|
'tgtd',
|
||||||
],
|
],
|
||||||
help='Infra images'),
|
help='Infra images'),
|
||||||
@ -866,6 +867,10 @@ USERS = {
|
|||||||
'sensu-user': {
|
'sensu-user': {
|
||||||
'uid': 42467,
|
'uid': 42467,
|
||||||
'gid': 42467,
|
'gid': 42467,
|
||||||
|
},
|
||||||
|
'skydive-user': {
|
||||||
|
'uid': 42468,
|
||||||
|
'gid': 42468,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
7
releasenotes/notes/add-skydive-52c3fb964fe6cc1b.yaml
Normal file
7
releasenotes/notes/add-skydive-52c3fb964fe6cc1b.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- Add skydive Dockerfile.
|
||||||
|
With skydive, cloud operators will be able to monitor
|
||||||
|
and troubleshoot networking in openstack.
|
||||||
|
This container can then be used as a skydive analyzer
|
||||||
|
or as a skydive agent.
|
Loading…
Reference in New Issue
Block a user