Skip to content

Ollama Setup

  1. Deploy
shell
oc apply -f ollama.yaml
  1. Expose the service
shell
oc expose svc ollama
  1. Expose the host
shell
export OLLAMA_HOST=$(echo "http://$(oc get route ollama -o jsonpath='{.spec.host}')")
  1. Pull the embedded model
shell
ollama pull nomic-embed-text:latest