edgexfoundry / edgex-examples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

helm deployment: Expose services on a per-service basis

bnevis-i opened this issue Β· comments

πŸš€ Feature Request

Relevant Package [REQUIRED]

helm chart

Description [REQUIRED]

The current helm chart has the following stanza

expose:
  # Option value: ClusterIP/NodePort/LoadBalancer
  type: ClusterIP

This sets the service type for all "service" resources in the chart.

Describe the solution you'd like

This setting is not granular enough. It should be possible to set the service type on a per-service basis, with ClusterIP as the default for internal services, and NodePort as the default for externally-visible services such as consul and edgex-ui.

See also #160 which relates to hostPort exposure of EdgeX services.