@@ -166,7 +166,7 @@ If you haven't already set up a cluster locally, run `minikube start` to create
166
166
## Create an Ingress
167
167
168
168
The following manifest defines an Ingress that sends traffic to your Service via
169
- ` hello-world.info ` .
169
+ ` hello-world.example ` .
170
170
171
171
1 . Create ` example-ingress.yaml ` from the following file:
172
172
@@ -197,8 +197,8 @@ The following manifest defines an Ingress that sends traffic to your Service via
197
197
You should see an IPv4 address in the ` ADDRESS ` column; for example:
198
198
199
199
``` none
200
- NAME CLASS HOSTS ADDRESS PORTS AGE
201
- example-ingress <none> hello-world.info 172.17.0.15 80 38s
200
+ NAME CLASS HOSTS ADDRESS PORTS AGE
201
+ example-ingress nginx hello-world.example 172.17.0.15 80 38s
202
202
```
203
203
204
204
@@ -214,7 +214,7 @@ The following manifest defines an Ingress that sends traffic to your Service via
214
214
{{% tab name="Linux" %}}
215
215
216
216
``` shell
217
- curl --resolve " hello-world.info :80:$( minikube ip ) " -i http://hello-world.info
217
+ curl --resolve " hello-world.example :80:$( minikube ip ) " -i http://hello-world.example
218
218
```
219
219
{{% /tab %}}
220
220
{{% tab name="MacOS" %}}
@@ -236,7 +236,7 @@ The following manifest defines an Ingress that sends traffic to your Service via
236
236
237
237
From within a new terminal, invoke the following command:
238
238
``` shell
239
- curl --resolve " hello-world.info :80:127.0.0.1" -i http://hello-world.info
239
+ curl --resolve " hello-world.example :80:127.0.0.1" -i http://hello-world.example
240
240
```
241
241
242
242
{{% /tab %}}
@@ -250,7 +250,7 @@ The following manifest defines an Ingress that sends traffic to your Service via
250
250
Hostname: web-55b8c6998d-8k564
251
251
```
252
252
253
- 1 . Optionally, you can also visit ` hello-world.info ` from your browser.
253
+ 1 . Optionally, you can also visit ` hello-world.example ` from your browser.
254
254
255
255
Add a line to the bottom of the ` /etc/hosts ` file on
256
256
your computer (you will need administrator access):
@@ -264,7 +264,7 @@ The following manifest defines an Ingress that sends traffic to your Service via
264
264
<br >
265
265
266
266
``` none
267
- 172.17.0.15 hello-world.info
267
+ 172.17.0.15 hello-world.example
268
268
```
269
269
270
270
{{< note >}}
@@ -273,15 +273,15 @@ The following manifest defines an Ingress that sends traffic to your Service via
273
273
{{% /tab %}}
274
274
{{% tab name="MacOS" %}}
275
275
``` none
276
- 127.0.0.1 hello-world.info
276
+ 127.0.0.1 hello-world.example
277
277
```
278
278
{{% /tab %}}
279
279
{{< /tabs >}}
280
280
281
281
<br >
282
282
283
283
After you make this change, your web browser sends requests for
284
- ` hello-world.info ` URLs to Minikube.
284
+ ` hello-world.example ` URLs to Minikube.
285
285
286
286
## Create a second Deployment
287
287
@@ -356,7 +356,7 @@ The following manifest defines an Ingress that sends traffic to your Service via
356
356
{{% tab name="Linux" %}}
357
357
358
358
``` shell
359
- curl --resolve " hello-world.info :80:$( minikube ip ) " -i http://hello-world.info
359
+ curl --resolve " hello-world.example :80:$( minikube ip ) " -i http://hello-world.example
360
360
```
361
361
{{% /tab %}}
362
362
{{% tab name="MacOS" %}}
@@ -378,7 +378,7 @@ The following manifest defines an Ingress that sends traffic to your Service via
378
378
379
379
From within a new terminal, invoke the following command:
380
380
``` shell
381
- curl --resolve " hello-world.info :80:127.0.0.1" -i http://hello-world.info
381
+ curl --resolve " hello-world.example :80:127.0.0.1" -i http://hello-world.example
382
382
```
383
383
384
384
{{% /tab %}}
@@ -399,7 +399,7 @@ The following manifest defines an Ingress that sends traffic to your Service via
399
399
{{% tab name="Linux" %}}
400
400
401
401
``` shell
402
- curl --resolve " hello-world.info :80:$( minikube ip ) " -i http://hello-world.info /v2
402
+ curl --resolve " hello-world.example :80:$( minikube ip ) " -i http://hello-world.example /v2
403
403
```
404
404
{{% /tab %}}
405
405
{{% tab name="MacOS" %}}
@@ -421,7 +421,7 @@ The following manifest defines an Ingress that sends traffic to your Service via
421
421
422
422
From within a new terminal, invoke the following command:
423
423
``` shell
424
- curl --resolve " hello-world.info :80:127.0.0.1" -i http://hello-world.info /v2
424
+ curl --resolve " hello-world.example :80:127.0.0.1" -i http://hello-world.example /v2
425
425
```
426
426
427
427
{{% /tab %}}
@@ -436,8 +436,8 @@ The following manifest defines an Ingress that sends traffic to your Service via
436
436
```
437
437
438
438
{{< note >}}
439
- If you did the optional step to update ` /etc/hosts ` , you can also visit ` hello-world.info ` and
440
- ` hello-world.info /v2 ` from your browser.
439
+ If you did the optional step to update ` /etc/hosts ` , you can also visit ` hello-world.example ` and
440
+ ` hello-world.example /v2 ` from your browser.
441
441
{{< /note >}}
442
442
443
443
## {{% heading "whatsnext" %}}
0 commit comments