Skip to content
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

Modify Labels for Katib Components #1611

Merged

Conversation

andreyvelich
Copy link
Member

See discussion: kubeflow/common#148 (comment).

I modified labels for Katib components to follow Kubernetes guidelines.

Probably, we should also think about renaming katib-metricscollector-injection: enabled to katib.kubeflow.org/metricscollector-injection: true

/cc @gaocegege @johnugeorge @alculquicondor

@alculquicondor
Copy link

Looks good, but I don't have enough familiarity to know if the presubmit failure is related.

@andreyvelich
Copy link
Member Author

/retest

@@ -142,9 +142,9 @@ const (
AnnotationIstioSidecarInjectValue = "false"

// LabelTrialTemplateConfigMapName is the label name for the Trial templates configMap
LabelTrialTemplateConfigMapName = "app"
LabelTrialTemplateConfigMapName = "katib.kubeflow.org/component"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we use katib.kubeflow.org or automl.kubeflow.org?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am fine with both, it's better to take what is easier for user to see the Katib components.
WDYT @johnugeorge @alculquicondor @kubeflow/wg-training-leads ?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there other projects that would potentially use automl.kubeflow.org/component?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently, we have only Katib project in Kubeflow for AutoML

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the "component" part might be exclusive to katib.

Of course, you could do automl.kubeflow.org/component: katib-ui, but maybe it's overkill.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, so in the future if we have more projects for AutoML we can extend it.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As we decided on the WG Meeting we will use katib.kubeflow.org for now since it is easier to indicate project for the user.
@gaocegege @alculquicondor @johnugeorge if you are fine with the changes, please leave your lgtm

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@andreyvelich
Copy link
Member Author

/retest

@alculquicondor
Copy link

sidetopic: That's quite a bit of retests. Is there any understanding of the reasons for the flakiness?

@andreyvelich
Copy link
Member Author

andreyvelich commented Aug 11, 2021

sidetopic: That's quite a bit of retests. Is there any understanding of the reasons for the flakiness?

There is a problem with Docker pull limitation. We are getting this error in the CI:

ERRO[0002] Error while retrieving image from cache: mxnet/python:latest_cpu_native_py3 GET https://index.docker.io/v2/mxnet/python/manifests/latest_cpu_native_py3: TOOMANYREQUES
TS: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit

Copy link
Member

@terrytangyuan terrytangyuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: andreyvelich, terrytangyuan

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-robot google-oss-robot merged commit 7a661cf into kubeflow:master Aug 11, 2021
@andreyvelich andreyvelich deleted the modify-components-labels branch October 12, 2021 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants