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

[WIP] [dev-v2.10] rancher-logging 105.2.0-rc.1+up4.10.0 create #4907

Open
wants to merge 5 commits into
base: dev-v2.10
Choose a base branch
from

Conversation

jbiers
Copy link
Member

@jbiers jbiers commented Dec 19, 2024

Issue: rancher/rancher#48364

Problem

This PR is a fix for the internal issue SURE-9146 which requests the possibility of setting a different number of replicas and resources for the fluentd Statefulset of each logging, as well as different resources and loggingRef for their fluentbitagent.

This is currently not possible on a per-logging basis, a user can only update these values for all loggings at once using values.loggingOverlay or values.fluentbit+values.fluentd.

Solution

My current solution is simply to make these values configurable for each logging via the additionalLoggingSource.logging-name.fluentd and additionalLoggingSource.logging-name.fluentbit fields. It seems to me like this has been done to some capacity in the past for fields like additionalLoggingSource.kubeAudit.fluentbit, so my choice was to continue with this mechanism of exposing values.

Other solutions are viable, for instance using a mechanism similar to what is done in the loggingServiceAccountAnnotations field. However I chose to continue with the idea that was already implemented in the past.

Backporting considerations

Backport to 2.9 and forwardport to 2.11

@jbiers jbiers requested a review from a team as a code owner December 19, 2024 18:52
Copy link

Validation steps

  • Ensure all container images have repository and tag on the same level to ensure that all container images are included in rancher-images.txt which are used by airgap customers.
  Ex:-
    longhorn-controller:
      repository: rancher/hardened-sriov-cni
      tag: v2.6.3-build20230913
  
  • Add a 👍 (thumbs up) reaction to this comment once done. CI won't pass without this reaction to the github-action bot's latest validation comment.
  • Approve the PR to run the CI check.

@jbiers jbiers force-pushed the expose-logging-values branch from 837dbe9 to 839d509 Compare December 26, 2024 21:06
Copy link

Validation steps

  • Ensure all container images have repository and tag on the same level to ensure that all container images are included in rancher-images.txt which are used by airgap customers.
  Ex:-
    longhorn-controller:
      repository: rancher/hardened-sriov-cni
      tag: v2.6.3-build20230913
  
  • Add a 👍 (thumbs up) reaction to this comment once done. CI won't pass without this reaction to the github-action bot's latest validation comment.
  • Approve the PR to run the CI check.

@jbiers jbiers force-pushed the expose-logging-values branch from 839d509 to 0b7c725 Compare December 26, 2024 21:11
Copy link

Validation steps

  • Ensure all container images have repository and tag on the same level to ensure that all container images are included in rancher-images.txt which are used by airgap customers.
  Ex:-
    longhorn-controller:
      repository: rancher/hardened-sriov-cni
      tag: v2.6.3-build20230913
  
  • Add a 👍 (thumbs up) reaction to this comment once done. CI won't pass without this reaction to the github-action bot's latest validation comment.
  • Approve the PR to run the CI check.

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.

1 participant