container.addBinding("imageId", settings.getArtifactId()); container.addBinding("port", settings.getPort()); container.addBinding("volumeMounts", volumeMounts);
container.addBinding("imageId", settings.getArtifactId()); TemplatedResource port = new JinjaJarResource("/kubernetes/manifests/port.yml"); port.addBinding("port", settings.getPort());
containerBuilder = containerBuilder .withName(name) .withImage(settings.getArtifactId()) .withPorts(new ContainerPortBuilder().withContainerPort(port).build()) .withVolumeMounts(volumeMounts)
containerBuilder = containerBuilder .withName(name) .withImage(settings.getArtifactId()) .withPorts(new ContainerPortBuilder().withContainerPort(port).build()) .withVolumeMounts(volumeMounts)
KubernetesImageDescription imageDescription = KubernetesUtil.buildImageDescription(settings.getArtifactId()); container.setImageDescription(imageDescription); container.setName(name);
KubernetesImageDescription imageDescription = KubernetesUtil.buildImageDescription(settings.getArtifactId()); container.setImageDescription(imageDescription); container.setName(name);
GoogleProviderUtils.waitOnGlobalOperation(compute, project, operation); } catch (IOException e) { throw new HalException(FATAL, "Failed to create instance template for " + settings.getArtifactId() + ": " + e.getMessage(), e); GoogleProviderUtils.waitOnZoneOperation(compute, project, settings.getLocation(), operation); } catch (IOException e) { throw new HalException(FATAL, "Failed to create instance group to run artifact " + settings.getArtifactId() + ": " + e.getMessage(), e);
GoogleProviderUtils.waitOnGlobalOperation(compute, project, operation); } catch (IOException e) { throw new HalException(FATAL, "Failed to create instance template for " + settings.getArtifactId() + ": " + e.getMessage(), e); GoogleProviderUtils.waitOnZoneOperation(compute, project, settings.getLocation(), operation); } catch (IOException e) { throw new HalException(FATAL, "Failed to create instance group to run artifact " + settings.getArtifactId() + ": " + e.getMessage(), e);