kube-prometheus icon indicating copy to clipboard operation
kube-prometheus copied to clipboard

Update retention time

Open Prashantsaini25 opened this issue 3 years ago • 2 comments

There are so many problems in prod env. Every day my data is lost so I update the retention time 1year. if any one wants to change please change there

Description

Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.

Type of change

What type of changes does your code introduce to the kube-prometheus? Put an x in the box that apply.

  • [x] CHANGE (fix or feature that would cause existing functionality to not work as expected)
  • [ ] FEATURE (non-breaking change which adds functionality)
  • [ ] BUGFIX (non-breaking change which fixes an issue)
  • [ ] ENHANCEMENT (non-breaking change which improves existing functionality)
  • [ ] NONE (if none of the other choices apply. Example, tooling, build system, CI, docs, etc.)

Changelog entry

Please put a one-line changelog entry below. Later this will be copied to the changelog file.


Prashantsaini25 avatar Jun 04 '22 08:06 Prashantsaini25

This isn't going to work because this file is auto-generated. If you want to customize the retention parameter, you need to either copy and edit the generated resources or customize the default kube-prometheus jsonnet (see https://github.com/prometheus-operator/kube-prometheus/blob/main/docs/customizing.md).

simonpasquier avatar Jun 07 '22 16:06 simonpasquier

ok will add on customize file

Prashantsaini25 avatar Jul 12 '22 16:07 Prashantsaini25