Skip to content

Conversation

@smirco-zoox
Copy link

Node Selectors

Node selector terms are an object not a string.
I've also added separate nodeSelector terms for each component.
In our setup podKiller and csiController can run on any node, however the nodeDriver daemonset should only run on nodes with a specific label.

Pod Killer Cache svc

In our environment we have multiple quobyte clusters and therefore need to deploy this chart multiple times. As a result all manifests must be uniquely named. pkc was creating a service with the same name for each deplyment

@venkatsc venkatsc self-requested a review July 31, 2025 13:05
# pod killer pod so that the cache endpoint is resolved.
# See https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy
dnsPolicy: ""
nodeSelector: {}
Copy link
Collaborator

Choose a reason for hiding this comment

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

@smirco-zoox
I think, cacheNodeSelector would be more opt

Copy link
Author

Choose a reason for hiding this comment

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

why? it's json path is quobyte.podKiller.nodeSelector

I'd argue that all the other components should also have paths like this to be more consistent with how podKiller is setup.

e.g. quobyte.csiController.nodeSelector instead of quobyte.csiControllerNodeSelector

However this restructures your values quite a bit more, so is a more major release of the helm chart.

Copy link
Collaborator

Choose a reason for hiding this comment

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

why? it's json path is quobyte.podKiller.nodeSelector

Because, pod killer has two components:

  • pod mount monitor that runs along with other Quobyte CSI container in a single pod on each node with quobyte.csiControllerNodeSelector
  • pod killer cache runs as a separate pod on node with quobyte.podKiller.[cache]NodeSelector

This could create some ambiguity, so please modify the naming to avoid this ambiguity.

I will make a new release. Since it is a simple configuration change, it can be easily adapted.

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