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

Bump Prometheus-operator version to 8.13.0 #2430

Closed
Ebaneck opened this issue Apr 20, 2020 · 1 comment
Closed

Bump Prometheus-operator version to 8.13.0 #2430

Ebaneck opened this issue Apr 20, 2020 · 1 comment
Assignees
Labels
complexity:medium Something that requires one or few days to fix topic:deployment Bugs in or enhancements to deployment stages topic:monitoring Everything related to monitoring of services in a running cluster

Comments

@Ebaneck
Copy link
Contributor

Ebaneck commented Apr 20, 2020

Component:

'charts', 'monitoring', 'prometheus-operator'

Why this is needed:

We need to update the chart version we currently deploy for Prometheus-operator to the latest stable release.

What should be done:

  • Bump the version of the chart to 8.13.0
  • Ensure grafana-piechart-panel plugin is present (no missing plugins)
  • Check and validate that Grafana dashboards have data

Implementation proposal (strongly recommended):

Test plan:

@Ebaneck Ebaneck added topic:deployment Bugs in or enhancements to deployment stages complexity:medium Something that requires one or few days to fix topic:monitoring Everything related to monitoring of services in a running cluster labels Apr 20, 2020
@gdemonet gdemonet added this to the MetalK8s 2.5.1 milestone Apr 20, 2020
@Ebaneck Ebaneck self-assigned this Apr 22, 2020
Ebaneck added a commit that referenced this issue Apr 22, 2020
Since we have updated the version of prometheus-operator chart, we need
to bump the versions of it's component in the buildchain

```
Prometheus-opearot => 0.38.1
Prometheus-config-reloader => 0.38.1
Prometheus => 2.16.0
kube-state-metrics => 1.9.5
Alertmanager => 0.20.0
Grafana => 6.7.1
```

Closes: #2430
@Ebaneck
Copy link
Contributor Author

Ebaneck commented Apr 22, 2020

Bumping the Prometheus-operator version to 8.13.0 results in the following

> Deploying bootstrap node (this may take a while)...[ERROR   ] An exception occurred in this state: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/salt/state.py", line 1919, in call
    **cdata['kwargs'])
  File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1918, in wrapper
    return f(*args, **kwargs)
  File "/var/cache/salt/master/extmods/states/metalk8s_kubernetes.py", line 132, in object_present
    **kwargs
  File "/var/cache/salt/master/extmods/modules/metalk8s_kubernetes.py", line 158, in method
    force_custom_object=action in ['retrieve', 'delete', 'update']
  File "/var/cache/salt/master/extmods/modules/metalk8s_kubernetes.py", line 54, in _extract_obj_and_kind_info
    raise CommandExecutionError('Invalid manifest: {!s}'.format(exc))
CommandExecutionError: Invalid manifest: Unsupported attribute preserveUnknownFields for "V1beta1CustomResourceDefinitionSpec" object.

This is likely due to the fact that the python2-kubernetes version we currently use does not have support for preserve_unknown_fields(bool) which was recently introduced in v11.0.0 here: https://github.com/kubernetes-client/python/blob/master/kubernetes/docs/V1beta1CustomResourceDefinitionSpec.md.

@Ebaneck Ebaneck added the state:blocked Something prevents this from being worked on label Apr 22, 2020
Ebaneck added a commit that referenced this issue May 18, 2020
Since we have updated the version of the prometheus-operator chart
to version 8.13.0, we need to bump the versions of it's component
in the buildchain

```
The following components now run with version numbers:

Prometheus-operator => 0.38.1
Prometheus-config-reloader => 0.38.1
Prometheus => 2.16.0
kube-state-metrics => 1.9.5
Alertmanager => 0.20.0
Grafana => 6.7.1
```

Closes: #2430
@Ebaneck Ebaneck removed the state:blocked Something prevents this from being worked on label May 23, 2020
@bert-e bert-e closed this as completed in 270a950 May 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
complexity:medium Something that requires one or few days to fix topic:deployment Bugs in or enhancements to deployment stages topic:monitoring Everything related to monitoring of services in a running cluster
Projects
None yet
Development

No branches or pull requests

2 participants