@classmethod
def get_from_string(cls, string_condition):
    """
        Convert string value obtained from k8s API to PodCondition enum value
        :param string_condition: str, condition value from Kubernetes API
        :return: PodCondition
        """
    if string_condition == 'PodScheduled':
        return cls.SCHEDULED
    elif string_condition == 'Ready':
        return cls.READY
    elif string_condition == 'Initialized':
        return cls.INITIALIZED
    elif string_condition == 'Unschedulable':
        return cls.UNSCHEDULABLE
    elif string_condition == 'ContainersReady':
        return cls.CONTAINERS_READY
    return cls.UNKNOWN
