use of com.netflix.spinnaker.halyard.deploy.spinnaker.v1.service.distributed.kubernetes.KubernetesSharedServiceSettings in project halyard by spinnaker.
the class KubernetesV1IgorService method buildServiceSettings.
@Override
public Settings buildServiceSettings(DeploymentConfiguration deploymentConfiguration) {
KubernetesSharedServiceSettings kubernetesSharedServiceSettings = new KubernetesSharedServiceSettings(deploymentConfiguration);
Settings settings = new Settings();
String location = kubernetesSharedServiceSettings.getDeployLocation();
settings.setAddress(buildAddress(location)).setArtifactId(getArtifactId(deploymentConfiguration.getName())).setLocation(location).setEnabled(true);
return settings;
}
use of com.netflix.spinnaker.halyard.deploy.spinnaker.v1.service.distributed.kubernetes.KubernetesSharedServiceSettings in project halyard by spinnaker.
the class KubernetesV2Service method buildServiceSettings.
default ServiceSettings buildServiceSettings(DeploymentConfiguration deploymentConfiguration) {
KubernetesSharedServiceSettings kubernetesSharedServiceSettings = new KubernetesSharedServiceSettings(deploymentConfiguration);
ServiceSettings settings = defaultServiceSettings();
String location = kubernetesSharedServiceSettings.getDeployLocation();
settings.setAddress(buildAddress(location)).setArtifactId(getArtifactId(deploymentConfiguration.getName())).setLocation(location).setEnabled(isEnabled(deploymentConfiguration));
return settings;
}
use of com.netflix.spinnaker.halyard.deploy.spinnaker.v1.service.distributed.kubernetes.KubernetesSharedServiceSettings in project halyard by spinnaker.
the class KubernetesV1RedisService method buildServiceSettings.
@Override
public Settings buildServiceSettings(DeploymentConfiguration deploymentConfiguration) {
KubernetesSharedServiceSettings kubernetesSharedServiceSettings = new KubernetesSharedServiceSettings(deploymentConfiguration);
Settings settings = new Settings();
String location = kubernetesSharedServiceSettings.getDeployLocation();
settings.setAddress(buildAddress(location)).setArtifactId(getArtifactId(deploymentConfiguration.getName())).setLocation(location).setEnabled(true);
return settings;
}
use of com.netflix.spinnaker.halyard.deploy.spinnaker.v1.service.distributed.kubernetes.KubernetesSharedServiceSettings in project halyard by spinnaker.
the class KubernetesV1MonitoringDaemonService method buildServiceSettings.
@Override
public Settings buildServiceSettings(DeploymentConfiguration deploymentConfiguration) {
KubernetesSharedServiceSettings kubernetesSharedServiceSettings = new KubernetesSharedServiceSettings(deploymentConfiguration);
Settings settings = new Settings();
settings.setArtifactId(getArtifactId(deploymentConfiguration.getName())).setLocation(kubernetesSharedServiceSettings.getDeployLocation()).setEnabled(deploymentConfiguration.getMetricStores().isEnabled());
return settings;
}
use of com.netflix.spinnaker.halyard.deploy.spinnaker.v1.service.distributed.kubernetes.KubernetesSharedServiceSettings in project halyard by spinnaker.
the class KubernetesV1RedisBootstrapService method buildServiceSettings.
@Override
public Settings buildServiceSettings(DeploymentConfiguration deploymentConfiguration) {
KubernetesSharedServiceSettings kubernetesSharedServiceSettings = new KubernetesSharedServiceSettings(deploymentConfiguration);
Settings settings = new Settings();
String location = kubernetesSharedServiceSettings.getDeployLocation();
settings.setAddress(buildAddress(location)).setArtifactId(getArtifactId(deploymentConfiguration.getName())).setLocation(location).setSafeToUpdate(// It's OK to flush this redis fully since we generally redeploy bootstrap clouddriver & orca
true).setEnabled(true);
return settings;
}
Aggregations