100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

CKAD Exam Questions & Answers 2024/2025

Rating
-
Sold
-
Pages
7
Grade
A+
Uploaded on
26-08-2024
Written in
2024/2025

CKAD Exam Questions & Answers 2024/2025 kubectl api-resources -o name - ANSWERScommand will list the object types currently available on the cluster kubectl describe $object_type $object_name - ANSWERSget information about an object's spec and status kubectl get pods - ANSWERSGets pods currently running (in the default namespace) kubectl get nodes - ANSWERSgets all nodes currently running in cluster kubectl get node $node_name - ANSWERSGets name, status, version, etc. about node that is specified kubectl get node $node_name -o yaml - ANSWERSGets very detailed information about the node that is specified in yaml information defining the object and it's spec Pods - ANSWERSThe basic building blocks of any application running in kubernetes Pod - ANSWERSConsists of one or more containers and a set of resources shared by those containers. All containers managed by a Kubernetes cluster are part of a POD kubecutl create -f - ANSWERScreate a pod from the yaml definition file kubectl apply -f - ANSWERSEdit a pod by updating the yaml definition and reapplying it kubectl edit pod my-pod - ANSWERSEdit a pod

Show more Read less
Institution
CKAD
Course
CKAD









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
CKAD
Course
CKAD

Document information

Uploaded on
August 26, 2024
Number of pages
7
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

CKAD Exam Questions & Answers
2024/2025

kubectl api-resources -o name - ANSWERScommand will list the object types currently available on the
cluster



kubectl describe $object_type $object_name - ANSWERSget information about an object's spec and
status



kubectl get pods - ANSWERSGets pods currently running (in the default namespace)



kubectl get nodes - ANSWERSgets all nodes currently running in cluster



kubectl get node $node_name - ANSWERSGets name, status, version, etc. about node that is specified



kubectl get node $node_name -o yaml - ANSWERSGets very detailed information about the node that is
specified in yaml information defining the object and it's spec



Pods - ANSWERSThe basic building blocks of any application running in kubernetes



Pod - ANSWERSConsists of one or more containers and a set of resources shared by those containers. All
containers managed by a Kubernetes cluster are part of a POD



kubecutl create -f mypod.yml - ANSWERScreate a pod from the yaml definition file



kubectl apply -f my-pod.yml - ANSWERSEdit a pod by updating the yaml definition and reapplying it



kubectl edit pod my-pod - ANSWERSEdit a pod

, kubectl delete pod my-pod - ANSWERSDelete a pd



kubectl get namespaces - ANSWERSYou can get a list of the namespaces in the cluster



kubectl create ns namespace_name - ANSWERScommand to create a namespace



namespaces - ANSWERSvirtual cluster that makes it easier to manage environments with man users
across multiple teams or projects



command: ['echo'] - ANSWERSUnder the spec for your container you can specify a command this way.



args: [" array", "of", "arguments"] - ANSWERSThe command option in specs also takes an array of
arguments (as strings).



- containerPort: 80 - ANSWERSYour container may want to network with other containers. This will
require you to specify a port for the container (port 80 in this example).



config maps - ANSWERSa k8s object that stores confguration data in a key-value format. This config data
can then be used to configure software running in a container, by referencing the configMap in the pod
spec.



kubectl logs pod_name - ANSWERSDumps pod logs to STDOUT



kubectl exec my-pod -- ls / - ANSWERSExecutes a command inside a pod, in this case "ls /"



resource request - ANSWERSthe amount of resources necessary to run a container



resource limit - ANSWERSA max value for the resource usage of a container



service accounts - ANSWERSallow containers running in pods to access the K8s API. Some apps may need
to interact with the cluser itself. This provides a way to let

Get to know the seller

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.
Bensuda Oxford University
View profile
Follow You need to be logged in order to follow users or courses
Sold
835
Member since
3 year
Number of followers
445
Documents
20956
Last sold
4 days ago
ECONOMICS,NURSING,BIOLOGY AND ALL REVISION MATERIALS

DEDICATED TO PROVIDE YOU WITH THE BEST LEARNING MATERIALS THAT WILL IMPROVE YOUR GRADES ,WELCOME TO ALIZGRADES AND LETS DO IT TOGETHER!!! GOODLUCK!!!!!!!

3.7

156 reviews

5
72
4
24
3
25
2
11
1
24

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

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

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right 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 aced it. It really can be that simple.”

Alisha Student

Frequently asked questions