Skip to content

Commit 2baa894

Browse files
authored
Merge pull request aws-samples#467 from rddefauw/task/103-kubernetes-concepts-docs
Section 103 doc edits
2 parents 79cc7ad + 5f42422 commit 2baa894

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

01-path-basics/103-kubernetes-concepts/readme.adoc

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ Watch the status of the Pod:
311311

312312
`OOMKilled` shows that the container was terminated because it ran out of memory.
313313

314-
In `pod-resources2.yaml`, change the value of `spec.containers[].resources.limits.memory` to `300Mi`. Delete the existing Pod, and create a new one:
314+
In `pod-resources2.yaml`, confirm that the value of `spec.containers[].resources.limits.memory` is `300Mi`. Delete the existing Pod, and create a new one:
315315

316316
$ kubectl delete -f pod-resources1.yaml
317317
pod "wildfly-pod" deleted
@@ -1540,8 +1540,14 @@ It shows only three replicas are available.
15401540
+
15411541
. More details can be found:
15421542
+
1543-
$ kubectl get deployment/nginx-deployment -o jsonpath={.status.conditions[].message}
1544-
Deployment does not have minimum availability.
1543+
$ kubectl describe deployment nginx-deployment
1544+
...
1545+
Conditions:
1546+
Type Status Reason
1547+
---- ------ ------
1548+
Progressing True NewReplicaSetAvailable
1549+
Available False MinimumReplicasUnavailable
1550+
ReplicaFailure True FailedCreate
15451551
+
15461552
The current reason is displayed in the output.
15471553

0 commit comments

Comments
 (0)