Kubernetes - Confluent Kafka Control Center Ingress Routing

115 Views Asked by At

I am fairly new to kubernetes and ingress. I have followed these steps and and was able to generate kafka cluster on my machine.

https://github.com/confluentinc/confluent-kubernetes-examples/tree/master/quickstart-deploy

I can port forward and see my brokers and etc.

However, I would like to create a routing to access to control center through ingress, which I am failing to do. This is my ingress config file for the namespace:

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: ingress-srv
  annotations:
    nginx.ingress.kubernetes.io/rewrite-target: /
spec:
  ingressClassName: nginx
  rules:
    - host: acme.com
      http:
        paths:
          - path: /confluent-control-center
            pathType: Prefix
            backend:
              service:
                name: controlcenter-bootstrap-lb
                port:
                  number: 80

This is my cluster: Cluster Picture

This is the error I am getting: Error Picture

I understand dist files are unreachable, but I do not understand the depth of it. Could someone help me to resolve this issue?

Thanks!

0

There are 0 best solutions below