Open ca-scribner opened 1 year ago
The CompositeController
does see the warning:
kubectl describe compositecontrollers.metacontroller.k8s.io
...
Warning CreateError 5m1s (x9 over 43m) metacontroller Cannot create new controller: can't find child resource "poddefaults" in kubeflow.org/v1alpha1
so that might be detectable at the charm level?
This might be more complicated... In trying to resolve above manually, I found even after I deployed the PodDefault the CompositeControllers were still failing. Does metacontroller only support CRDs that were already available at metacontroller deploy time? If yes, that means we need to ensure metacontroller precedes kfp-profile-controller's deployment
The kfp-profile-controller charm will go to
Active
state regardless of whether thePodDefault
CRD exists, but the CompositeController deployed in sync.py will fail to apply anything if thePodDefault
is missing. This can be seen in the logs for metacontroller-operator-charm-0:Is there a way we can notice this and surface it to the charm? Without an error, the just doesn't have some of the resources required to work for pipelines, notebooks, etc.