Skip to content

Ollama service used in the classroom backend#410

Draft
ZQyou wants to merge 7 commits into
mainfrom
zyou_ollama_for_classroom
Draft

Ollama service used in the classroom backend#410
ZQyou wants to merge 7 commits into
mainfrom
zyou_ollama_for_classroom

Conversation

@ZQyou
Copy link
Copy Markdown
Contributor

@ZQyou 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
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should have a comment to PR that shows when we can go back to using upstream instead of our fork.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will create a PR and add the URL in the comment once the internal checks pass.

Comment thread charts-private/ollama/values.yaml Outdated
Comment thread charts-private/ollama/values.yaml Outdated
Comment thread charts-private/ollama/values.yaml Outdated
Comment thread charts-private/ollama/values.yaml Outdated
Comment thread charts-private/ollama/values.yaml
Comment thread charts-private/ollama/values.yaml Outdated
Comment thread charts-private/ollama/values.yaml
# @default -- **required**
project: ''

ollama:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see networkPolicy in the upstream chart.

# This value must be set to IMAGE-PULL-PASSWORD for CI tests.
password:
# @ignored
networkPolicy:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think an update to osc-common is needed to allow an additional namespaceSelector. This way we can limit traffic to OnDemand namespaces.

Comment thread charts-private/ollama/values.yaml Outdated
@ZQyou ZQyou force-pushed the zyou_ollama_for_classroom branch from bca5a85 to 37ba79e Compare April 10, 2026 15:32
@ZQyou ZQyou marked this pull request as draft May 23, 2026 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants