cluster/cube/lib/cockroachdb: clean up topology
IP addresses are not necessary in the topology definitions of a
cockroach cluster.
They were mis-commited leftovers from trying to run the cluster on
DaemonSets with hostNetworking: true.
Change-Id: I4ef1f6ed9a745efc6b05846bc13aba9d1f8dc7c8
diff --git a/cluster/kube/cluster.jsonnet b/cluster/kube/cluster.jsonnet
index 1b988b9..fc0db19 100644
--- a/cluster/kube/cluster.jsonnet
+++ b/cluster/kube/cluster.jsonnet
@@ -99,9 +99,9 @@
waw1: cockroachdb.Cluster("crdb-waw1") {
cfg+: {
topology: [
- { name: "bc01n01", node: "bc01n01.hswaw.net", ip: "185.236.240.35" },
- { name: "bc01n02", node: "bc01n02.hswaw.net", ip: "185.236.240.36" },
- { name: "bc01n03", node: "bc01n03.hswaw.net", ip: "185.236.240.37" },
+ { name: "bc01n01", node: "bc01n01.hswaw.net" },
+ { name: "bc01n02", node: "bc01n02.hswaw.net" },
+ { name: "bc01n03", node: "bc01n03.hswaw.net" },
],
hostPath: "/var/db/crdb-waw1",
},
diff --git a/cluster/kube/lib/cockroachdb.libsonnet b/cluster/kube/lib/cockroachdb.libsonnet
index 4df69b6..e2b6844 100644
--- a/cluster/kube/lib/cockroachdb.libsonnet
+++ b/cluster/kube/lib/cockroachdb.libsonnet
@@ -6,9 +6,9 @@
# cfg+: {
# namespace: "q3k", // if not given, will create 'q3kdb' namespace
# topology: [
-# { name: "a", node: "bc01n01.hswaw.net", ip: "185.236.240.35" },
-# { name: "b", node: "bc01n02.hswaw.net", ip: "185.236.240.36" },
-# { name: "c", node: "bc01n03.hswaw.net", ip: "185.236.240.37" },
+# { name: "a", node: "bc01n01.hswaw.net" },
+# { name: "b", node: "bc01n02.hswaw.net" },
+# { name: "c", node: "bc01n03.hswaw.net" },
# ],
# hostPath: "/var/db/cockroach-q3k",
# },