Uploaded image for project: 'Multiple Architecture Enablement'
  1. Multiple Architecture Enablement
  2. MULTIARCH-3238

Use internal kubeconfig for cloud controller manager instead of external kubeconfig

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • None
    • None

      Currently the mounted kubeconfig API server points to external load balancer IP.

      Instead, can use internal cluster service itself that is "kube-apiserver", since its running in control plane namespace. It avoids the network traffic going outside and again reaches the kube-apiserver running in the same namespace.

      For this, need to use service-network-admin-kubeconfig  instead of the external kubeconfig admin-kubeconfig.

      Like its being used for ingress operator here https://github.com/openshift/hypershift/blob/main/control-plane-operator/controllers/hostedcontrolplane/ingressoperator/ingressoperator.go#L157

              dravicha Dharaneeshwaran Ravichandran (Inactive)
              dravicha Dharaneeshwaran Ravichandran (Inactive)
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: