Fix k8s validation

This commit is contained in:
Cyber MacGeddon 2024-09-06 23:04:07 +01:00
parent bf32118e6c
commit dde52ba6a3
9 changed files with 134 additions and 61 deletions

View file

@ -29,10 +29,15 @@ local images = import "values/images.jsonnet";
"prometheus", [ container ]
);
local service =
engine.service(containerSet)
.with_port(9090, 9090, "http");
engine.resources([
cfgVol,
vol,
containerSet,
service,
])
},
@ -87,6 +92,10 @@ local images = import "values/images.jsonnet";
"grafana", [ container ]
);
local service =
engine.service(containerSet)
.with_port(3000, 3000, "http");
engine.resources([
provVol,
dashVol,

View file

@ -27,8 +27,8 @@ local images = import "values/images.jsonnet";
local service =
engine.service(containerSet)
.with_port(9527, 9527)
.with_port(7750, 7750);
.with_port(9527, 9527, "api")
.with_port(7750, 7750, "api2);
engine.resources([
containerSet,

View file

@ -13,7 +13,7 @@ local images = import "values/images.jsonnet";
local container =
engine.container("pulsar")
.with_image(images.pulsar)
.with_command("bin/pulsar standalone")
.with_command(["bin/pulsar", "standalone"])
.with_environment({
"PULSAR_MEM": "-Xms700M -Xmx700M"
})
@ -44,8 +44,8 @@ local images = import "values/images.jsonnet";
local service =
engine.service(containerSet)
.with_port(6650, 6650)
.with_port(8080, 8080);
.with_port(6650, 6650, "bookie")
.with_port(8080, 8080, "http");
engine.resources([
confVolume,