@Override
    public void waitForDeployment(DeploymentContext context) throws HyscaleException {
        ApiClient apiClient = clientProvider.get((K8sAuthorisation) context.getAuthConfig());
        V1PodHandler podHandler = (V1PodHandler) ResourceHandlers.getHandlerOf(ResourceKind.POD.getKind());
        String serviceName = context.getServiceName();
        String namespace = context.getNamespace();
        String appName = context.getAppName();
        ServiceMetadata serviceMetadata = new ServiceMetadata();
        serviceMetadata.setAppName(appName);
        serviceMetadata.setServiceName(serviceName);
        WorkflowLogger.header(DeployerActivity.WAITING_FOR_DEPLOYMENT);
        try {
            podHandler.watch(apiClient, appName, serviceName, namespace);
        } catch (HyscaleException ex) {
            throw ex;
        }
    }
Wait for Pod scheduled, creation and Readiness state
deployer/deployer-services/src/main/java/io/hyscale/deployer/services/deployer/impl/KubernetesDeployer.java