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
master
q3k 2019-06-22 02:07:41 +02:00 committed by q3k
parent dec401c7dd
commit 184678b0f4
2 changed files with 6 additions and 6 deletions

View File

@ -99,9 +99,9 @@ local Cluster(fqdn) = {
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",
},

View File

@ -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",
# },