CKA Exam
Last modified by Jeff McDonald on 2021/11/26 15:30
Linux Foundation
The user ID is LFtraining and the password is Penguin2014
Topic | Practice Exam | Solution | Documentation |
---|---|---|---|
PODs | PODs | PODs Solution | Cheat Sheet |
ReplicaSets | ReplicaSets | ||
PODs
kubectl get pods
kubectl run nginx --image=nginx
kubectl describe pod newpods-bcvm4
kubectl get pods -o wide
kubectl get pods webapp
kubectl describe pod webapp
kubectl delete pod webapp
kubectl run redis --image=redis123 --dry-run=client -o yaml > pod.yaml
kubectl apply -f pod.yaml
kubectl edit pod redis
ReplicaSets
kubectl get replicasets.apps
kubectl describe replicasets.apps new-replica-set
kubectl scale --replicas=5 rs/new-replica-set
Services
kubectl get services
Practice exams: