Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 1 out of 4 pages
Exam (elaborations)

CKA Commands.

Document preview thumbnail
Preview 1 out of 4 pages

Exam of 4 pages for the course A level Biology at A level Biology (CKA Commands.)

Content preview

CKA Commands
kubectl describe pod nginx - correct answer-get more information about the nginx pod

kubectl get pods --namespace=kube-system - correct answer-get a list of pods in the
kube-system namespace

kubectl run nginx --image=nginx - correct answer-use the nginx image to create the nginx
pod

kubectl delete pod webapp - correct answer-delete the webapp pod

kubectl edit redis - correct answer-edit the redis pod

kubectl get replicasets - correct answer-get replica sets in default namespace

kubectl get replicasets --namespace=kube-system - correct answer-get the number of
desired replica sets in the system namespace

kubectl apply -f /root/test.yaml - correct answer-create a replicaset with the /root/test.yaml
file

kubectl explain replicaset | grep VERSION - correct answer-get the proper version for a
replicaset

kubectl run redis --namespace=finance --image=redis - correct answer-create the redis pod
using the redis image in the finance namespace

kubectl get pods --all-namespaces - correct answer-get all pods in all namespaces

db-service.dev.svc.cluster.local - correct answer-what is the dns name of db-service in the
dev cluster?

kubectl -n dev get svc - correct answer-using the short flag, get JUST the names of services
running in dev

kubectl describe services kubernetes - correct answer-get the type of service that
kubernetes is

kubectl run nginx --image=nginx --dry-run=client -o yaml - correct answer-don't create an
nginx image called nginx, but instead output to a yaml file.

kubectl create deployment --image=nginx nginx - correct answer-create an nginx deployment
with the nginx image

Document information

Uploaded on
June 10, 2024
Number of pages
4
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers
£6.51

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Ace360PRO
4.7
(107)
Sold
260
Followers
2
Items
10570
Last sold
1 week ago


Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions