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

fix: prefer scheduling the csi controller on cloud nodes #786

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

lukasmetzner
Copy link
Contributor

This is only a partial fix, but in clusters where the instance.hetzner.cloud/provided-by label is present and set accordingly for cloud nodes it prevents the controller from being scheduled on non cloud nodes. We need this, as in our default behavior for fetching the default volume location we rely on the node name being a Hetzner cloud.

This is only a partial fix, but in clusters where the `instance.hetzner.cloud/provided-by` label is present and set accordingly for cloud nodes it prevents the controller from being scheduled on non cloud nodes. We need this, as in our default behavior for fetching the default volume location we rely on the node name being a Hetzner cloud server.
@lukasmetzner lukasmetzner requested a review from a team as a code owner November 20, 2024 16:53
Copy link

codecov bot commented Nov 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 35.85%. Comparing base (7e72431) to head (cf2d75b).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #786   +/-   ##
=======================================
  Coverage   35.85%   35.85%           
=======================================
  Files          20       20           
  Lines        1874     1874           
=======================================
  Hits          672      672           
  Misses       1168     1168           
  Partials       34       34           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@apricote apricote changed the title fix: try scheduling the csi controller on cloud nodes fix: prefer scheduling the csi controller on cloud nodes Nov 21, 2024
@lukasmetzner lukasmetzner merged commit 63cd777 into main Nov 21, 2024
9 checks passed
@lukasmetzner lukasmetzner deleted the fix-scheduling-of-controller branch November 21, 2024 08:39
lukasmetzner pushed a commit that referenced this pull request Nov 26, 2024
<!-- section-start changelog -->
### Features

- Added new option enableProvidedByTopology (#780)
- drop tests for kubernetes v1.28 (#796)

### Bug Fixes

- prefer scheduling the csi controller on cloud nodes (#786)

### Kubernetes Support

This version was tested with Kubernetes 1.29 - 1.31. Furthermore, we
dropped v1.28 support.

<!-- section-end changelog -->

---

<details>
<summary><h4>PR by <a
href="https://github.com/apricote/releaser-pleaser">releaser-pleaser</a>
🤖</h4></summary>

If you want to modify the proposed release, add you overrides here. You
can learn more about the options in the docs.

## Release Notes

### Prefix / Start

This will be added to the start of the release notes.

```rp-prefix
```

### Suffix / End

This will be added to the end of the release notes.

```rp-suffix
### Kubernetes Support

This version was tested with Kubernetes 1.29 - 1.31. Furthermore, we dropped v1.28 support.
```

</details>

Co-authored-by: releaser-pleaser <>
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