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

Template and store the number of replicas for Grafana, Prometheus and Alertmanager as service configurations #2255

Closed
Ebaneck opened this issue Feb 24, 2020 · 0 comments
Assignees
Labels
topic:operations Operations-related issues

Comments

@Ebaneck
Copy link
Contributor

Ebaneck commented Feb 24, 2020

Component:

'salt', 'charts', 'kubernetes'

Why this is needed:

To guarantee the persistence of the number replicas for Grafana, Alertmanager and Prometheus deployments, we need to store these service configurations using a ConfigMap as documented in the design phase(see #2233).

What should be done:

  • Template and render the service charts(Prometheus-operator) to read cluster and service configurations from ConfigMaps directly.
  • Add a salt module that retrieves the number of replicas from a specified Configmap
  • Deploy the ConfigMap holding the respective service configurations before the consumers are deployed

Implementation proposal (strongly recommended):

Test plan:

Epic: #1996

@Ebaneck Ebaneck added the topic:operations Operations-related issues label Feb 24, 2020
@Ebaneck Ebaneck self-assigned this Feb 25, 2020
Ebaneck added a commit that referenced this issue Feb 25, 2020
The prometheus-operator chart is rendered using the following command:

./charts/render.py prometheus-operator metalk8s-monitoring charts/prometheus-operator.yaml --service-config grafana metalk8s-grafana-config --service-config
prometheus metalk8s-prometheus-config --service-config alertmanager metalk8s-alertmanager-config charts/prometheus-operator/ >
salt/metalk8s/addons/prometheus-operator/deployed/chart.sls

Service configuration values are passed using `--service-config` argument.
When rendering this chart, we must pass the following services(grafana, prometheus, alertmanager)
including the configmap that holds their respective service & cluster configurations

Closes: #2255
Ebaneck added a commit that referenced this issue Feb 25, 2020
The prometheus-operator chart is rendered using the following command:

./charts/render.py prometheus-operator metalk8s-monitoring charts/prometheus-operator.yaml --service-config grafana metalk8s-grafana-config --service-config
prometheus metalk8s-prometheus-config --service-config alertmanager metalk8s-alertmanager-config charts/prometheus-operator/ >
salt/metalk8s/addons/prometheus-operator/deployed/chart.sls

Service configuration values are passed using `--service-config` argument.
When rendering this chart, we must pass the following services(grafana, prometheus, alertmanager)
including the configmap that holds their respective service & cluster configurations

Closes: #2255
Ebaneck added a commit that referenced this issue Feb 25, 2020
The prometheus-operator chart is rendered using the following command:

./charts/render.py prometheus-operator --namespace metalk8s-monitoring charts/prometheus-operator.yaml --service-config grafana
metalk8s-grafana-config --service-config prometheus metalk8s-prometheus-config --service-config alertmanager metalk8s-alertmanager-config
charts/prometheus-operator/ > salt/metalk8s/addons/prometheus-operator/deployed/chart.sls

Service configuration values are passed using `--service-config` argument.
When rendering this chart, we must pass the following services(grafana, prometheus, alertmanager)
including the configmap that holds their respective service & cluster configurations

Closes: #2255
Ebaneck added a commit that referenced this issue Feb 25, 2020
The prometheus-operator chart is rendered using the following command:

./charts/render.py prometheus-operator --namespace metalk8s-monitoring charts/prometheus-operator.yaml --service-config grafana
metalk8s-grafana-config --service-config prometheus metalk8s-prometheus-config --service-config alertmanager metalk8s-alertmanager-config
charts/prometheus-operator/ > salt/metalk8s/addons/prometheus-operator/deployed/chart.sls

Service configuration values are passed using `--service-config` argument.
When rendering this chart, we must pass the following services(grafana, prometheus, alertmanager)
including the configmap that holds their respective service & cluster configurations

Closes: #2255
Ebaneck added a commit that referenced this issue Feb 25, 2020
The prometheus-operator chart is rendered using the following command:

./charts/render.py prometheus-operator --namespace metalk8s-monitoring charts/prometheus-operator.yaml --service-config grafana
metalk8s-grafana-config --service-config prometheus metalk8s-prometheus-config --service-config alertmanager metalk8s-alertmanager-config
charts/prometheus-operator/ > salt/metalk8s/addons/prometheus-operator/deployed/chart.sls

Service configuration values are passed using `--service-config` argument.
When rendering this chart, we must pass the following services(grafana, prometheus, alertmanager)
including the configmap that holds their respective service & cluster configurations

Closes: #2255
Ebaneck added a commit that referenced this issue Feb 26, 2020
The prometheus-operator chart is rendered using the following command:

./charts/render.py prometheus-operator --namespace metalk8s-monitoring charts/prometheus-operator.yaml --service-config grafana
metalk8s-grafana-config --service-config prometheus metalk8s-prometheus-config --service-config alertmanager metalk8s-alertmanager-config
charts/prometheus-operator/ > salt/metalk8s/addons/prometheus-operator/deployed/chart.sls

Service configuration values are passed using `--service-config` argument.
When rendering this chart, we must pass the following services(grafana, prometheus, alertmanager)
including the configmap that holds their respective service & cluster configurations

Closes: #2255
Ebaneck added a commit that referenced this issue Feb 26, 2020
The prometheus-operator chart is rendered using the following command:

./charts/render.py prometheus-operator --namespace metalk8s-monitoring charts/prometheus-operator.yaml --service-config grafana
metalk8s-grafana-config --service-config prometheus metalk8s-prometheus-config --service-config alertmanager metalk8s-alertmanager-config
charts/prometheus-operator/ > salt/metalk8s/addons/prometheus-operator/deployed/chart.sls

Service configuration values are passed using `--service-config` argument.
When rendering this chart, we must pass the following services(grafana, prometheus, alertmanager)
including the configmap that holds their respective service & cluster configurations

Closes: #2255
Ebaneck added a commit that referenced this issue Feb 26, 2020
The prometheus-operator chart is rendered using the following command:

./charts/render.py prometheus-operator --namespace metalk8s-monitoring charts/prometheus-operator.yaml --service-config grafana
metalk8s-grafana-config --service-config prometheus metalk8s-prometheus-config --service-config alertmanager metalk8s-alertmanager-config
charts/prometheus-operator/ > salt/metalk8s/addons/prometheus-operator/deployed/chart.sls

Service configuration values are passed using `--service-config` argument.
When rendering this chart, we must pass the following services(grafana, prometheus, alertmanager)
including the configmap that holds their respective service & cluster configurations

Closes: #2255
Ebaneck added a commit that referenced this issue Feb 26, 2020
The prometheus-operator chart is rendered using the following command:

./charts/render.py prometheus-operator --namespace metalk8s-monitoring charts/prometheus-operator.yaml --service-config grafana
metalk8s-grafana-config --service-config prometheus metalk8s-prometheus-config --service-config alertmanager metalk8s-alertmanager-config
charts/prometheus-operator/ > salt/metalk8s/addons/prometheus-operator/deployed/chart.sls

Service configuration values are passed using `--service-config` argument.
When rendering this chart, we must pass the following services(grafana, prometheus, alertmanager)
including the configmap that holds their respective service & cluster configurations

Closes: #2255
Ebaneck added a commit that referenced this issue Feb 26, 2020
The prometheus-operator chart is rendered using the following command:

./charts/render.py prometheus-operator --namespace metalk8s-monitoring charts/prometheus-operator.yaml --service-config grafana
metalk8s-grafana-config --service-config prometheus metalk8s-prometheus-config --service-config alertmanager metalk8s-alertmanager-config
charts/prometheus-operator/ > salt/metalk8s/addons/prometheus-operator/deployed/chart.sls

Service configuration values are passed using `--service-config` argument.
When rendering this chart, we must pass the following services(grafana, prometheus, alertmanager)
including the configmap that holds their respective service & cluster configurations

Closes: #2255
@Ebaneck Ebaneck added the topic: cluster&service configuration Anything related to cluster and service configuration persistence label Feb 26, 2020
Ebaneck added a commit that referenced this issue Feb 26, 2020
The prometheus-operator chart is rendered using the following command:

./charts/render.py prometheus-operator --namespace metalk8s-monitoring charts/prometheus-operator.yaml --service-config grafana
metalk8s-grafana-config --service-config prometheus metalk8s-prometheus-config --service-config alertmanager metalk8s-alertmanager-config
charts/prometheus-operator/ > salt/metalk8s/addons/prometheus-operator/deployed/chart.sls

Service configuration values are passed using `--service-config` argument.
When rendering this chart, we must pass the following services(grafana, prometheus, alertmanager)
including the configmap that holds their respective service & cluster configurations

Closes: #2255
Ebaneck added a commit that referenced this issue Feb 26, 2020
The prometheus-operator chart is rendered using the following command:

./charts/render.py prometheus-operator --namespace metalk8s-monitoring charts/prometheus-operator.yaml --service-config grafana
metalk8s-grafana-config --service-config prometheus metalk8s-prometheus-config --service-config alertmanager metalk8s-alertmanager-config
charts/prometheus-operator/ > salt/metalk8s/addons/prometheus-operator/deployed/chart.sls

Service configuration values are passed using `--service-config` argument.
When rendering this chart, we must pass the following services(grafana, prometheus, alertmanager)
including the configmap that holds their respective service & cluster configurations

Closes: #2255
Ebaneck added a commit that referenced this issue Feb 26, 2020
The prometheus-operator chart is rendered using the following command:

./charts/render.py prometheus-operator --namespace metalk8s-monitoring charts/prometheus-operator.yaml --service-config grafana
metalk8s-grafana-config --service-config prometheus metalk8s-prometheus-config --service-config alertmanager metalk8s-alertmanager-config
charts/prometheus-operator/ > salt/metalk8s/addons/prometheus-operator/deployed/chart.sls

Service configuration values are passed using `--service-config` argument.
When rendering this chart, we must pass the following services(grafana, prometheus, alertmanager)
including the configmap that holds their respective service & cluster configurations

Closes: #2255
Ebaneck added a commit that referenced this issue Feb 26, 2020
The prometheus-operator chart is rendered using the following command:

./charts/render.py prometheus-operator --namespace metalk8s-monitoring charts/prometheus-operator.yaml --service-config grafana
metalk8s-grafana-config --service-config prometheus metalk8s-prometheus-config --service-config alertmanager metalk8s-alertmanager-config
charts/prometheus-operator/ > salt/metalk8s/addons/prometheus-operator/deployed/chart.sls

Service configuration values are passed using `--service-config` argument.
When rendering this chart, we must pass the following services(grafana, prometheus, alertmanager)
including the configmap that holds their respective service & cluster configurations

Closes: #2255
Ebaneck added a commit that referenced this issue Feb 26, 2020
The prometheus-operator chart is rendered using the following command:

./charts/render.py prometheus-operator --namespace metalk8s-monitoring charts/prometheus-operator.yaml --service-config grafana
metalk8s-grafana-config --service-config prometheus metalk8s-prometheus-config --service-config alertmanager metalk8s-alertmanager-config
charts/prometheus-operator/ > salt/metalk8s/addons/prometheus-operator/deployed/chart.sls

Service configuration values are passed using `--service-config` argument.
When rendering this chart, we must pass the following services(grafana, prometheus, alertmanager)
including the configmap that holds their respective service & cluster configurations

Closes: #2255
Ebaneck added a commit that referenced this issue Feb 26, 2020
The prometheus-operator chart is rendered using the following command:

./charts/render.py prometheus-operator --namespace metalk8s-monitoring charts/prometheus-operator.yaml --service-config grafana
metalk8s-grafana-config --service-config prometheus metalk8s-prometheus-config --service-config alertmanager metalk8s-alertmanager-config
charts/prometheus-operator/ > salt/metalk8s/addons/prometheus-operator/deployed/chart.sls

Service configuration values are passed using `--service-config` argument.
When rendering this chart, we must pass the following services(grafana, prometheus, alertmanager)
including the configmap that holds their respective service & cluster configurations

Closes: #2255
Ebaneck added a commit that referenced this issue Feb 26, 2020
The prometheus-operator chart is rendered using the following command:

./charts/render.py prometheus-operator --namespace metalk8s-monitoring charts/prometheus-operator.yaml --service-config grafana
metalk8s-grafana-config --service-config prometheus metalk8s-prometheus-config --service-config alertmanager metalk8s-alertmanager-config
charts/prometheus-operator/ > salt/metalk8s/addons/prometheus-operator/deployed/chart.sls

Service configuration values are passed using `--service-config` argument.
When rendering this chart, we must pass the following services(grafana, prometheus, alertmanager)
including the configmap that holds their respective service & cluster configurations

Closes: #2255
Ebaneck added a commit that referenced this issue Feb 27, 2020
The prometheus-operator chart is rendered using the following command:

./charts/render.py prometheus-operator --namespace metalk8s-monitoring charts/prometheus-operator.yaml --service-config grafana
metalk8s-grafana-config --service-config prometheus metalk8s-prometheus-config --service-config alertmanager metalk8s-alertmanager-config
charts/prometheus-operator/ > salt/metalk8s/addons/prometheus-operator/deployed/chart.sls

Service configuration values are passed using `--service-config` argument.
When rendering this chart, we must pass the following services(grafana, prometheus, alertmanager)
including the configmap that holds their respective service & cluster configurations

Closes: #2255
@Ebaneck Ebaneck removed the topic: cluster&service configuration Anything related to cluster and service configuration persistence label Feb 27, 2020
Ebaneck added a commit that referenced this issue Feb 27, 2020
The prometheus-operator chart is rendered using the following command:

./charts/render.py prometheus-operator --namespace metalk8s-monitoring charts/prometheus-operator.yaml --service-config grafana
metalk8s-grafana-config --service-config prometheus metalk8s-prometheus-config --service-config alertmanager metalk8s-alertmanager-config
charts/prometheus-operator/ > salt/metalk8s/addons/prometheus-operator/deployed/chart.sls

Service configuration values are passed using `--service-config` argument.
When rendering this chart, we must pass the following services(grafana, prometheus, alertmanager)
including the configmap that holds their respective service & cluster configurations

Closes: #2255
Ebaneck added a commit that referenced this issue Feb 27, 2020
The prometheus-operator chart is rendered using the following command:

./charts/render.py prometheus-operator --namespace metalk8s-monitoring charts/prometheus-operator.yaml --service-config grafana
metalk8s-grafana-config --service-config prometheus metalk8s-prometheus-config --service-config alertmanager metalk8s-alertmanager-config
charts/prometheus-operator/ > salt/metalk8s/addons/prometheus-operator/deployed/chart.sls

Service configuration values are passed using `--service-config` argument.
When rendering this chart, we must pass the following services(grafana, prometheus, alertmanager)
including the configmap that holds their respective service & cluster configurations

Closes: #2255
Ebaneck added a commit that referenced this issue Feb 27, 2020
The prometheus-operator chart is rendered using the following command:

./charts/render.py prometheus-operator --namespace metalk8s-monitoring charts/prometheus-operator.yaml --service-config grafana
metalk8s-grafana-config --service-config prometheus metalk8s-prometheus-config --service-config alertmanager metalk8s-alertmanager-config
charts/prometheus-operator/ > salt/metalk8s/addons/prometheus-operator/deployed/chart.sls

Service configuration values are passed using `--service-config` argument.
When rendering this chart, we must pass the following services(grafana, prometheus, alertmanager)
including the configmap that holds their respective service & cluster configurations

Closes: #2255
Ebaneck added a commit that referenced this issue Feb 27, 2020
The prometheus-operator chart is rendered using the following command:

./charts/render.py prometheus-operator --namespace metalk8s-monitoring charts/prometheus-operator.yaml --service-config grafana
metalk8s-grafana-config --service-config prometheus metalk8s-prometheus-config --service-config alertmanager metalk8s-alertmanager-config
charts/prometheus-operator/ > salt/metalk8s/addons/prometheus-operator/deployed/chart.sls

Service configuration values are passed using `--service-config` argument.
When rendering this chart, we must pass the following services(grafana, prometheus, alertmanager)
including the configmap that holds their respective service & cluster configurations

Closes: #2255
@bert-e bert-e closed this as completed in 6f96f83 Feb 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic:operations Operations-related issues
Projects
None yet
Development

No branches or pull requests

1 participant