integration-tests/src/test/java/oracle/kubernetes/operator/utils/LoadBalancer.java
public void createTraefikLoadBalancer() throws Exception {
    String cmdLb = null;
    cmdLb = BaseTest.getProjectRoot() + "/kubernetes/samples/charts/util/setup.sh create traefik ";
    LoggerHelper.getLocal().log(Level.INFO, "Executing cmd " + cmdLb);
    ExecResult result = ExecCommand.exec(cmdLb);
    if (result.exitValue() != 0) {
      if (!result.stderr().contains("release named traefik-operator already exists")) {
        throw new RuntimeException(
            "FAILURE: command to create load balancer "
                + cmdLb
                + " failed, returned "
                + result.stdout()
                + result.stderr());
      }
    }
  }
/**
   * Create Traefik load balancer.
   * @throws Exception on failure
   */
Create Traefik load balancer.
@throws Exception on failure
Create Traefik load balancer . @throws Exception on failure
public void createTraefikLoadBalancer() throws Exception {
    String cmdLb = null;
    cmdLb = BaseTest.getProjectRoot() + "/kubernetes/samples/charts/util/setup.sh create traefik ";
    LoggerHelper.getLocal().log(Level.INFO, "Executing cmd " + cmdLb);
    ExecResult result = ExecCommand.exec(cmdLb);
    if (result.exitValue() != 0) {
      if (!result.stderr().contains("release named traefik-operator already exists")) {
        throw new RuntimeException(
            "FAILURE: command to create load balancer "
                + cmdLb
                + " failed, returned "
                + result.stdout()
                + result.stderr());
      }
    }
  }
public void createTraefikLoadBalancer ( ) throws Exception { String cmdLb = null ; cmdLb = BaseTest . getProjectRoot ( ) + "/kubernetes/samples/charts/util/setup.sh create traefik " ; LoggerHelper . getLocal ( ) . log ( Level . INFO , "Executing cmd " + cmdLb ) ; ExecResult result = ExecCommand . exec ( cmdLb ) ; if ( result . exitValue ( ) != 0 ) { if ( ! result . stderr ( ) . contains ( "release named traefik-operator already exists" ) ) { throw new RuntimeException ( "FAILURE: command to create load balancer " + cmdLb + " failed, returned " + result . stdout ( ) + result . stderr ( ) ) ; } } }
Create Traefik load balancer.
Create Traefik load balancer .