You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During the offline/airgapped deployment of CKF 1.7, how can I set the custom image for the Pods ui-artifact and visualizationserver in user namespace.
The images are in the local registry and are used for kfp-ui charm workload, but the config is not propagated while creating the above mentioned Pods in the user namespace.
Since the admin namespace is a user's namespace, I'm pretty sure this is coming from the kfp-profile-controller. What I think we've missed is that we need to set the environment variables FRONTEND_IMAGE and VISUALIZATION_SERVER_IMAGEhere when creating the deployment for the kfp-profile-controller's sync.py (or, in @Barteus case, since I think ckf 1.7 uses a podspec version of the charm, wherever the equivalent place was back then).
@ca-scribner is right, I did some digging ... both the podspec and the sidecar rewrite are setting those images in sync.py here and here. The value is propagated from the env variables VISUALIZATION_SERVER_IMAGE and FRONTEND_IMAGE ... its also important to note that the tags are received from variables VISUALIZATION_SERVER_TAG and FRONTEND_TAG which are by default set to value of KFP_VERSION example here. We were never setting those variables and because of that the images were using default values.
In charm code we need to create default-custom-images.json with both images set and then correctly set the envronment variables.
Bug Description
During the offline/airgapped deployment of CKF 1.7, how can I set the custom image for the Pods
ui-artifact
andvisualizationserver
in user namespace.The images are in the local registry and are used for kfp-ui charm workload, but the config is not propagated while creating the above mentioned Pods in the user namespace.
To Reproduce
admin
).Environment
microk8s: 1.24 (and 1.28)
juju: 3.1.7 (on LXD)
Bundle: 1.7/stable (downloaded both charms and OCI images)
Relevant Log Output
Additional Context
The juju status is green.
The text was updated successfully, but these errors were encountered: