-
Notifications
You must be signed in to change notification settings - Fork 459
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
Disable dynamic webhook creation in the Katib controller #1405
Comments
SGTM. One question here: How to setup a dev environment easily without this feature? |
Do you mean without |
@andreyvelich is there any remaining work to figure out before moving certificate creation out of the Katib controller? Regarding:
I don't think Katib should care about this. Katib should IMO provide a way to do this with So besides the manifests part, what is the work that needs to be done in order to disable webhook creation in the Katib code? |
@yanniszark In that case all Katib users should install
Once we add webhooks to the manifests we should refactor controller to not create webhook during controller start: https://github.com/kubeflow/katib/blob/master/pkg/webhook/v1beta1/webhook.go. |
Any thoughts @gaocegege @johnugeorge ? |
I think we should have such a configuration to allow users to remove webhook logic. |
@gaocegege Do you mean we should leave dynamic webhook creation in the controller for some cases ? What do you think about |
Oh SGTM.
|
@gaocegege @andreyvelich Is possible to use a job to take over the creation/remove of the certificate like spark-operator did ? ref: https://github.com/GoogleCloudPlatform/spark-on-k8s-operator/blob/master/charts/spark-operator-chart/templates/webhook-init-job.yaml#L29 ? |
Do you know, when they start this Job, once they install Spark Operator on the K8s cluster? |
Yes, this job will setup when "helm install", and it has another job to cleanup the configmap when "helm uninstall" and "helm upgrade“. |
/kind feature
Currently, Katib controller automatically creates admission webhooks.
As a result, we have several issues:
We should disable the webhook creation completely and prepare appropriate manifests.
As well, we should implement the process for the certificate creation without
cert-manager
, if it is possible.Let's think about the design here.
/cc @gaocegege @johnugeorge @knkski @jlewi
/priority p1
The text was updated successfully, but these errors were encountered: