Ollama service used in the classroom backend#410
Conversation
ZQyou
commented
Apr 9, 2026
- All data, including keys and models, are stored in the /ollama mount path using a PVC.
- Modified the annotation in the PVC template from the upstream repository (https://github.com/otwld/ollama-helm) to use tpl.
| # repository: file://../../charts/osc-common | ||
| - name: ollama | ||
| version: 1.54.0-osc-r1 | ||
| repository: oci://docker-registry.osc.edu/kubernetes/charts |
There was a problem hiding this comment.
This should have a comment to PR that shows when we can go back to using upstream instead of our fork.
There was a problem hiding this comment.
For the PR comment, probably good to mark the upstream PR as draft until we get this deployed to fully validate it does what we want. Some upstream repos don't like multiple PRs that are similar, and seem to prefer just one big PR with a lot of tpl usage.
There was a problem hiding this comment.
I will create a PR and add the URL in the comment once the internal checks pass.
| # @default -- **required** | ||
| project: '' | ||
|
|
||
| ollama: |
There was a problem hiding this comment.
I don't see networkPolicy in the upstream chart.
| # This value must be set to IMAGE-PULL-PASSWORD for CI tests. | ||
| password: | ||
| # @ignored | ||
| networkPolicy: |
There was a problem hiding this comment.
I think an update to osc-common is needed to allow an additional namespaceSelector. This way we can limit traffic to OnDemand namespaces.
bca5a85 to
37ba79e
Compare