def all_pods_ready(self):
        """
        Check if number of replicas with same selector is equals to number of ready replicas
        :return: bool
        """

        if self.get_status().replicas and self.get_status().ready_replicas:
            if self.get_status().replicas == self.get_status().ready_replicas:
                logger.info("All pods are ready for deployment %s in namespace: %s",
                            self.name, self.namespace)
                return True

        return False