def all_pods_ready(self):
if self.get_status().replicas and self.get_status().ready_replicas:<EOL><INDENT>if self.get_status().replicas == self.get_status().ready_replicas:<EOL><INDENT>logger.info("<STR_LIT>",<EOL>self.name, self.namespace)<EOL>return True<EOL><DEDENT><DEDENT>return False<EOL>
Check if number of replicas with same selector is equals to number of ready replicas
:return: bool