Skip to content

Commit b3d0bfc

Browse files
committed
Various small upgrade fixes
1 parent d83c704 commit b3d0bfc

9 files changed

Lines changed: 24 additions & 25 deletions

File tree

website/docs/fundamentals/exposing/ingress/adding-ingress.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,16 +105,16 @@ You can also inspect the ALB and its target groups in the console by clicking th
105105
Get the URL from the Ingress resource:
106106

107107
```bash
108-
$ ADDRESS=$(kubectl get ingress -n ui ui -o jsonpath="{.status.loadBalancer.ingress[*].hostname}{'\n'}")
108+
$ ADDRESS=$(kubectl get ingress -n ui ui -o jsonpath="{.status.loadBalancer.ingress[*].hostname}")
109109
$ echo "http://${ADDRESS}"
110-
http://k8s-ui-uinlb-a9797f0f61.elb.us-west-2.amazonaws.com
110+
http://k8s-ui-ui-a9797f0f61.elb.us-west-2.amazonaws.com
111111
```
112112

113113
To wait until the load balancer has finished provisioning you can run this command:
114114

115115
```bash
116116
$ curl --head -X GET --retry 30 --retry-all-errors --retry-delay 15 --connect-timeout 30 --max-time 60 \
117-
-k $(kubectl get ingress -n ui ui -o jsonpath="{.status.loadBalancer.ingress[*].hostname}{'\n'}")
117+
-k $(kubectl get ingress -n ui ui -o jsonpath="{.status.loadBalancer.ingress[*].hostname}")
118118
```
119119

120120
And access it in your web browser. You will see the UI from the web store displayed and will be able to navigate around the site as a user.

website/docs/fundamentals/exposing/ingress/multiple-ingress.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,21 +61,21 @@ To wait until the load balancer has finished provisioning you can run this comma
6161

6262
```bash timeout=180
6363
$ curl --head -X GET --retry 30 --retry-all-errors --retry-delay 15 --connect-timeout 30 --max-time 60 \
64-
-k $(kubectl get ingress -n catalog catalog-multi -o jsonpath="{.status.loadBalancer.ingress[*].hostname}{'\n'}")
64+
-k $(kubectl get ingress -n catalog catalog-multi -o jsonpath="{.status.loadBalancer.ingress[*].hostname}")
6565
```
6666

6767
Try accessing the new Ingress URL in the browser as before to check the web UI still works:
6868

6969
```bash
70-
$ ADDRESS=$(kubectl get ingress -n catalog catalog-multi -o jsonpath="{.status.loadBalancer.ingress[*].hostname}{'\n'}")
70+
$ ADDRESS=$(kubectl get ingress -n catalog catalog-multi -o jsonpath="{.status.loadBalancer.ingress[*].hostname}")
7171
$ echo "http://${ADDRESS}"
7272
http://k8s-retailappgroup-2c24c1c4bc-17962260.us-west-2.elb.amazonaws.com
7373
```
7474

7575
Now try accessing a path we directed to the catalog service:
7676

7777
```bash
78-
$ ADDRESS=$(kubectl get ingress -n catalog catalog-multi -o jsonpath="{.status.loadBalancer.ingress[*].hostname}{'\n'}")
78+
$ ADDRESS=$(kubectl get ingress -n catalog catalog-multi -o jsonpath="{.status.loadBalancer.ingress[*].hostname}")
7979
$ curl $ADDRESS/catalog/products | jq .
8080
```
8181

website/docs/fundamentals/exposing/loadbalancer/adding-lb.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,14 +122,16 @@ You can also inspect the NLB in the console by clicking this link:
122122
Get the URL from the Service resource:
123123

124124
```bash
125-
$ kubectl get service -n ui ui-nlb -o jsonpath="{.status.loadBalancer.ingress[*].hostname}{'\n'}"
126-
k8s-ui-uinlb-a9797f0f61.elb.us-west-2.amazonaws.com
125+
$ ADDRESS=$(kubectl get service -n ui ui-nlb -o jsonpath="{.status.loadBalancer.ingress[*].hostname}}")
126+
$ echo "http://${ADDRESS}"
127+
http://k8s-ui-uinlb-a9797f0f61.elb.us-west-2.amazonaws.com
127128
```
128129

129130
To wait until the load balancer has finished provisioning you can run this command:
130131

131132
```bash
132-
$ wait-for-lb $(kubectl get service -n ui ui-nlb -o jsonpath="{.status.loadBalancer.ingress[*].hostname}{'\n'}")
133+
$ curl --head -X GET --retry 30 --retry-all-errors --retry-delay 15 --connect-timeout 30 --max-time 60 \
134+
-k $(kubectl get service -n ui ui-nlb -o jsonpath="{.status.loadBalancer.ingress[*].hostname}")
133135
```
134136

135137
Now that our application is exposed to the outside world, lets try to access it by pasting that URL in your web browser. You will see the UI from the web store displayed and will be able to navigate around the site as a user.

website/docs/fundamentals/exposing/loadbalancer/ip-mode.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,5 +143,6 @@ As expected we now have 3 targets, matching the number of replicas in the ui Dep
143143
If you want to wait to make sure the application still functions the same, run the following command. Otherwise you can proceed to the next module.
144144

145145
```bash timeout=240
146-
$ wait-for-lb $(kubectl get service -n ui ui-nlb -o jsonpath="{.status.loadBalancer.ingress[*].hostname}{'\n'}")
146+
$ curl --head -X GET --retry 30 --retry-all-errors --retry-delay 15 --connect-timeout 30 --max-time 60 \
147+
-k $(kubectl get service -n ui ui-nlb -o jsonpath="{.status.loadBalancer.ingress[*].hostname}")
147148
```

website/docs/observability/high-availability/02-pod-failure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ manifests/modules/observability/resiliency/scripts/pod-failure.sh
2222

2323
## Running the Experiment
2424

25-
## Step 1: Check Initial Pod Status
25+
### Step 1: Check Initial Pod Status
2626

2727
First, let's check the initial status of the pods in the `ui` namespace:
2828

website/docs/observability/high-availability/04-node-failure-partial-fis.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ $ kubectl delete pod --grace-period=0 --force -n carts -l app.kubernetes.io/comp
9393
$ kubectl delete pod --grace-period=0 --force -n carts -l app.kubernetes.io/component=dynamodb
9494
$ kubectl delete pod --grace-period=0 --force -n checkout -l app.kubernetes.io/component=service
9595
$ kubectl delete pod --grace-period=0 --force -n checkout -l app.kubernetes.io/component=redis
96-
$ kubectl delete pod --grace-period=0 --force -n assets -l app.kubernetes.io/component=service
9796
$ kubectl delete pod --grace-period=0 --force -n orders -l app.kubernetes.io/component=service
9897
$ kubectl delete pod --grace-period=0 --force -n orders -l app.kubernetes.io/component=mysql
9998
$ kubectl delete pod --grace-period=0 --force -n ui -l app.kubernetes.io/component=service

website/docs/observability/high-availability/05-node-failure-complete-fis.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ $ kubectl delete pod --grace-period=0 --force -n carts -l app.kubernetes.io/comp
6666
$ kubectl delete pod --grace-period=0 --force -n carts -l app.kubernetes.io/component=dynamodb
6767
$ kubectl delete pod --grace-period=0 --force -n checkout -l app.kubernetes.io/component=service
6868
$ kubectl delete pod --grace-period=0 --force -n checkout -l app.kubernetes.io/component=redis
69-
$ kubectl delete pod --grace-period=0 --force -n assets -l app.kubernetes.io/component=service
7069
$ kubectl delete pod --grace-period=0 --force -n orders -l app.kubernetes.io/component=service
7170
$ kubectl delete pod --grace-period=0 --force -n orders -l app.kubernetes.io/component=mysql
7271
$ kubectl delete pod --grace-period=0 --force -n ui -l app.kubernetes.io/component=service

website/docs/observability/high-availability/07-az-failure.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ $ kubectl delete pod --grace-period=0 --force -n carts -l app.kubernetes.io/comp
6868
$ kubectl delete pod --grace-period=0 --force -n carts -l app.kubernetes.io/component=dynamodb
6969
$ kubectl delete pod --grace-period=0 --force -n checkout -l app.kubernetes.io/component=service
7070
$ kubectl delete pod --grace-period=0 --force -n checkout -l app.kubernetes.io/component=redis
71-
$ kubectl delete pod --grace-period=0 --force -n assets -l app.kubernetes.io/component=service
7271
$ kubectl delete pod --grace-period=0 --force -n orders -l app.kubernetes.io/component=service
7372
$ kubectl delete pod --grace-period=0 --force -n orders -l app.kubernetes.io/component=mysql
7473
$ kubectl delete pod --grace-period=0 --force -n ui -l app.kubernetes.io/component=service

website/docs/observability/opensearch/pod-logs.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -59,24 +59,23 @@ Now we can check that our `ui` component is creating logs by directly using `kub
5959

6060
```bash
6161
$ kubectl logs -n ui deployment/ui
62-
Picked up JAVA_TOOL_OPTIONS: -javaagent:/opt/aws-opentelemetry-agent.jar
63-
OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
64-
[otel.javaagent 2023-11-07 02:05:03:383 +0000] [main] INFO io.opentelemetry.javaagent.tooling.VersionLogger - opentelemetry-javaagent - version: 1.24.0-aws
62+
Picked up JAVA_TOOL_OPTIONS:
6563

6664
. ____ _ __ _ _
6765
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
6866
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
6967
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
7068
' |____| .__|_| |_|_| |_\__, | / / / /
7169
=========|_|==============|___/=/_/_/_/
72-
:: Spring Boot :: (v3.0.6)
73-
74-
2023-11-07T02:05:05.512Z INFO 1 --- [ main] c.a.s.u.UiApplication : Starting UiApplication v0.0.1-SNAPSHOT using Java 17.0.7 with PID 1 (/app/app.jar started by appuser in /app)
75-
2023-11-07T02:05:05.524Z INFO 1 --- [ main] c.a.s.u.UiApplication : No active profile set, falling back to 1 default profile: "default"
76-
2023-11-07T02:05:09.906Z WARN 1 --- [ main] o.s.b.a.e.EndpointId : Endpoint ID 'fail-cart' contains invalid characters, please migrate to a valid format.
77-
2023-11-07T02:05:10.060Z INFO 1 --- [ main] o.s.b.a.e.w.EndpointLinksResolver : Exposing 15 endpoint(s) beneath base path '/actuator'
78-
2023-11-07T02:05:10.590Z INFO 1 --- [ main] o.s.b.w.e.n.NettyWebServer : Netty started on port 8080
79-
2023-11-07T02:05:10.616Z INFO 1 --- [ main] c.a.s.u.UiApplication : Started UiApplication in 5.917 seconds (process running for 7.541)
70+
:: Spring Boot :: (v3.4.4)
71+
72+
2025-07-26T10:38:05.763Z INFO 1 --- [ main] c.a.s.u.UiApplication : Starting UiApplication v0.0.1-SNAPSHOT using Java 21.0.7 with PID 1 (/app/app.jar started by appuser in /app)
73+
2025-07-26T10:38:05.820Z INFO 1 --- [ main] c.a.s.u.UiApplication : The following 1 profile is active: "prod"
74+
2025-07-26T10:38:09.105Z INFO 1 --- [ main] i.o.i.s.a.OpenTelemetryAutoConfiguration : OpenTelemetry Spring Boot starter has been disabled
75+
76+
2025-07-26T10:38:10.323Z INFO 1 --- [ main] o.s.b.a.e.w.EndpointLinksResolver : Exposing 4 endpoints beneath base path '/actuator'
77+
2025-07-26T10:38:12.338Z INFO 1 --- [ main] o.s.b.w.e.n.NettyWebServer : Netty started on port 8080 (http)
78+
2025-07-26T10:38:12.365Z INFO 1 --- [ main] c.a.s.u.UiApplication : Started UiApplication in 7.481 seconds (process running for 9.223)
8079
8180
```
8281

0 commit comments

Comments
 (0)