Skip to content

NodePort

Appears in

  • .Values.service.$name

ports.$port-name.nodePort

Define the node port that will be exposed on the node

Keyservice.$name.ports.$port-name.nodePort
Typeint
Required
Helm tpl
Defaultunset

Example

service:
some-service:
nodePort: 30080

Full Examples

service:
service-nodeport:
enabled: true
primary: true
type: NodePort
clusterIP: 172.16.20.233
publishNotReadyAddresses: true
externalIPs:
- 10.200.230.34
sessionAffinity: ClientIP
sessionAffinityConfig:
clientIP:
timeoutSeconds: 86400
externalTrafficPolicy: Cluster
targetSelector: pod-name
ports:
port-name:
enabled: true
primary: true
targetSelector: container-name
port: 80
protocol: http
targetPort: 8080
nodePort: 30080