GoogleCloudPlatform / kubeflow-distribution

Blueprints for Deploying Kubeflow on Google Cloud Platform and Anthos
Apache License 2.0
80 stars 63 forks source link

Automatically add namespace labels when creating user profiles #357

Closed kindomLee closed 2 years ago

kindomLee commented 2 years ago

When using Katib, the user namespace label is checked.

katib.kubeflow.org/metrics-collector-injection: enabled

Is there an automated way to solve the process of manually adding labels by the cluster admin?

[500] admission webhook "validator.experiment.katib.kubeflow.org" denied the request: Cannot create the Experiment "random-experiment" in namespace "kindomLee": the namespace lacks label "katib.kubeflow.org/metrics-collector-injection: enabled"
kindomLee commented 2 years ago

I just saw #354 now, and it looks like the problem has been solved in the new version