Skip to content

Commit b6149e9

Browse files
committed
Review Ollama on GKE Learning Path
1 parent d75e81f commit b6149e9

File tree

3 files changed

+20
-29
lines changed

3 files changed

+20
-29
lines changed

content/learning-paths/servers-and-cloud-computing/multiarch_ollama_on_gke/0-spin_up_gke_cluster.md

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -61,31 +61,25 @@ Wait until the cluster shows a green checkmark next to the `ollama-on-multiarch`
6161

6262
Ensure you have `kubectl` and `gcloud` installed.
6363

64-
You can verify by running each command, for example, enter `gcloud`, and run:
64+
You can verify each command by printing the version.
65+
66+
Verify `gcloud` by running:
6567

6668
```bash
67-
gcloud
68-
```
69-
This should return:
70-
```output
71-
ERROR: (gcloud) Command name argument expected.
72-
...
69+
gcloud -v
7370
```
74-
Then enter `kubectl` and run it, which should return:
7571

76-
```output
77-
kubectl controls the Kubernetes cluster manager.
72+
If `gcloud` is installed the version information is printed.
7873

79-
Find more information at: https://kubernetes.io/docs/reference/kubectl/
80-
...
81-
```
82-
Otherwise, it might return a message like this:
74+
Verify `kubectl` by running:
8375

84-
```output
85-
command not found
76+
```bash
77+
kubectl version -o json --client
8678
```
8779

88-
If you see this, follow the prerequisite instructions on the first page to install the missing utilities.
80+
If `kubectl` is installed the version information is printed.
81+
82+
If you don't see the version information printed refer to the [gcloud](/install-guides/gcloud) and [kubectl](/install-guides/kubectl/) install guides.
8983

9084
Now you can set up your newly-created K8s cluster credentials using the gcloud utility.
9185

@@ -103,7 +97,8 @@ If you get the message:
10397
```output
10498
CRITICAL: ACTION REQUIRED: gke-gcloud-auth-plugin, which is needed for continued use of kubectl, was not found or is not executable. Install gke-gcloud-auth-plugin for use with kubectl by following https://cloud.google.com/kubernetes-engine/docs/how-to/cluster-access-for-kubectl#install_plugin
10599
```
106-
This command will resolve it:
100+
101+
You can resolve the issue by running:
107102

108103
```bash
109104
gcloud components install gke-gcloud-auth-plugin

content/learning-paths/servers-and-cloud-computing/multiarch_ollama_on_gke/3-perf-tests.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ With your hybrid cluster running Ollama, you can now explore the advantages of r
1111

1212
You may wish to access Ollama without regard to architecture.
1313

14-
To send a request to either based on availability, run:
14+
To send a request to either architecture, based on availability, run:
1515

1616
```bash
1717
./model_util.sh multiarch hello
@@ -41,7 +41,7 @@ With both architectures responding, you can now load an LLM to compare performan
4141
The llama3.2 model is used in this demonstration. [Ollama supports multiple different models](https://ollama-operator.ayaka.io/pages/en/guide/supported-models); you can modify the `model_util.sh` script to test others.
4242
{{% /notice %}}
4343

44-
Ollama hosts and runs models, but first you need to load model before performing inference.
44+
Ollama hosts and runs models, but you need to load a model before performing inference.
4545

4646
To do this, run:
4747

@@ -101,7 +101,7 @@ In this example, the output shows more than a 15% performance increase of arm64
101101

102102
## Evaluating Price and Performance
103103

104-
This Learning Path compared GKE amd64-based c4 against arm64-based c4a instances, both similarly specified for vCPU and memory. Typically, arm64 instances provide better cost efficiency. Check your cloud provider's pricing to confirm potential cost-performance advantages for your workloads.
104+
This Learning Path compared GKE amd64-based c4 against arm64-based c4a instances, both similarly specified for vCPU and memory. Typically, arm64 instances provide better cost efficiency. Check your cloud provider's pricing to confirm potential price performance advantages for your workloads.
105105

106106
## Summary
107107

@@ -113,5 +113,5 @@ In this Learning Path, you learned how to:
113113

114114
You can use these insights to evaluate Arm's potential advantages for your workloads.
115115

116-
Make sure to shutdown the test cluster and delete all resources after use.
116+
Make sure to shutdown the test cluster and delete all resources.
117117

content/learning-paths/servers-and-cloud-computing/multiarch_ollama_on_gke/_index.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
---
2-
title: Migrate an amd64 cluster to a hybrid arm64 and amd64 cluster using a multi-arch container image on GKE using Ollama
3-
4-
draft: true
5-
cascade:
6-
draft: true
2+
title: Add Arm nodes to your GKE cluster using a multi-architecture Ollama container image
73

84
minutes_to_complete: 30
95

10-
who_is_this_for: This Learning Path is for developers interested in migrating a homogeneous (amd64 K8s) cluster to a hybrid (arm64 and amd64) cluster using a multi-architecture container image on GKE. This Learning Path demonstrates the migration using Ollama.
6+
who_is_this_for: This Learning Path is for developers interested in migrating a homogeneous (amd64 K8s) cluster to a hybrid (arm64 and amd64) cluster on Google Kubernetes Engine (GKE) using a multi-architecture container image. This Learning Path demonstrates the migration using Ollama.
117

128

139
learning_objectives:
@@ -17,7 +13,7 @@ learning_objectives:
1713

1814
prerequisites:
1915
- A [Google Cloud account](https://console.cloud.google.com/).
20-
- A local machine with [Google Cloud CLI](/install-guides/gcloud) and [kubectl](/install-guides/kubectl/) installed.
16+
- A local machine with [Google Cloud CLI](/install-guides/gcloud/) and [kubectl](/install-guides/kubectl/) installed.
2117
- The [GKE Cloud Plugin](https://cloud.google.com/kubernetes-engine/docs/how-to/cluster-access-for-kubectl#gcloud) installed.
2218

2319

0 commit comments

Comments
 (0)