public static V1ContainerState getLastState(V1Pod pod) {
		List<V1ContainerStatus> v1ContainerStatus = pod.getStatus().getContainerStatuses();
		for (V1ContainerStatus containerStatus : v1ContainerStatus) {
			if (!containerStatus.getReady()) {
				return containerStatus.getLastState();
			}
		}
		return null;
	}
@param initContainerStatuses
@return status of init container in waiting state, else null
deployer/deployer-services/src/main/java/io/hyscale/deployer/services/model/PodStatusUtil.java