Twingate / kubernetes-operator

Twingate Kubernetes Operator allows configuring Twingate using Kubernetes assets - OSS
https://www.twingate.com
Mozilla Public License 2.0
19 stars 1 forks source link

Ability to set labels on connector pod #264

Closed cehoffman closed 2 months ago

cehoffman commented 2 months ago

What is missing?

Ability to set specific labels on the resulting connector pod.

Why do we need it?

Specifically labels on the pod enable targeting the pod from other resources. Our use case is setting anti affinity rules to prevent two connectors for the same network from running on the same node. This is to prevent node failure or drain from interrupting all connector availability simultaneously.

Environment

GKE 1.27

Anything else we need to know?:

linear[bot] commented 2 months ago

OSS-31 Ability to set labels on connector pod

ekampf commented 2 months ago

@cehoffman labels you add to the TwingateConnector object will also propogate to the Pod it creates. Is that good enough or are you looking to set labels explicitly just on the Pod?

Please re-open ticket if this behavior is not what you'd expect