Uh oh!
There was an error while loading. Please reload this page.
How to use field selectors for PODs? #136
I am new to Python and this module, so please bare with me... I am trying to get a list of pods in Running state and can't figure out proper way to use field selector running_selector = "status.phase=Running" ...the above doesn't seem to work, is anyone able to help? |
Answered by
bradmwilliams
Dec 12, 2022
Replies: 1 comment
Hi @zdrux, running_selector= {"status.phase": "Running"} |
0 replies
Answer selected byzdrux
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @zdrux,
You are not too far off actually! This issue is that
running_selectorshould be a dict: