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

pvcunbinder: update to Kubernetes 1.29.x #180

Merged
merged 1 commit into from
Aug 6, 2024
Merged

Conversation

chrisseto
Copy link
Contributor

Prior to this commit the pvcunbinder was being tested against Kubernetes ~1.20 (Thanks Rafal for catching this).

This commit updates to the latest working version of K3s (1.29.6) and updates the pvcunbinder to work on the newer version.

This update introduced two changes of note:

  1. The node volume affinity error message is no longer a reliable way to detect node volume affinity issues. While this error message still exists within the K8s codebase, it doesn't appear to surface anymore. Instead we see messages about preemption being ineffective. Detection has been updated to look for a message indicate that no node are suitable for the given Pod, a much more relaxed constraint.
  2. K3s' default volume type for local-path-provisioner has been updated to local instead of hostpath. All conditionals have been updated to account for either type of local volume.

@chrisseto chrisseto force-pushed the chris/p/fix-unbinder branch from 1a02fa7 to 2456f92 Compare August 6, 2024 14:04
Prior to this commit the pvcunbinder was being tested against Kubernetes ~1.20
(Thanks Rafal for catching this).

This commit updates to the latest working version of K3s (1.29.6) and updates
the pvcunbinder to work on the newer version.

This update introduced two changes of note:
1. The `node volume affinity` error message is no longer a reliable way to
   detect node volume affinity issues. While this error message still exists
   within the K8s codebase, it doesn't appear to surface anymore. Instead we
   see messages about preemption being ineffective. Detection has been updated
   to look for a message indicate that no node are suitable for the given Pod,
   a much more relaxed constraint.
2. K3s' default volume type for local-path-provisioner has been updated to
  `local` instead of `hostpath`. All conditionals have been updated to account
  for either type of local volume.
@RafalKorepta RafalKorepta force-pushed the chris/p/fix-unbinder branch from 2456f92 to bf4e7d6 Compare August 6, 2024 15:39
@RafalKorepta RafalKorepta enabled auto-merge (rebase) August 6, 2024 15:39
@RafalKorepta RafalKorepta merged commit 3ec4cf0 into main Aug 6, 2024
3 of 4 checks passed
@RafalKorepta RafalKorepta deleted the chris/p/fix-unbinder branch August 6, 2024 22:15
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