Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add patches for kolla-operations deployment #624

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

janhorstmann
Copy link
Contributor

Add patches to support deployment of kolla-operations resources from the kolla-ansible container.

Subject: [PATCH 1/4] Fix redundant extra config files in grafana role

Task Check if extra configuration file exists picks up all files in {{ node_custom_config }}/grafana including those that get handled specially later on.
While prometheus.yml and provisioning.yml are best excluded from extra config , because their treatment requires more than just copying, grafana_home_dashboard.json may simply be treated as extra config, which saves the execution of two additional tasks..

Subject: [PATCH 2/4] Improve grafana dashboard deployment

Unitl now grafana dashboards were always removed and redeployed leading to a restart of the grafana services on every deployment. The task is changed to find all individual dashboards that are going to be deployed and all which are currently deployed. Dashboards only appearing in the latter group wil be removed, while dashboards in the former group will be deployed individually, leaving it to ansible to figure which changes need to be made.
This way only removal or changes to dashboards will lead to a restart of grafana containers.

Subject: [PATCH 3/4] Allow extension of grafana override paths

Subject: [PATCH 4/4] Allow extension of prometheus override paths

Part of osism/issues#1012

@janhorstmann janhorstmann requested a review from berendt May 20, 2024 08:58
@janhorstmann janhorstmann marked this pull request as draft May 27, 2024 11:43
Add patches to support deployment of kolla-operations resources from the
kolla-ansible container.

Subject: [PATCH 1/4] Fix redundant extra config files in grafana role

Task `Check if extra configuration file exists` picks up all files in
`{{ node_custom_config }}/grafana` including those that get handled
specially later on.
While `prometheus.yml` and `provisioning.yml` are best excluded from
extra config , because their treatment requires more than just copying,
`grafana_home_dashboard.json` may simply be treated as extra config,
which saves the execution of two additional tasks..

Subject: [PATCH 2/4] Improve grafana dashboard deployment

Unitl now grafana dashboards were always removed and redeployed leading
to a restart of the grafana services on every deployment.
The task is changed to find all individual dashboards that are going to
be deployed and all which are currently deployed. Dashboards only
appearing in the latter group wil be removed, while dashboards in the
former group will be deployed individually, leaving it to ansible to
figure which changes need to be made.
This way only removal or changes to dashboards will lead to a restart of
grafana containers.

Subject: [PATCH 3/4] Allow extension of grafana override paths

Subject: [PATCH 4/4] Allow extension of prometheus override paths

Part of osism/issues#1012

Signed-off-by: Jan Horstmann <horstmann@osism.tech>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant