new-integration-tests/src/test/java/oracle/weblogic/kubernetes/actions/impl/primitive/Kubernetes.java
public static boolean deletePod(String name, String namespace) {

    KubernetesApiResponse<V1Pod> response = podClient.delete(namespace, name);

    if (!response.isSuccess()) {
      getLogger().warning("Failed to delete pod '" + name + "' from namespace: "
              + namespace + " with HTTP status code: " + response.getHttpStatusCode());
      return false;
    }

    if (response.getObject() != null) {
      getLogger().info(
              "Received after-deletion status of the requested object, will be deleting "
                      + "pod in background!");
    }

    return true;
  }
/**
   * Delete a Kubernetes Pod.
   *
   * @param name name of the pod
   * @param namespace name of namespace
   * @return true if successful
   */
Delete a Kubernetes Pod.
@param name name of the pod
@param namespace name of namespace
@return true if successful
Delete a Kubernetes Pod . @param name name of the pod @param namespace name of namespace @return true if successful
public static boolean deletePod(String name, String namespace) {
    KubernetesApiResponse<V1Pod> response = podClient.delete(namespace, name);
    if (!response.isSuccess()) {
      getLogger().warning("Failed to delete pod '" + name + "' from namespace: "
              + namespace + " with HTTP status code: " + response.getHttpStatusCode());
      return false;
    }
    if (response.getObject() != null) {
      getLogger().info(
              "Received after-deletion status of the requested object, will be deleting "
                      + "pod in background!");
    }
    return true;
  }
public static boolean deletePod ( String name , String namespace ) { KubernetesApiResponse < V1Pod > response = podClient . delete ( namespace , name ) ; if ( ! response . isSuccess ( ) ) { getLogger ( ) . warning ( "Failed to delete pod '" + name + "' from namespace: " + namespace + " with HTTP status code: " + response . getHttpStatusCode ( ) ) ; return false ; } if ( response . getObject ( ) != null ) { getLogger ( ) . info ( "Received after-deletion status of the requested object, will be deleting " + "pod in background!" ) ; } return true ; }
Delete a Kubernetes Pod.
Delete a Kubernetes Pod .