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

Fix typo in Katib GH action #2271

Conversation

NickLoukas
Copy link
Contributor

This is a follow up PR to this (#2249) to fix the path of the katib test.

Refs #2248

@@ -35,6 +35,6 @@ jobs:

- name: Create katib experiment
run: |
kubectl apply -f tests/gh-actions/katib_test.yaml
kubectl apply -f tests/gh-actions/kf-objects/katib_test.yaml
Copy link
Member

Choose a reason for hiding this comment

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

Looks like the resources are created under kubeflow-user namespace which is not created before. In addition, it looks for a label to be enabled to create the experiment.

Running the follow commands before applying this yaml file made it work for me. Otherwise, it will throw an error for missing namespace

kubectl create namespace kubeflow-user
kubectl label namespace kubeflow-user katib.kubeflow.org/metrics-collector-injection=enabled

Copy link
Member

Choose a reason for hiding this comment

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

Good catch! I'll send a follow up PR asap to fix this

@NickLoukas NickLoukas force-pushed the nickloukas-gh-action-apply-katib-fix branch from 2e2e4f1 to 276839c Compare August 31, 2022 16:25
@kimwnasptd
Copy link
Member

/lgtm
/approve

@google-oss-prow
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kimwnasptd, NickLoukas

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-prow google-oss-prow bot merged commit b00c59c into kubeflow:master Oct 7, 2022
kevin85421 pushed a commit to juliusvonkohout/manifests that referenced this pull request Feb 28, 2023
* Fix typo in Katib GH action.

* Create kubeflow-user namespace before starting the katib experiment.
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.

3 participants