Controllers not accessible after Upgrading past 2.277.4.2 when using CloudBees CI with platform EKS

Article ID:4402695656845
1 minute readKnowledge base

Issue

  • I have deployed CloudBees CI in EKS with .OperationsCenter.platform="eks" and using the AWS Load Balancer Ingress Controller

  • After upgrading to 2.277.4.2 and stopping / starting the Controllers, I cannot access them anymore. They are unresponsive at $CONTROLLER_URL/operations-center-sso-navigate/?from=$CONTROLLER_PATH.

Explanation

Starting from version 2.277.4.2 of CloudBees CI, Controller ingresses are using the networking.k8s.io/v1 if supported by the underlying cluster. Instead of using 2 rules per controller /<controllerName>/ and /<controllerName>/*, it now uses a single rule on /<controllerName>/ with Prefix as pathType.

However, the Ingress API version networking.k8s.io/v1 is only supported by the AWS Load Balancer Controller since version 2.2.0. In earlier version, the single rule is not interpreted as a prefix but as an exact match and any access to /<controllerName>/* is not forwarded.

Resolution

Upgrade the AWS Load Balancer Controller to version 2.2.0 or later