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
This snippet, provided by @gshefer, demonstrates the desired data structure:
defpods_per_ready_status(self):
"""Grabing the Container Statuses Summary of the pods from API"""# TODO: Add later this logic to wrapanapientities_j=self.mgmt.api.get('pod')[1]['items']
out= {}
forentity_jinentities_j:
out[entity_j['metadata']['name']] = {
condition['type']: eval_strings([condition['status']]).pop()
forconditioninentity_j['status'].get('conditions', [])
}
returnout
The text was updated successfully, but these errors were encountered:
This snippet, provided by @gshefer, demonstrates the desired data structure:
The text was updated successfully, but these errors were encountered: