kubectl apply -f cpu.yaml
Hardware acceleration in Kubernetes requires NVIDIA's k8s-device-plugin
which is deployed in Kubernetes in form of daemonset. Follow the link for more details.
Once configured, create a GPU enabled Ollama deployment.
kubectl apply -f gpu.yaml
kubectl -n ollama port-forward service/ollama 11434:80
orca-mini:3b
ollama run orca-mini:3b