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

Import cortex-jsonnet into mimir repo #506

Merged
merged 304 commits into from
Dec 20, 2021
Merged

Conversation

simonswine
Copy link
Contributor

@simonswine simonswine commented Nov 18, 2021

As discussed at the project weekly meeting, we would like to bring the jsonnet for Mimir into the project itself.

There is a bit more work required:

  • Ensure we are running the same CI as the cortex-jsonnet project
  • Bring over the CHANGELOG

pracucci and others added 30 commits June 16, 2020 14:09
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
…ortex-blocks-config

Fine-tune blocks storage config
Disable tests by default to fix README instructions
Signed-off-by: Marco Pracucci <marco@pracucci.com>
…gateway-without-cpu-limit

Run store-gateway without CPU limits
…g-comment

Fixes grafana/cortex-jsonnet#49

Linting job was not triggered from circleCI. However, this is a small comment only change.
Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
…gateway-pdb

Add store-gateway pod disruption budget
…ex-jsonnet#128)

Ruler instantiates querier internally, so it can use metadata cache.
…re-gateway-to-parallel-pod-management

Switch store-gateway StatefulSets to Parallel Pod Management
…tend-not-ready-addresses

Added publish not ready addresses
Signed-off-by: Marco Pracucci <marco@pracucci.com>
…ustomize-ingester-disk

Allow to customize ingester disk size and class
Copy link
Collaborator

@pracucci pracucci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think about importing the CHANGELOG too?

Copy link
Collaborator

@pracucci pracucci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should also lint it in CI 🙏

pracucci and others added 9 commits November 22, 2021 11:03
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
…mprovements

Upstream some config improvements
This argument is is required, without it, the following error appears:

```
no s3 endpoint in config file
```
Ruler: Pass `-ruler-storage.s3.endpoint` to ruler when using S3.
…StatefulSet()

Signed-off-by: Marco Pracucci <marco@pracucci.com>
…lone-store-gateway-statefulset

Allow to create custom store-gateway StatefulSets via newStoreGatewayStatefulSet()
Signed-off-by: Marco Pracucci <marco@pracucci.com>
…reGatewayStatefulSet

Fix newStoreGatewayStatefulSet() to use input container
@pracucci pracucci force-pushed the 20211118_import-cortex-jsonnet branch from 1093ccf to 7341e4c Compare December 20, 2021 10:04
@pracucci
Copy link
Collaborator

I just pushed a commit to rebase main.

@simonswine simonswine force-pushed the 20211118_import-cortex-jsonnet branch from 41d8d8b to 65398c0 Compare December 20, 2021 12:10
@simonswine
Copy link
Contributor Author

I just pushed a commit to rebase main.

I have rebase onto latest mimir/main and renamed operations/jsonnet to operations/mimir. This change will make it easier to use legacy imports in jsonnet bundler, but will make us no longer align with the folder format of grafana/tempo.

@simonswine
Copy link
Contributor Author

The CI Jsonnet format check is now also in place.

What do you think about importing the CHANGELOG too?

@pracucci Would you like to maintain those as part of the /CHANGELOG.md or should it be in a separate file under /operations/CHANGELOG.md or even more granular in /operations/mimir-mixin/CHANGELOG.md and /operations/mimir/CHANGELOG.md.

@pracucci
Copy link
Collaborator

The CI Jsonnet format check is now also in place.

What do you think about importing the CHANGELOG too?

@pracucci Would you like to maintain those as part of the /CHANGELOG.md or should it be in a separate file under /operations/CHANGELOG.md or even more granular in /operations/mimir-mixin/CHANGELOG.md and /operations/mimir/CHANGELOG.md.

I would keep it simple and add it to /CHANGELOG.md for now (under a different section, like we did for the mixin). Then we can discuss with the rest of the team whether splitting it or not.

Signed-off-by: Marco Pracucci <marco@pracucci.com>
@pracucci pracucci marked this pull request as ready for review December 20, 2021 14:06
@pracucci
Copy link
Collaborator

The CI Jsonnet format check is now also in place.

What do you think about importing the CHANGELOG too?

@pracucci Would you like to maintain those as part of the /CHANGELOG.md or should it be in a separate file under /operations/CHANGELOG.md or even more granular in /operations/mimir-mixin/CHANGELOG.md and /operations/mimir/CHANGELOG.md.

I've import CHANGELOG entries since cortex-jsonnet 1.9.0 both for the mixin and jsonnet.

CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Copy link
Collaborator

@pracucci pracucci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@pracucci pracucci merged commit 529646f into main Dec 20, 2021
@pracucci pracucci deleted the 20211118_import-cortex-jsonnet branch December 20, 2021 14:30
@pracucci pracucci mentioned this pull request Dec 20, 2021
3 tasks
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.