-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jupyter-ui: Please allow either parameterization of jupyter-ui-config-config configmap or option for controlling affinityConfig #245
Comments
The workaround @Vultaire mentions is fragile but works for Charmed Kubeflow 1.6 (fragile because that configmap can be rewritten by juju, for example if the The UI provides no custom way to set this on a pod-by-pod basis, so providing users with configurations must be done through this spawner config file: As a workaround for 1.7, you might be able to copy the modified spawner_ui_config.yaml into the unit and overwrite the default, that way the charm pushes your modified version to the container. Something like |
Hi @Vultaire, unfortunately this is something that is currently not supported in Charmed KF (neither 1.6 not 1.7). We'll need to properly implement this feature in Charmed Kubeflow in a follow up release. Ideally we would like to avoid having clients to interact with the whole YAML config file and, as you mentioned, expose the necessary parts in our Charms. But unfortunately this is currently not supported |
I'll also summarize @ca-scribner's comment, since it's a workaround but I need to stress that this should not be considered a stable workaround. First because the file can get overwritten back to its initial state but more importantly because it expects users to mess with the whole config file, which is too complicated. Charmed KF 1.6Modify the ConfigMap in the Charmed KF 1.7As @ca-scribner mentioned in Charmed KF 1.7 there is no longer such a ConfigMap. This file is injected to the application container via the Charm. So in order to override it we'd need to manually push the file into the container and overwrite it with
(just copied the command from above. The initial config file can be found here https://github.com/canonical/notebook-operators/blob/track/1.7/charms/jupyter-ui/src/spawner_ui_config.yaml) but again if for any reason (i.e. JuJu) restarts the container then this file will be reverted to its original state |
Charmed KF 1.7 |
Hey @kimwnasptd |
Thank you for reporting us your feedback! The internal ticket has been created: https://warthogs.atlassian.net/browse/KF-5354.
|
@nishant-dash we're speccing this now and should implement it in the next few weeks. See here for progress |
Hello guys, |
I'm not involved with these charms anymore, but I think this can be closed because of config options like these. |
As @ca-scribner mentioned, this now can be closed. For more details, you can view the relevant documentation https://charmed-kubeflow.io/docs/configure-kubeflow-notebook-creation-page#node-affinities. |
We have a customer which wants to customize their affinityConfig. It seems like the charm currently creates a configmap from a static file, but doesn't offer parameterization of this configmap.
The customer is manually modifying the configmap to something like this:
It would be preferable for this to be something managed by the charm rather than an unmanaged change in the environment. Can we add functionality to allow this type of edit in some way?
The text was updated successfully, but these errors were encountered: