Preface |
|
ix | |
|
1 Exam Details and Resources |
|
|
1 | (12) |
|
|
1 | (1) |
|
|
2 | (3) |
|
|
2 | (1) |
|
|
3 | (1) |
|
|
3 | (1) |
|
|
3 | (1) |
|
|
3 | (1) |
|
|
4 | (1) |
|
|
4 | (1) |
|
Exam Environment and Tips |
|
|
5 | (1) |
|
|
6 | (1) |
|
|
7 | (1) |
|
Command Line Tips and Tricks |
|
|
7 | (3) |
|
Setting a Context and Namespace |
|
|
8 | (1) |
|
Using an Alias for kubectl |
|
|
8 | (1) |
|
Internalize Resource Short Names |
|
|
8 | (1) |
|
Deleting Kubernetes Objects |
|
|
9 | (1) |
|
Finding Object Information |
|
|
9 | (1) |
|
Discovering Command Options |
|
|
9 | (1) |
|
Practicing and Practice Exams |
|
|
10 | (1) |
|
|
11 | (2) |
|
|
13 | (22) |
|
|
13 | (2) |
|
Using kubectl to Interact with the Kubernetes Cluster |
|
|
15 | (1) |
|
|
16 | (3) |
|
|
16 | (1) |
|
|
17 | (1) |
|
|
17 | (1) |
|
|
17 | (1) |
|
|
18 | (1) |
|
|
19 | (1) |
|
|
19 | (3) |
|
|
19 | (1) |
|
Example: Containerizing a Java-Based Application |
|
|
20 | (2) |
|
|
22 | (2) |
|
|
24 | (1) |
|
|
25 | (1) |
|
|
25 | (1) |
|
|
26 | (1) |
|
Executing a Command in Container |
|
|
27 | (1) |
|
|
27 | (1) |
|
|
28 | (2) |
|
Declaring Environment Variables |
|
|
28 | (1) |
|
Defining a Command with Arguments |
|
|
29 | (1) |
|
|
30 | (1) |
|
|
31 | (1) |
|
Creating and Using a Namespace |
|
|
31 | (1) |
|
|
32 | (1) |
|
|
32 | (1) |
|
|
32 | (1) |
|
|
33 | (2) |
|
|
35 | (20) |
|
Defining and Consuming Configuration Data |
|
|
36 | (7) |
|
|
37 | (1) |
|
Consuming a ConfigMap as Environment Variables |
|
|
38 | (1) |
|
Mounting a ConfigMap as Volume |
|
|
39 | (1) |
|
|
40 | (2) |
|
Consuming a Secret as Environment Variables |
|
|
42 | (1) |
|
Mounting a Secret as Volume |
|
|
43 | (1) |
|
Understanding Security Contexts |
|
|
43 | (3) |
|
Understanding Resource Boundaries |
|
|
46 | (3) |
|
|
46 | (2) |
|
Exploring ResourceQuota Enforcement |
|
|
48 | (1) |
|
Understanding Service Accounts |
|
|
49 | (2) |
|
Creating and Assigning Custom Service Accounts |
|
|
51 | (1) |
|
|
51 | (1) |
|
|
52 | (1) |
|
|
53 | (2) |
|
|
55 | (14) |
|
Defining Multiple Containers in a Pod |
|
|
56 | (1) |
|
|
56 | (2) |
|
|
58 | (2) |
|
|
60 | (3) |
|
|
63 | (2) |
|
|
65 | (1) |
|
|
65 | (1) |
|
|
66 | (3) |
|
|
69 | (18) |
|
Understanding Health Probing |
|
|
69 | (3) |
|
|
72 | (1) |
|
|
73 | (1) |
|
|
74 | (1) |
|
|
75 | (8) |
|
|
76 | (3) |
|
Opening an Interactive Shell |
|
|
79 | (1) |
|
Using an Ephemeral Container |
|
|
80 | (2) |
|
|
82 | (1) |
|
|
83 | (1) |
|
|
83 | (1) |
|
|
84 | (1) |
|
|
84 | (3) |
|
|
87 | (24) |
|
|
88 | (1) |
|
|
88 | (1) |
|
|
89 | (1) |
|
Modifying Labels for a Live Object |
|
|
90 | (1) |
|
|
90 | (2) |
|
Label Selection from the Command Line |
|
|
91 | (1) |
|
Label Selection in a Manifest |
|
|
92 | (1) |
|
Understanding Annotations |
|
|
92 | (1) |
|
|
93 | (1) |
|
|
93 | (1) |
|
Modifying Annotations for a Live Object |
|
|
94 | (1) |
|
Understanding Deployments |
|
|
94 | (1) |
|
|
95 | (1) |
|
|
96 | (1) |
|
Rendering Deployment Details |
|
|
96 | (1) |
|
Rolling Out a New Revision |
|
|
97 | (2) |
|
Rolling Back to a Previous Revision |
|
|
99 | (1) |
|
Manually Scaling a Deployment |
|
|
99 | (1) |
|
|
100 | (1) |
|
Horizontal Pod Autoscaler |
|
|
101 | (1) |
|
|
102 | (1) |
|
Creating and Inspecting Jobs |
|
|
103 | (1) |
|
|
104 | (1) |
|
|
105 | (1) |
|
Restarting the Container on Failure |
|
|
105 | (1) |
|
Starting a New Pod on Failure |
|
|
105 | (1) |
|
|
105 | (1) |
|
Creating and Inspecting Jobs |
|
|
106 | (1) |
|
Configuring Retained Job History |
|
|
107 | (1) |
|
|
108 | (1) |
|
|
108 | (1) |
|
|
109 | (2) |
|
|
111 | (18) |
|
|
111 | (1) |
|
|
112 | (1) |
|
|
113 | (1) |
|
|
114 | (1) |
|
Rendering Service Details |
|
|
114 | (1) |
|
|
114 | (1) |
|
Accessing a Service with Type ClusterIP |
|
|
115 | (3) |
|
Accessing a Service with Type NodePort |
|
|
118 | (1) |
|
|
119 | (1) |
|
Understanding Network Policies |
|
|
120 | (1) |
|
Creating Network Policies |
|
|
120 | (2) |
|
|
122 | (1) |
|
Rendering Network Policy Details |
|
|
123 | (1) |
|
Isolating All Pods in a Namespace |
|
|
123 | (1) |
|
Restricting Access to Ports |
|
|
124 | (1) |
|
|
125 | (1) |
|
|
125 | (1) |
|
|
126 | (3) |
|
|
129 | (10) |
|
|
130 | (1) |
|
|
130 | (1) |
|
Creating and Accessing Volumes |
|
|
131 | (1) |
|
Understanding Persistent Volumes |
|
|
132 | (1) |
|
Static Versus Dynamic Provisioning |
|
|
132 | (1) |
|
Creating PersistentVolumes |
|
|
133 | (1) |
|
Creating PersistentVolumeClaims |
|
|
134 | (1) |
|
Mounting PersistentVolumeClaims in a Pod |
|
|
135 | (1) |
|
|
136 | (1) |
|
|
137 | (1) |
|
|
137 | (2) |
Appendix Answers to Review Questions |
|
139 | (28) |
Index |
|
167 | |