Skip to content
This repository has been archived by the owner on Aug 22, 2022. It is now read-only.

[ser2sock] use a headless service #1707

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

disconn3ct
Copy link
Contributor

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

  • fixes #

Additional information

Checklist

  • Title of the PR starts with chart name (e.g. [home-assistant])
  • Chart version bumped in Chart.yaml according to semver.
  • Chart artifacthub.io/changes changelog annotation has been updated in Chart.yaml. See Artifact Hub documentation for more info.
  • Variables have been documented in the values.yaml file.

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.
@ghost ghost added size/XS Categorises a PR that changes 0-9 lines, ignoring generated files. precommit:ok CI status: pre-commit validation successful changelog:failed CI status: changelog validation failed labels Jul 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
changelog:failed CI status: changelog validation failed precommit:ok CI status: pre-commit validation successful size/XS Categorises a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant