-
Notifications
You must be signed in to change notification settings - Fork 9
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: use table view in pod check #303
feat: use table view in pod check #303
Conversation
…e4ever/azure-iot-ops-cli-extension into user/jiacju/pod_check_table
Talked with @c-ryan-k for some refactoring, will re open the pr once refactor done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good, just a final few questions / nits to make sure we've got everything covered :)
|
||
for pod in pods: | ||
target_service_pod = f"pod/{pod.metadata.name}" | ||
return |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't remember if this was always the case with this PR - but did this method display a "no pods" message? Or is that up to the individual CR check now that it's removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah now the no pod message will be under individual CR check, since we need the label to output the error message, meanwhile we don't want to pass the label down to evaluate_pod_health
update pod check display to use table view in detail level 1 and 2
0 will keep the same as before to summarize pod check in one line
level 0:
level 1:
level 2:
for pods does not have conditions property, it will look like:
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
Thank you for contributing to Azure IoT Operations tooling!
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines
Intent for Production
dev
ormain
are of production grade. Corollary to this, any merged contributions to these branches may be deployed in a public release at any given time. By checking this box, you agree and commit to the expected production quality of code.Basic expectations
pytest <project root> -vv
. Please provide evidence in the form of a screenshot showing a succesful run of tests locally OR a link to a test pipeline that has been run against the change-set..pylintrc
and.flake8
rules? Look at the CI scripts for example usage.Azure IoT Operations CLI maintainers reserve the right to enforce any of the outlined expectations.
A PR is considered ready for review when all basic expectations have been met (or do not apply).