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

feat: add envs to ensure kfp-ui can show logs #605

Merged
merged 11 commits into from
Nov 29, 2024

Conversation

NohaIhab
Copy link
Contributor

@NohaIhab NohaIhab commented Nov 19, 2024

Part of #582

Summary

Sets each of the following environment variables in kfp-ui to fix showing the logs after the workflow gets deleted:

  • ARGO_ARCHIVE_LOGS
  • DISABLE_GKE_METADATA
  • ARGO_KEYFORMAT

Removes ARGO_ARCHIVE_PREFIX env var, as indicated by upstream in kubeflow/pipelines#11010.

Testing

For testing, see #582 (comment)

Base automatically changed from dev-upgrade-kfp-2.3.0 to main November 22, 2024 13:44
Copy link
Contributor

@kimwnasptd kimwnasptd left a comment

Choose a reason for hiding this comment

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

Tested this, alongside KFP 2.3 charms as described in #582 (comment)

Everything worked as we describe:

  1. The V2 Pipelines now preserve the logs, stored in the path of new keyFormat
  2. The V1 Pipelines keep their logs in the output-artifacts, as described in Ensure kfp-ui can show logs from Argo #582 (comment)

charms/kfp-ui/src/components/pebble_components.py Outdated Show resolved Hide resolved
Copy link
Contributor

@kimwnasptd kimwnasptd left a comment

Choose a reason for hiding this comment

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

Really nice work @NohaIhab and great attention to detail!

@NohaIhab NohaIhab merged commit 344a5d6 into main Nov 29, 2024
75 checks passed
@NohaIhab NohaIhab deleted the kf-6542-feat-add-logs-env-vars-to-kfp-ui branch November 29, 2024 13:54
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.

2 participants