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

feat!: remove the cluster_id variable || fix: remove the working_directory attribute in the compactor config #119

Merged
merged 4 commits into from
Aug 14, 2024

Conversation

lentidas
Copy link
Contributor

@lentidas lentidas commented Jul 16, 2024

Description of the changes

When creating an SKS cluster, Exoscale used to provision a cluster domain value of <CLUSTER_ID>.cluster.local. This is the legacy value for SKS cluster domain.

They recently transitioned to provisioning SKS cluster with the default cluster domain value of cluster.local.

Consequently, we need to remove the adaptations on our modules that were there to support this bizarre, and now legacy, behavior.

I also fixed a problem we had in the SKS, EKS and KinD configurations that was preventing loki-compactor from being correctly deployed from the v8.2.0 version of the module -> see this commit message for further explanations.

⚠️ Do a Rebase and merge

Breaking change

  • Yes (in the module itself): the variable cluster_id was removed from the SKS variant

Tests executed on which distribution(s)

  • SKS (Exoscale)
  • EKS (AWS)

When creating an SKS cluster, Exoscale used to provision a cluster domain value of `<CLUSTER_ID>.cluster.local`. This is the legacy value for SKS cluster domain.

They recently transitioned to provisioning SKS cluster with the default cluster domain value of `cluster.local`.

Consequently, we need to remove the adaptations on our modules that were there to support this bizarre, and now legacy, behavior.
@lentidas lentidas requested a review from a team as a code owner July 16, 2024 12:05
@lentidas lentidas self-assigned this Jul 16, 2024
lentidas and others added 3 commits July 16, 2024 12:05
This [flag](grafana/helm-charts@824e3da#diff-c09523f8c89a2fdb980fa9bb57eebcbb45a5950391a6bb8d44b549ea184388f6) was hardcoded before and was removed on the version 0.79.x of the chart. As a consequence, it seems that the attribute `compactor.working_directory' was taking its place and breaking our deployments. As a fix, I've decided to revert to the default configuration which uses the `/var/loki` directory (which is mounted as a persistent volume created automatically, as defined by our values).
@lentidas lentidas changed the title feat!: remove the cluster_id variable feat!: remove the cluster_id variable || fix: remove the working_directory attribute in the compactor config Aug 7, 2024
@nbessi nbessi requested a review from omohammed95 August 7, 2024 12:11
@lentidas lentidas merged commit 3bd6c28 into main Aug 14, 2024
@lentidas lentidas deleted the ISDEVOPS-307 branch August 14, 2024 13:19
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.

2 participants