Skip to content

k8s: cleanup old Endpoints/beta EndpointSlices/Lease code#40555

Merged
giorio94 merged 6 commits intomainfrom
pr/marseel/cleanup_k8s_versions
Jul 22, 2025
Merged

k8s: cleanup old Endpoints/beta EndpointSlices/Lease code#40555
giorio94 merged 6 commits intomainfrom
pr/marseel/cleanup_k8s_versions

Conversation

@marseel
Copy link
Copy Markdown
Member

@marseel marseel commented Jul 17, 2025

Bump min k8s version to 1.21 and cleanup deprecated code.
See commit msg for more details

marseel added 5 commits July 16, 2025 18:06
Kubernetes version 1.21 was EOL in 2022.
Looking at different cloud providers offering, oldest version that they
still support is 1.27.

Signed-off-by: Marcel Zieba <marcel.zieba@isovalent.com>
Leases are supported since 1.14 k8s

Signed-off-by: Marcel Zieba <marcel.zieba@isovalent.com>
Signed-off-by: Marcel Zieba <marcel.zieba@isovalent.com>
EndpointSlices are stable since 1.21

Signed-off-by: Marcel Zieba <marcel.zieba@isovalent.com>
Signed-off-by: Marcel Zieba <marcel.zieba@isovalent.com>
@marseel marseel added kind/cleanup This includes no functional changes. area/k8s Impacts the kubernetes API, or kubernetes -> cilium internals translation layers. release-note/misc This PR makes changes that have no direct user impact. labels Jul 17, 2025
@marseel
Copy link
Copy Markdown
Member Author

marseel commented Jul 17, 2025

/test

Additionally, fix command to run tests locally.

Signed-off-by: Marcel Zieba <marcel.zieba@isovalent.com>
@marseel
Copy link
Copy Markdown
Member Author

marseel commented Jul 17, 2025

/test

@marseel marseel marked this pull request as ready for review July 17, 2025 15:23
@marseel marseel requested review from a team as code owners July 17, 2025 15:23
Copy link
Copy Markdown
Contributor

@squeed squeed left a comment

Choose a reason for hiding this comment

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

🧹

@giorio94 giorio94 added this pull request to the merge queue Jul 22, 2025
Merged via the queue into main with commit ac429a2 Jul 22, 2025
319 checks passed
@giorio94 giorio94 deleted the pr/marseel/cleanup_k8s_versions branch July 22, 2025 12:27
marseel added a commit to marseel/cilium that referenced this pull request Nov 13, 2025
With deprecation of Endpoints in 1.33 k8s, we should also remove
permission so we don't accidentally start using it again.

Related: cilium#41083
Related: cilium#40555

Signed-off-by: Marcel Zieba <marcel.zieba@isovalent.com>
marseel added a commit that referenced this pull request Nov 13, 2025
With deprecation of Endpoints in 1.33 k8s, we should also remove
permission so we don't accidentally start using it again.

Related: #41083
Related: #40555

Signed-off-by: Marcel Zieba <marcel.zieba@isovalent.com>
sayboras pushed a commit that referenced this pull request Nov 14, 2025
With deprecation of Endpoints in 1.33 k8s, we should also remove
permission so we don't accidentally start using it again.

Related: #41083
Related: #40555

Signed-off-by: Marcel Zieba <marcel.zieba@isovalent.com>
sayboras pushed a commit that referenced this pull request Nov 14, 2025
With deprecation of Endpoints in 1.33 k8s, we should also remove
permission so we don't accidentally start using it again.

Related: #41083
Related: #40555

Signed-off-by: Marcel Zieba <marcel.zieba@isovalent.com>
sayboras pushed a commit that referenced this pull request Nov 14, 2025
With deprecation of Endpoints in 1.33 k8s, we should also remove
permission so we don't accidentally start using it again.

Related: #41083
Related: #40555

Signed-off-by: Marcel Zieba <marcel.zieba@isovalent.com>
marseel added a commit that referenced this pull request Nov 20, 2025
With deprecation of Endpoints in 1.33 k8s, we should also remove
permission so we don't accidentally start using it again.

Related: #41083
Related: #40555

Signed-off-by: Marcel Zieba <marcel.zieba@isovalent.com>
marseel added a commit that referenced this pull request Dec 10, 2025
With deprecation of Endpoints in 1.33 k8s, we should also remove
permission so we don't accidentally start using it again.

Related: #41083
Related: #40555

Signed-off-by: Marcel Zieba <marcel.zieba@isovalent.com>
marseel added a commit that referenced this pull request Jan 12, 2026
With deprecation of Endpoints in 1.33 k8s, we should also remove
permission so we don't accidentally start using it again.

Related: #41083
Related: #40555

Signed-off-by: Marcel Zieba <marcel.zieba@isovalent.com>
github-merge-queue bot pushed a commit that referenced this pull request Jan 15, 2026
With deprecation of Endpoints in 1.33 k8s, we should also remove
permission so we don't accidentally start using it again.

Related: #41083
Related: #40555

Signed-off-by: Marcel Zieba <marcel.zieba@isovalent.com>
@cilium-release-bot cilium-release-bot bot moved this to Released in cilium v1.19.0 Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/k8s Impacts the kubernetes API, or kubernetes -> cilium internals translation layers. kind/cleanup This includes no functional changes. release-note/misc This PR makes changes that have no direct user impact.

Projects

No open projects
Status: Released

Development

Successfully merging this pull request may close these issues.

7 participants