Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions charts/inference-stack/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ dependencies:
version: 1.110.2
- name: prometheus
repository: https://prometheus-community.github.io/helm-charts
version: 27.3.0
version: 30.0.1
- name: grafana
repository: https://grafana.github.io/helm-charts
version: 8.8.2
- name: lens
repository: oci://ghcr.io/berriai/charts
version: 0.5.0
digest: sha256:b7282cb0885dde3a1fa54ee47e79bdaeb6b13cdff4f6d2ac36969d906e3a926c
generated: "2026-11-26T00:27:06.908160254Z"
digest: sha256:d4cfafbfe7354c22f2b73238e39a9948169e22aad940a031e82cccc454a57c77
generated: "2026-11-26T00:35:49.348153214Z"
2 changes: 1 addition & 1 deletion charts/inference-stack/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies:
version: 1.110.2
repository: oci://ghcr.io/berriai
- name: prometheus
version: 27.3.0
version: 30.0.1
repository: https://prometheus-community.github.io/helm-charts
- name: grafana
version: 8.8.2
Expand Down
2 changes: 1 addition & 1 deletion compose/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ services:
- epp

prometheus:
image: prom/prometheus:v3.1.0
image: quay.io/prometheus/prometheus:v3.16.0
volumes:
- ./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml:ro
- router-state:/state:ro
Expand Down
4 changes: 3 additions & 1 deletion docs/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,13 +206,15 @@ curl -fsSL https://github.com/BerriAI/inference-stack/releases/download/v0.4.1/i

When updating a Docker install that predates the Grafana volume, run the installer before removing or recreating the old Grafana container. The installer copies its dashboards and other Grafana data into the new volume. A stopped container can still be migrated.

For an existing Kubernetes cluster, update the chart while retaining your values:
For an existing Kubernetes cluster, update the chart while retaining your explicitly set values and accepting the new chart defaults:

```bash
helm upgrade inference-stack https://github.com/BerriAI/inference-stack/releases/download/v0.4.1/inference-stack-0.4.1.tgz \
--namespace inference --reset-then-reuse-values --set-string launcher.image=ghcr.io/berriai/inference-stack/launcher:0.4.1 --wait
```

Use `--reset-then-reuse-values` rather than `--reuse-values` when upgrading to Prometheus chart 30.0.1. Reusing the old defaults can load duplicate scrape jobs and prevent Prometheus from starting. If you explicitly configured `prometheus.serverFiles."prometheus.yml".scrape_configs`, migrate those jobs to `prometheus.scrapeConfigs` first; see the [upstream migration notes](https://github.com/prometheus-community/helm-charts/blob/prometheus-30.0.1/charts/prometheus/README.md#to-280).

After the chart update, rerun the [Kubernetes setup command](#kubernetes) to reconnect. Open the launcher and LiteLLM to confirm both are reachable.

For AWS, launch a new stack with this release and a different stack name. Deploy your models and create application keys there. Keep the original installation until requests work in the new one, then [delete the original stack](#aws). Updating only the launcher image does not update its AWS infrastructure.
Expand Down
16 changes: 16 additions & 0 deletions tests/test_charts.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,22 @@


class ChartTests(unittest.TestCase):
@unittest.skipUnless(shutil.which("helm"), "Helm is required for chart contract checks")
def test_prometheus_server_image_matches_compose(self):
root = Path(__file__).resolve().parents[1]
compose = yaml.safe_load((root / "compose/docker-compose.yaml").read_text())
result = subprocess.run(
["helm", "template", "inference-stack", str(root / "charts/inference-stack"),
"--set-string", "litellm.postgresql.auth.password=test-only-database-password-0123456789",
"--set-string", "litellm.postgresql.auth.postgres-password=test-only-database-admin-0123456789"],
text=True, capture_output=True, timeout=20, check=True,
)
server = next(r for r in yaml.safe_load_all(result.stdout)
if r and r["kind"] == "Deployment" and r["metadata"]["name"] == "inference-stack-prometheus")
containers = server["spec"]["template"]["spec"]["containers"]
prometheus = next(c for c in containers if c["name"] == "prometheus-server")
self.assertEqual(prometheus["image"], compose["services"]["prometheus"]["image"])

@unittest.skipUnless(shutil.which("helm"), "Helm is required for chart contract checks")
def test_mixed_gpu_fleet_schedules_on_matching_capacity(self):
chart = Path(__file__).resolve().parents[1] / "charts/model"
Expand Down
Loading