Skip to content

Access NodePort at private IPv4 - equivalent of externalAccess.service.useHostIPs? #5847

Discussion options

You must be logged in to vote

Answering my own question:

use spec.kafka.listeners[x].configuration. preferredNodePortAddressType = InternalIP

spec:
  kafka:
    version: {{ .Values.kafka.version }}
    replicas: {{ .Values.kafka.replicas }}
    listeners:
      - name: plain
        port: 9092
        type: internal
        tls: false
      - name: tls
        port: 9093
        type: internal
        tls: true
      - name: external
        port: 9094
        type: nodeport
        tls: false
        configuration:
          bootstrap:
            nodePort: 31094
          preferredNodePortAddressType: InternalIP

Description:

   preferredNodePortAddressType	<string>
     Defines which address type should be used as …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@scholzj
Comment options

Answer selected by brsolomon-deloitte
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants