cockroach: v20.2 -> v21.1

Following https://www.cockroachlabs.com/docs/v21.1/upgrade-cockroach-version?filters=linux
--logtostderr is deprecated/removed, but AFAICT from the default config
it will still log there: https://www.cockroachlabs.com/docs/v21.1/configure-logs#default-logging-configuration

Change-Id: I7fb3f835693f955b37de24dc581140ea34b11630
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1461
Reviewed-by: q3k <q3k@hackerspace.pl>
This commit is contained in:
implr 2023-01-30 20:41:25 +01:00 committed by implr
parent 9836999652
commit 0173f501d7

View file

@ -42,7 +42,7 @@ local policies = import "../../../kube/policies.libsonnet";
local cluster = self,
cfg:: {
image: "cockroachdb/cockroach:v20.2.4",
image: "cockroachdb/cockroach:v21.1.21",
# Must be unique per cluster.
portServe: 26257,
@ -290,7 +290,6 @@ local policies = import "../../../kube/policies.libsonnet";
},
command: [
"/cockroach/cockroach", "start",
"--logtostderr",
"--certs-dir", "/cockroach/cockroach-certs",
"--advertise-host", "%s.cluster.local" % server.service.host,
"--cache", "25%", "--max-sql-memory", "25%",