Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to update advertisedPorts #121

Open
tylerbrewer2 opened this issue Apr 17, 2024 · 1 comment
Open

unable to update advertisedPorts #121

tylerbrewer2 opened this issue Apr 17, 2024 · 1 comment

Comments

@tylerbrewer2
Copy link

tylerbrewer2 commented Apr 17, 2024

I'm attempting to update the external advertisedPorts for all protocols to use with a custom external service. It does not appear as if the operator is correctly setting these ports. When I view the brokers in the console, they are still using the default ports. Below is my configuration

apiVersion: cluster.redpanda.com/v1alpha1
kind: Redpanda
metadata:
  name: redpanda
spec:
  chartRef: {}
  clusterSpec:
    listeners:
      admin:
        external:
          default:
            advertisedPorts: [9645]
      http:
        external:
          default:
            advertisedPorts: [8083]
      kafka:
        external:
          default:
            advertisedPorts: [9094]
      schemaRegistry:
        external:
          default:
            advertisedPorts: [8084]
    external:
      domain: my-custom-domain
      service:
        enabled: false
    statefulset:
      replicas: 3
      tolerations:
        - effect: NoSchedule
          key: nvme
          value: enabled
          operator: Equal
      nodeSelector:
        NodeGroupName: Name
    storage:
      persistentVolume:
        enabled: true
        storageClass: csi-driver-lvm-striped-xfs

JIRA Link: K8S-211

@tylerbrewer2
Copy link
Author

Looking within redpanda.yaml it looks like advertised_kafka_api is using the incorrect port:

advertised_kafka_api:
        - address: redpanda-0.redpanda-core.redpanda-core.svc.cluster.local.
          port: 9093
          name: internal
        - address: my-custom-domain
          port: 31092
          name: default

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant