Update examples to not use old DNS names

This commit is contained in:
Tim Hockin
2015-07-23 10:13:57 -07:00
parent 4e1630d3a9
commit 89e9851ac5
5 changed files with 6 additions and 6 deletions

View File

@@ -100,7 +100,7 @@ public class KubernetesSeedProvider implements SeedProvider {
public List<InetAddress> getSeeds() {
List<InetAddress> list = new ArrayList<InetAddress>();
String host = "https://kubernetes.default.cluster.local";
String host = "https://kubernetes.default.svc.cluster.local";
String serviceName = getEnvOrDefault("CASSANDRA_SERVICE", "cassandra");
String podNamespace = getEnvOrDefault("POD_NAMESPACE", "default");
String path = String.format("/api/v1/namespaces/%s/endpoints/", podNamespace);