public static boolean checkForPodRestart(V1Pod pod, Long restartPodCount) {
		if(pod==null ||pod.getStatus()==null||pod.getStatus().getContainerStatuses()==null) {
			return false;
		}
		return pod.getStatus().getContainerStatuses().stream().anyMatch(s -> s.getRestartCount() > restartPodCount);

	}
@param pod
@param restartPodCount
@return If pod restart count is greater than to given restartPodCount then it will return true, else false
deployer/deployer-services/src/main/java/io/hyscale/deployer/services/util/K8sPodUtil.java