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 services without selectors #1789

Closed
9SliceStudio opened this issue Oct 2, 2022 · 2 comments · Fixed by #2322
Closed

Support services without selectors #1789

9SliceStudio opened this issue Oct 2, 2022 · 2 comments · Fixed by #2322
Labels
bug Something isn't working

Comments

@9SliceStudio
Copy link




Describe the bug
When a service doesn’t provide any selectors, pressing Enter on it will display all the pods of the namespace instead of looking at the corresponding Endpoint

To Reproduce
I am not very "Kubernetes fluent", however I use the TimescaleDB Helm chart, that uses the Patroni Postgres solution.
This chart define a Service for the master node but without any selector, and instead rely of the endpoint management of patroni.

When listing the Services, go to the master service (the one with the name of the release).
Press Enter on it.

Expected behavior
I expect to see the pod of the master node.

Versions (please complete the following information):

  • OS: OSX
  • K9s: 0.26.3
  • K8s: 1.24.4 (GKE)
@derailed derailed added the bug Something isn't working label Oct 6, 2022
@lefes
Copy link

lefes commented Mar 10, 2023

Hey @9SliceStudio !
I would like to understand the bug and try to fix it. Could you be more specific about the steps to reproduce it? I installed the helm chart with this commands:
helm repo add timescale 'https://charts.timescale.com'
helm install my-release timescale/timescaledb-single --namespace temp
All services have selectors and are working as expected."

@9SliceStudio
Copy link
Author

Hey.
The chart has been updated since I opened this issue.
Using chart 0.21.0 (or newer) will prevent from reproduce the bug.
Maybe you can just close this issue, or test with an older chart version if you want to still support Service without selectors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants