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

Support k8s 1.29 #910

Merged
merged 1 commit into from May 15, 2024
Merged

Support k8s 1.29 #910

merged 1 commit into from May 15, 2024

Conversation

toshipp
Copy link
Contributor

@toshipp toshipp commented May 10, 2024

Fix: #793

@toshipp toshipp requested a review from a team as a code owner May 10, 2024 07:52
@toshipp toshipp force-pushed the support-k8s-1.29 branch 2 times, most recently from afc568b to a688265 Compare May 10, 2024 08:01
@toshipp toshipp marked this pull request as draft May 10, 2024 08:06
Signed-off-by: Toshikuni Fukaya <toshikuni-fukaya@cybozu.co.jp>
@toshipp toshipp marked this pull request as ready for review May 10, 2024 08:55
@@ -1524,6 +1525,7 @@ var _ = Describe("client", func() {
svc.Name = configmapName
svc.Namespace = configmapNamespace
svc.Spec = corev1.ServiceSpec{
Type: corev1.ServiceTypeLoadBalancer,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: From k8s 1.29, a Service must have LoadBalancer as its spec.type to set status.loadBalancer.

Setting the status.loadBalancer of a Service whose spec.type is not LoadBalancer was previously allowed, but any update to the metadata or spec would wipe that field. Setting this field is no longer permitted unless spec.type is LoadBalancer.

https://github.com/kubernetes/kubernetes/blob/e1e17973be8a023cda5f2b8c61a94bc32841acb5/CHANGELOG/CHANGELOG-1.29.md

@@ -142,7 +142,7 @@ var _ = Describe("LogicalVolume controller", func() {
AccessModes: []corev1.PersistentVolumeAccessMode{
corev1.ReadWriteOnce,
},
Resources: corev1.ResourceRequirements{
Resources: corev1.VolumeResourceRequirements{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note:

Go API: the ResourceRequirements struct was replaced with VolumeResourceRequirements for use with volumes.

https://github.com/kubernetes/kubernetes/blob/e1e17973be8a023cda5f2b8c61a94bc32841acb5/CHANGELOG/CHANGELOG-1.29.md

@daichimukai daichimukai merged commit dea55bb into main May 15, 2024
25 checks passed
@daichimukai daichimukai deleted the support-k8s-1.29 branch May 15, 2024 00:49
@HappyKeanu
Copy link

Hi Team, could you please advise if you are planning to release a new tag with these changes soon?

@toshipp
Copy link
Contributor Author

toshipp commented May 22, 2024

Our release cycle is monthly, I expect the new release to ship in the 1st week of June.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Update supporting Kubernetes (1.29)
4 participants