Skip to content

Fix APIService availability on Kubernetes 1.33#466

Merged
phealy merged 2 commits into
mainfrom
pahealy/fix-net-apiservice-133
Jul 13, 2026
Merged

Fix APIService availability on Kubernetes 1.33#466
phealy merged 2 commits into
mainfrom
pahealy/fix-net-apiservice-133

Conversation

@phealy

@phealy phealy commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

K8s prior to 1.34 uses Endpoints and not EndpointSlices for APIService discovery; since the controller was only creating EndpointSlices, k8s 1.33 and earlier couldn't bring the API service online.

Summary

  • publish leader-managed legacy Endpoints alongside EndpointSlice for Kubernetes 1.33 kube-aggregator compatibility
  • add RBAC and admission-policy restrictions for the compatibility resource
  • protect leader handoff cleanup from deleting a successor's endpoints

Validation

  • go test ./cmd/unbounded-net-controller -count=1
  • golangci-lint run -c .golangci.yaml ./cmd/unbounded-net-controller
  • go build ./cmd/unbounded-net-controller
  • make net-manifests

Publish legacy Endpoints alongside EndpointSlices so the Kubernetes 1.33 aggregation availability controller can discover the unbounded-net APIService.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 1fca773f-3237-44db-8230-9ac944e7b7cb
@phealy
phealy requested a review from a team July 13, 2026 19:09
@phealy
phealy marked this pull request as draft July 13, 2026 19:09
@phealy
phealy marked this pull request as ready for review July 13, 2026 19:26
@phealy
phealy enabled auto-merge July 13, 2026 19:43
@phealy
phealy added this pull request to the merge queue Jul 13, 2026
Merged via the queue into main with commit 33efc57 Jul 13, 2026
25 checks passed
@phealy
phealy deleted the pahealy/fix-net-apiservice-133 branch July 13, 2026 21:57
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