Skip to main content

Issue:

When trying to deploy an authoring Data Collector with Control Agent on Control Hub, the following error is received:

io.fabric8.kubernetes.api.model.networking.v1.Ingress cannot be cast to io.fabric8.kubernetes.api.model.extensions.Ingress

 

Cause:

This is due to the Ingress apiVersion being set to networking.k8s.io/v1, while Control Agent expects the Ingress to be of the extensions api group (extensions/v1beta1). However, in Kubernetes versions 1.22+, the extensions api group was made unavailable.

 

Solution:

The workaround for this would be to create the Ingress resource outside of Control Agent, separately from the SDC deployment. Additionally, ensure that an Ingress controller is set up in your cluster, such as the ingress-nginx Ingress controller.

Be the first to reply!

Reply