Skip to content

Commit 2b660c3

Browse files
committed
Fix #15 - Update curriculum to v1.22
1 parent c41d220 commit 2b660c3

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

README.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
![Check Kubernetes documentation links](https://github.com/leandrocostam/kubernetes-certified-administrator-prep-guide/workflows/Check%20Kubernetes%20documentation%20links/badge.svg)
22

3-
# Certified Kubernetes Administrator (CKA) - V1.21
3+
# Certified Kubernetes Administrator (CKA) - V1.22
44

55
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).
66

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/).
88

99
Please, feel free to place a pull request whether something is not up-to-date, should be added or contains wrong information/reference.
1010

@@ -60,9 +60,6 @@ kubectl cluster-info
6060
# Dump current cluster state to stdout
6161
kubectl cluster-info dump
6262

63-
# Check health of cluster components
64-
kubectl get componentstatuses
65-
6663
# List the nodes
6764
kubectl get nodes
6865

@@ -103,7 +100,7 @@ kubectl get svc -o wide --all-namespaces
103100
spec:
104101
containers:
105102
- name: nginx
106-
image: nginx:1.15.4
103+
image: nginx:1.21.6
107104
ports:
108105
- containerPort: 80
109106
```
@@ -265,17 +262,17 @@ kubectl get pods -o wide
265262
kubectl get pods --all-namespaces
266263
```
267264

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":
269266

270267
```shell
271268
# 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
273270
274271
# 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
276273
277274
# 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
279276
```
280277

281278
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

Comments
 (0)