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

pkg/k8s: set the right api group for EndpointSlice #15631

Merged
merged 1 commit into from
Apr 12, 2021

Conversation

aanm
Copy link
Member

@aanm aanm commented Apr 9, 2021

If EndpointSlice V1 is enabled we should set it correctly in the cilium status output.

Fixes: 5ee4c6f ("add support for EndpointSlice V1")
Signed-off-by: André Martins andre@cilium.io

Fixes #15594

@joestringer I'm marking it as fixed just to close the GH issue since I can't replicate it on my side. I did notice this bug in the sysdump. In case we see the #15594 again, we can re-open it and check if the cilium status has the correct API or not.

If EndpointSlice V1 is enabled we should set it correctly in the `cilium
status` output.

Fixes: 5ee4c6f ("add support for EndpointSlice V1")
Signed-off-by: André Martins <andre@cilium.io>
@aanm aanm added the sig/k8s Impacts the kubernetes API, or kubernetes -> cilium internals translation layers. label Apr 9, 2021
@aanm aanm requested review from joestringer and a team April 9, 2021 22:22
@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Apr 9, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot added this to In progress in 1.10.0 Apr 9, 2021
@aanm aanm requested review from jibi and christarazi April 9, 2021 22:22
@maintainer-s-little-helper maintainer-s-little-helper bot assigned jibi and christarazi and unassigned jibi Apr 9, 2021
@aanm aanm added the release-note/misc This PR makes changes that have no direct user impact. label Apr 9, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Apr 9, 2021
@aanm
Copy link
Member Author

aanm commented Apr 9, 2021

test-me-please

@christarazi christarazi removed their assignment Apr 10, 2021
@aanm
Copy link
Member Author

aanm commented Apr 12, 2021

The CI failed with a known bug but at least we don't see the EndpointSlice v1beta1 mention anymore:

Top 4 errors/warnings:
Disabling HostServicesPeer feature.
Unable to update ipcache map entry on pod add
Session affinity for host reachable services needs kernel 5.7.0 or newer to work properly when accessed from inside cluster: the same service endpoint will be selected from all network namespaces on the host.
Unable to install direct node route {Ifindex: 0 Dst: fd02::/120 Src: <nil> Gw: <nil> Flags: [] Table: 0}
Cilium pods: [cilium-6bv8x cilium-d9ggq]
```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/misc This PR makes changes that have no direct user impact. sig/k8s Impacts the kubernetes API, or kubernetes -> cilium internals translation layers.
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Switch to EndpointSlice v1beta1 -> v1
4 participants