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:
parent
2116ad28e1
commit
3213bfba7a
1 changed files with 77 additions and 10 deletions
|
|
@ -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";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue