Watch
0
0
Fork
You've already forked hyperhive
0

k8s-services: seed with the stream content type, give the grafana responder its own port name, and print gateway diagnostics on a refusal

the grafana responder's service targeted the port name api, which resolves to the logs responder's container; its port is now grafana-api.

the node-ready wait is raised from 300 to 600 seconds: slow k3s image imports on this test's machine kept the node from registering in vm-nightly 8992 and 8997, so the test never reached the subtests this change fixes.
This commit is contained in:
atlas 2026-11-26 20:41:57 +01:00 • committed by mara
commit 3213bfba7a

View file

@ -215,9 +215,11 @@ let
SWARM_METRICS_AUTH_HEALTH_ADDR = "0.0.0.0:${toString grafanaAuthHealthPort}";
}
);
# Not `api`: a Service resolves a named port to the first container of the
# pod that declares the name, which is the logs responder's.
ports = [
{
name = "api";
name = "grafana-api";
containerPort = grafanaAuthPort;
}
{
@ -255,7 +257,7 @@ let
name = "api";
protocol = "TCP";
port = grafanaAuthPort;
targetPort = "api";
targetPort = "grafana-api";
}
];
};