Skip to content

ExternalIP

Appears in

  • .Values.service.$name

externalIP

Configure External IP type

Keyservice.$name.externalIP
Typestring
Required
Helm tpl
Default""

Example

service:
some-service:
externalIP: 1.2.3.4

useSlice

Define whether to use EndpointSlice or Endpoint

Keyservice.$name.useSlice
Typebool
Required
Helm tpl
Defaulttrue

Example

service:
some-service:
useSlice: false

addressType

Define the addressType for External IP

Keyservice.$name.addressType
Typestring
Required
Helm tpl
DefaultIPv4

Valid Values:

  • IPv4
  • IPv6
  • FQDN

Example

service:
some-service:
addressType: IPv6

appProtocol

Define the appProtocol for External IP

Keyservice.$name.appProtocol
Typestring
Required
Helm tpl
Default""

Example

service:
some-service:
appProtocol: http

Full Examples

service:
# Special type
service-externalip:
enabled: true
primary: true
type: ExternalIP
useSlice: true
externalIP: 1.1.1.1
addressType: IPv4
appProtocol: http
publishNotReadyAddresses: true
externalIPs:
- 10.200.230.34
sessionAffinity: ClientIP
externalTrafficPolicy: Cluster
ports:
port-name:
enabled: true
primary: true
targetSelector: container-name
port: 80
targetPort: 8080
protocol: HTTP