Skip to content

Commit fa2d2b8

Browse files
committed
Replace 'nginx_util.sh get' with 'nginx_util.sh curl' throughout tutorial
1 parent 48fddcd commit fa2d2b8

4 files changed

Lines changed: 15 additions & 15 deletions

File tree

content/learning-paths/servers-and-cloud-computing/multiarch_nginx_on_aks/1-deploy-intel.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,13 +125,13 @@ With the pods in a `Ready` state and the service showing a valid `External IP`,
125125
4. Run the following to make an HTTP request to the Intel nginx service:
126126

127127
```bash
128-
./nginx_util.sh get intel
128+
./nginx_util.sh curl intel
129129
```
130130

131131
You get back the HTTP response, as well as information about which pod served it:
132132

133133
```output
134-
Using service endpoint 20.3.71.69 for get on intel service
134+
Using service endpoint 20.3.71.69 for curl on intel service
135135
Response:
136136
{
137137
"message": "nginx response",

content/learning-paths/servers-and-cloud-computing/multiarch_nginx_on_aks/1.5-create-test-utility.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Now that you have your Intel nginx deployment running, you'll create a utility s
1414

1515
The `nginx_util.sh` script provides three main functions:
1616

17-
- **`get intel|arm|multiarch`** - Test nginx services and show which pod served the request
17+
- **`curl intel|arm|multiarch`** - Test nginx services and show which pod served the request
1818
- **`put btop`** - Install btop monitoring tool on all pods
1919
- **`login intel|arm`** - Interactive bash access to architecture-specific pods
2020

content/learning-paths/servers-and-cloud-computing/multiarch_nginx_on_aks/3-deploy-arm.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,13 +95,13 @@ When the pods show `Running` and the service shows a valid `External IP`, you're
9595
2. Run the following to make an HTTP request to the ARM nginx service using the script you created earlier:
9696

9797
```bash
98-
./nginx_util.sh get arm
98+
./nginx_util.sh curl arm
9999
```
100100

101101
You get back the HTTP response, as well as information about which pod served it:
102102

103103
```output
104-
Using service endpoint 48.192.64.197 for get on arm service
104+
Using service endpoint 48.192.64.197 for curl on arm service
105105
Response:
106106
{
107107
"message": "nginx response",
@@ -119,8 +119,8 @@ If you see output similar to above, you have successfully added ARM nodes to you
119119
Now you can test both architectures and compare their responses:
120120

121121
```bash
122-
./nginx_util.sh get intel
123-
./nginx_util.sh get arm
122+
./nginx_util.sh curl intel
123+
./nginx_util.sh curl arm
124124
```
125125

126126
Each command will route to its respective architecture-specific service, allowing you to compare performance and verify that your multi-architecture cluster is working correctly.

content/learning-paths/servers-and-cloud-computing/multiarch_nginx_on_aks/4-deploy-multiarch.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ nginx-multiarch-svc 10.244.0.21:80,10.244.1.1:80 47s
6060
4. Run the following to make HTTP requests to the multiarch nginx service:
6161

6262
```bash
63-
./nginx_util.sh get multiarch
63+
./nginx_util.sh curl multiarch
6464
```
6565

6666
You get back the HTTP response from one of the available pods:
6767

6868
```output
69-
Using service endpoint 20.99.208.140 for get on multiarch service
69+
Using service endpoint 20.99.208.140 for curl on multiarch service
7070
Response:
7171
{
7272
"message": "nginx response",
@@ -80,9 +80,9 @@ Served by: nginx-arm-deployment-5bf8df95db-wznff
8080
5. Run the command multiple times to see load balancing across architectures:
8181

8282
```bash
83-
./nginx_util.sh get multiarch
84-
./nginx_util.sh get multiarch
85-
./nginx_util.sh get multiarch
83+
./nginx_util.sh curl multiarch
84+
./nginx_util.sh curl multiarch
85+
./nginx_util.sh curl multiarch
8686
```
8787

8888
The responses will show requests being served by different architecture deployments (intel or arm), demonstrating that the multiarch service distributes load across all available pods.
@@ -91,8 +91,8 @@ The responses will show requests being served by different architecture deployme
9191

9292
Now you can compare the behavior:
9393

94-
- **Architecture-specific**: `./nginx_util.sh get intel` always routes to Intel pods
95-
- **Architecture-specific**: `./nginx_util.sh get arm` always routes to ARM pods
96-
- **Multiarch**: `./nginx_util.sh get multiarch` routes to any available pod
94+
- **Architecture-specific**: `./nginx_util.sh curl intel` always routes to Intel pods
95+
- **Architecture-specific**: `./nginx_util.sh curl arm` always routes to ARM pods
96+
- **Multiarch**: `./nginx_util.sh curl multiarch` routes to any available pod
9797

9898
This multiarch service provides high availability and load distribution across your entire multi-architecture cluster.

0 commit comments

Comments
 (0)