k8s-at-home / charts

⚠️ Deprecated : Helm charts for applications you run at home
https://docs.k8s-at-home.com
Apache License 2.0
1.45k stars 623 forks source link

[ser2sock] use a headless service #1707

Open disconn3ct opened 2 years ago

disconn3ct commented 2 years ago

Description of the change

Default to a headless service for ser2sock instead of a clusterIP load balancer

Benefits

Since these generally talk to individual instances of physical hardware, it is unlikely that a user intends load balancing of multiple instances to multiple devices. Using a headless service (clusterIP: None) removes the k8s load balancer and allows clients to talk directly to the ser2sock pod via the service name.

Possible drawbacks

Users who rely on the clusterIP load balancer will need to add service.main.clusterIP: (no value) to return to the old behavior.

Applicable issues

Additional information

Checklist