new-integration-tests/src/test/java/oracle/weblogic/kubernetes/actions/impl/primitive/Kubernetes.java
public static V1Pod createPod(String namespace, V1Pod podBody) throws ApiException {
    V1Pod pod;
    try {
      pod = coreV1Api.createNamespacedPod(namespace, podBody, null, null, null);
    } catch (ApiException apex) {
      getLogger().severe(apex.getResponseBody());
      throw apex;
    }
    return pod;
  }
/**
   * Create a pod.
   *
   * @param namespace name of the namespace
   * @param podBody V1Pod object containing pod configuration data
   * @return V1Pod object
   * @throws ApiException when create pod fails
   */
Create a pod.
@param namespace name of the namespace
@param podBody V1Pod object containing pod configuration data
@return V1Pod object
@throws ApiException when create pod fails
Create a pod . @param namespace name of the namespace @param podBody V1Pod object containing pod configuration data @return V1Pod object @throws ApiException when create pod fails
public static V1Pod createPod(String namespace, V1Pod podBody) throws ApiException {
    V1Pod pod;
    try {
      pod = coreV1Api.createNamespacedPod(namespace, podBody, null, null, null);
    } catch (ApiException apex) {
      getLogger().severe(apex.getResponseBody());
      throw apex;
    }
    return pod;
  }
public static V1Pod createPod ( String namespace , V1Pod podBody ) throws ApiException { V1Pod pod ; try { pod = coreV1Api . createNamespacedPod ( namespace , podBody , null , null , null ) ; } catch ( ApiException apex ) { getLogger ( ) . severe ( apex . getResponseBody ( ) ) ; throw apex ; } return pod ; }
Create a pod.
Create a pod .