public void undeployService(String appName, String serviceName) throws HyscaleException {
        logger.info("Undeploy initiated for service - {}", serviceName);
        if (StringUtils.isBlank(appName)) {
            logger.error("No applicaton found for undeployment");
            throw new HyscaleException(DeployerErrorCodes.APPLICATION_REQUIRED);
        }
        PodParentUtil podParentUtil = new PodParentUtil(apiClient, namespace);
        PodParent podParent = podParentUtil.getPodParentForService(serviceName);
        List<CustomResourceKind> appliedKindsList = podParentUtil.getAppliedKindsList(podParent);
        String selector = ResourceSelectorUtil.getServiceSelector(appName, serviceName);
        deleteResources(selector, appliedKindsList);
    }
Undeploy resources from cluster
Deletes all resources in a service

@param appName
@param serviceName
@throws HyscaleException if failed to delete any resource
deployer/deployer-services/src/main/java/io/hyscale/deployer/services/util/K8sResourceDispatcher.java