|
1 | 1 |  |
2 | 2 |
|
3 | | -# Certified Kubernetes Administrator (CKA) - V1.21 |
| 3 | +# Certified Kubernetes Administrator (CKA) - V1.22 |
4 | 4 |
|
5 | 5 | The objective of this repository is help you for taking the Certified Kubernetes Administrator (CKA) exam using online resources, especially using resources from [Kubernetes Official Documentation](https://kubernetes.io). |
6 | 6 |
|
7 | | -The references were selected for the [Exam Curriculum 1.21](https://github.com/cncf/curriculum/blob/e443151e921916877ae2aaeb88405ec7e9e8bd25/CKA_Curriculum_v1.21.pdf), and there are exclusive information for API objects and annotations. For more information, please see [CKA Curriculum](https://github.com/cncf/curriculum/). |
| 7 | +The references were selected for the [Exam Curriculum 1.22](https://github.com/cncf/curriculum/blob/2ef709ef733debfcd920056cc7707e4fe3153518/CKA_Curriculum_v1.22.pdf), and there are exclusive information for API objects and annotations. For more information, please see [CKA Curriculum](https://github.com/cncf/curriculum/). |
8 | 8 |
|
9 | 9 | Please, feel free to place a pull request whether something is not up-to-date, should be added or contains wrong information/reference. |
10 | 10 |
|
@@ -60,9 +60,6 @@ kubectl cluster-info |
60 | 60 | # Dump current cluster state to stdout |
61 | 61 | kubectl cluster-info dump |
62 | 62 |
|
63 | | -# Check health of cluster components |
64 | | -kubectl get componentstatuses |
65 | | - |
66 | 63 | # List the nodes |
67 | 64 | kubectl get nodes |
68 | 65 |
|
@@ -103,7 +100,7 @@ kubectl get svc -o wide --all-namespaces |
103 | 100 | spec: |
104 | 101 | containers: |
105 | 102 | - name: nginx |
106 | | - image: nginx:1.15.4 |
| 103 | + image: nginx:1.21.6 |
107 | 104 | ports: |
108 | 105 | - containerPort: 80 |
109 | 106 | ``` |
@@ -265,17 +262,17 @@ kubectl get pods -o wide |
265 | 262 | kubectl get pods --all-namespaces |
266 | 263 | ``` |
267 | 264 |
|
268 | | -Generate a manifest template from imperative spec using the output option "-o yaml" and the parameter "--dry-run": |
| 265 | +Generate a manifest template from imperative spec using the output option "-o yaml" and the parameter "--dry-run=client": |
269 | 266 |
|
270 | 267 | ```shell |
271 | 268 | # create a service |
272 | | -kubectl create service clusterip my-service --tcp=8080 --dry-run -o yaml |
| 269 | +kubectl create service clusterip my-service --tcp=8080 --dry-run=client -o yaml |
273 | 270 |
|
274 | 271 | # create a deployment |
275 | | -kubectl create deployment nginx --image=nginx --dry-run -o yaml |
| 272 | +kubectl create deployment nginx --image=nginx --dry-run=client -o yaml |
276 | 273 |
|
277 | 274 | # create a pod |
278 | | -kubectl run nginx --image=nginx --restart=Never --dry-run -o yaml |
| 275 | +kubectl run nginx --image=nginx --restart=Never --dry-run=client -o yaml |
279 | 276 | ``` |
280 | 277 |
|
281 | 278 | Create resources using kubectl + stdin instead of creating them from manifest files. It helps a lot and saves time. You can use the output of the command above and modify as required: |
|
0 commit comments