Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct the kubernetes terminology #3843

Merged
merged 3 commits into from
May 7, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
25 changes: 13 additions & 12 deletions examples/kubernetes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,23 @@

## Steps

1. Create the Ollama namespace, daemon set, and service
1. Create the Ollama namespace, deployment, and service

```bash
kubectl apply -f cpu.yaml
```

## (Optional) Hardware Acceleration

Hardware acceleration in Kubernetes requires NVIDIA's [`k8s-device-plugin`](https://github.com/NVIDIA/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.

```bash
kubectl apply -f gpu.yaml
```
## Test
cloudmelon marked this conversation as resolved.
Show resolved Hide resolved

1. Port forward the Ollama service to connect and use it locally

```bash
Expand All @@ -23,14 +34,4 @@

```bash
ollama run orca-mini:3b
```

## (Optional) Hardware Acceleration

Hardware acceleration in Kubernetes requires NVIDIA's [`k8s-device-plugin`](https://github.com/NVIDIA/k8s-device-plugin). Follow the link for more details.

Once configured, create a GPU enabled Ollama deployment.

```bash
kubectl apply -f gpu.yaml
```
```