InseeFrLab / InseeFrLab/helm-charts-databases

Expose a resources field in the MariaDB launch form (Onyxia schema)

Open
#185 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Mustache
Stars
7
Forks
17
Avg merge
13m
Merged PRs (30d)
1

Description

## Summary

The **mariadb** chart's Onyxia values schema doesn't expose a `resources` field in the launch form. As a result, users can't set CPU/memory requests and limits when starting a MariaDB service, and the chart deploys with no resources on its containers.

This breaks deployment on any namespace enforcing a `ResourceQuota` that requires `limits.cpu`/`limits.memory`: the pod is rejected with `must specify limits.cpu/limits.memory`. The **postgresql** chart from this same repo exposes resources and works fine on the same namespace.

## Request

Add a `resources` section to the mariadb chart's Onyxia schema (`values.schema.json`), mapped onto `primary.resources`, with requests/limits sliders for CPU and memory — same as the `resources.json` schema used in `helm-charts-interactive-services`, and consistent with what postgresql already does.

Sensible defaults so the service works out of the box on quota-enforced clusters would be appreciated (e.g. requests `300m` / `512Mi`, limits `2` / `2Gi`).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.