You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Users are encountering an error when the version of the ZenML Kubernetes orchestrator does not match the version of their actual Kubernetes deployment. The error message is not explicit about the cause of the issue, leading to confusion. An example of the error message is:
AttributeError: module 'kubernetes.client' has no attribute 'V1CronJob'
This error can be resolved by updating the ZenML Kubernetes integration (zenml integration install kubernetes -y), but the current error message does not guide users towards this solution.
Task Description
Implement a clear and informative error handling mechanism in ZenML to catch and adequately report Kubernetes version mismatches. The goal is to provide users with a specific error message that suggests updating the Kubernetes integration in ZenML when a version mismatch is detected.
Expected Outcome
ZenML should catch Kubernetes version mismatches and display an explicit error message to the user.
The error message should suggest a potential solution, such as updating the Kubernetes integration with ZenML.
This enhancement will aid users in quickly diagnosing and resolving version mismatch issues.
Steps to Implement
Analyze the current error handling mechanism for the Kubernetes orchestrator in ZenML.
Implement specific error handling that detects version mismatches between ZenML's Kubernetes orchestrator and the user's Kubernetes deployment.
Develop a clear and user-friendly error message that includes guidance on resolving the issue (e.g., updating the Kubernetes integration).
Test the implementation to ensure that version mismatches are correctly caught and reported.
Update documentation to include information about this error handling and steps to resolve version mismatches.
Additional Context
Improving error handling for version mismatches is critical for a smooth user experience, especially for those deploying pipelines in Kubernetes environments. This update will help users to quickly identify and address compatibility issues.
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Yes @Dev-Khant sounds good. Let us know if there's anything that's unclear along the way, and please make sure to follow our contribution guidelines, esp basing your branch/PR on the develop branch and not the default main branch. Thanks!
Hi @strickvl, I'm busy with work but I'll raise a PR when I get time. In the meantime, if someone asks you can assign this to them. Sorry for any inconvenience
@Aryan-Deshpande so the error happens just when you try to run a pipeline using the K8S orchestrator but the version of K8S doesn't match the one you have locally (i.e. installed by ZenML).
Open Source Contributors Welcomed!
Please comment below if you would like to work on this issue!
Contact Details [Optional]
[email protected]
What happened?
Users are encountering an error when the version of the ZenML Kubernetes orchestrator does not match the version of their actual Kubernetes deployment. The error message is not explicit about the cause of the issue, leading to confusion. An example of the error message is:
This error can be resolved by updating the ZenML Kubernetes integration (
zenml integration install kubernetes -y
), but the current error message does not guide users towards this solution.Task Description
Implement a clear and informative error handling mechanism in ZenML to catch and adequately report Kubernetes version mismatches. The goal is to provide users with a specific error message that suggests updating the Kubernetes integration in ZenML when a version mismatch is detected.
Expected Outcome
Steps to Implement
Additional Context
Improving error handling for version mismatches is critical for a smooth user experience, especially for those deploying pipelines in Kubernetes environments. This update will help users to quickly identify and address compatibility issues.
Code of Conduct
The text was updated successfully, but these errors were encountered: