Skip to content

Commit 5f42422

Browse files
committed
Section 103 doc edits
A few cleanup items in the docs: - Clarify full path to templates directory - the pod-resource2.yaml already has the correct memory setting, so no need to change it - method for confirming why deployment did not work after quota change needs updating
1 parent e4bbd31 commit 5f42422

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

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

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ This chapter uses a cluster with 3 master nodes and 5 worker nodes as described
1919
All configuration files for this chapter are in the `01-path-basics/103-kubernetes-concepts/templates` directory.
2020
Please be sure to `cd` into that directory before running the commands below.
2121

22-
$ cd 01-path-basics/103-kubernetes-concepts/templates
22+
$ cd ~/environment/aws-workshop-for-kubernetes/01-path-basics/103-kubernetes-concepts/templates
2323

2424
== Display Nodes
2525

@@ -339,7 +339,7 @@ Watch the status of the Pod:
339339

340340
`OOMKilled` shows that the container was terminated because it ran out of memory.
341341

342-
In `pod-resources2.yaml`, change the value of `spec.containers[].resources.limits.memory` to `300Mi`. Delete the existing Pod, and create a new one:
342+
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:
343343

344344
$ kubectl delete -f pod-resources1.yaml
345345
pod "wildfly-pod" deleted
@@ -1568,8 +1568,14 @@ It shows only three replicas are available.
15681568
+
15691569
. More details can be found:
15701570
+
1571-
$ kubectl get deployment/nginx-deployment -o jsonpath={.status.conditions[].message}
1572-
Deployment does not have minimum availability.
1571+
$ kubectl describe deployment nginx-deployment
1572+
...
1573+
Conditions:
1574+
Type Status Reason
1575+
---- ------ ------
1576+
Progressing True NewReplicaSetAvailable
1577+
Available False MinimumReplicasUnavailable
1578+
ReplicaFailure True FailedCreate
15731579
+
15741580
The current reason is displayed in the output.
15751581

0 commit comments

Comments
 (0)