1 개요[ | ]
- k8s 학습자료
- CKA 학습자료
# | Q | 비고 |
---|---|---|
Create a node that has a SSD and label it as such. | disktype ssd | |
Create a pod that is only scheduled on SSD nodes. | disktype ssd | |
Create 2 pod definitions: the second pod should be scheduled to run anywhere the first pod is running - 2nd pod runs alongside the first pod. | affinity | |
Create a deployment running nginx version 1.12.2 that will run in 2 pods
|
kubectl scale
| |
Create a service that uses a scratch disk.
|
||
Create a pod that has a liveness check | liveness | |
Create a service that manually requires endpoint creation - and create that too | service endpoint | |
Create a daemon set
|
rolling update DaemonSet | |
Create a static pod | static pod | |
Create a busybox container without a manifest. Then edit the manifest. | kubectl create pod | |
Create a pod that uses secrets
|
secretName | |
Create a job that runs every 3 minutes and prints out the current time. | create CronJob | |
Create a job that runs 20 times, 5 containers at a time, and prints "Hello parallel world" | parallelism | |
Create a service that uses an external load balancer and points to a 3 pod cluster running nginx. | external load balancer | |
Create a horizontal autoscaling group that starts with 2 pods and scales when CPU usage is over 50%. | cpu-percent | |
Create a custom resource definition
|
||
Create a networking policy such that only pods with the label access=granted can talk to it.
|
networking policy | |
Create a service that references an externalname.
|
type: ExternalName | |
Create a pod that runs all processes as user 1000. | user 1000 | |
Create a namespace
|
||
Write an ingress rule that redirects calls to /foo to one service and to /bar to another | ingress path | |
Write a service that exposes nginx on a nodeport
|
External IP | |
Deploy nginx with 3 replicas and then expose a port
|
kubectl port-forward | |
Make an API call using CURL and proper certs | curl API | |
Upgrade a cluster with kubeadm | upgrade cluster | |
Get logs for a pod | kubectl logs pod | |
Deploy a pod with the wrong image name (like --image=nginy) and find the error message. | Troubleshoot Applications | |
Get logs for kubectl | Troubleshoot Clusters | |
Get logs for the scheduler | Troubleshoot Clusters | |
Restart kubelet | systemctl restart kubelet |
2 같이 보기[ | ]
3 참고[ | ]
편집자 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.