-
Notifications
You must be signed in to change notification settings - Fork 719
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
Ensure logging pods only run on Linux nodes #778
Ensure logging pods only run on Linux nodes #778
Conversation
packages/rancher-logging/overlay/templates/loggings/eks/logging.yaml
Outdated
Show resolved
Hide resolved
388fc4a
to
a42c0df
Compare
This is no longer a WIP. |
While this is a full fix to issue 28720 from Rancher's perspective, we've uncovered an upstream bug. L204 of this file shows that the Regardless of the upstream bug, this PR is still valid, even though the next step is to address the upstream bug. |
packages/rancher-logging/overlay/templates/loggings/eks/logging.yaml
Outdated
Show resolved
Hide resolved
a42c0df
to
055db82
Compare
Addressed @paynejacob's comments and have moved all hardcoded values here to |
For the curious: we double-checked that this does not affect all Linux node clusters. (EDIT: [nickgerace at rancherbook in ~/git/nickgerace/charts] (0) (dev-v2.5-source)
% kgpa
NAMESPACE NAME READY STATUS RESTARTS AGE
cattle-logging-system rancher-logging-d87d68c9c-kgsx7 1/1 Running 0 55s
cattle-logging-system rancher-logging-fluentbit-68cbv 1/1 Running 0 41s
cattle-logging-system rancher-logging-fluentbit-745st 1/1 Running 0 41s
cattle-logging-system rancher-logging-fluentbit-7c6d7 1/1 Running 0 41s
cattle-logging-system rancher-logging-fluentbit-bkt4p 1/1 Running 0 41s
cattle-logging-system rancher-logging-fluentbit-dll4f 1/1 Running 0 41s
cattle-logging-system rancher-logging-fluentbit-hl85n 1/1 Running 0 41s
cattle-logging-system rancher-logging-fluentbit-sxwzr 1/1 Running 0 41s
cattle-logging-system rancher-logging-fluentd-0 2/2 Running 0 42s
cattle-logging-system rancher-logging-fluentd-configcheck-c3054702 0/1 Completed 0 50s |
055db82
to
a872d52
Compare
CI checks are failing. Checked in with @paynejacob, and it seems to be unrelated to this PR in particular. |
a872d52
to
ce70064
Compare
packages/rancher-logging/overlay/templates/loggings/eks/logging.yaml
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything looks good outside of Caleb's comments.
ce70064
to
eff89ae
Compare
Fixed Caleb's comments. |
eff89ae
to
ab8b00c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
packages/rancher-logging/overlay/templates/loggings/eks/logging.yaml
Outdated
Show resolved
Hide resolved
Ensure logging pods only run on Linux nodes by adding tolerations and node selectors for fluentbit and fluentd. The tolerations have "NoSchedule" for Windows nodes, and the node selectors look for nodes with a Linux-based OS.
ab8b00c
to
f60eeda
Compare
Fixed cosmetic issues from @cbron's comments. |
Removing Caleb until re-review from @paynejacob and @mrajashree. Only changes since previous approval have been cosmetic, however. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If only cosmetic we can move forward without it, but would be good to have @paynejacob confirm the new route real quick.
Thanks to @bacongobbler for the recommendation on using |
Ensure logging pods only run on Linux nodes by adding tolerations and
node selectors for fluentbit and fluentd. The tolerations have
"NoSchedule" for Windows nodes, and the node selectors look for nodes
with a Linux-based OS.
Solves issue: 28720
Please note: this is a re-opened version of PR #775 due to force-push error