해당 내용은 Udemy의 Certified Kubernetes Administrator (CKA) with Practice Tests 강의를 공부한 내용입니다. 내용을 그대로 번역하기보다는, 제가 이해하기 쉬운 대로 수정한 부분들이 있습니다.
⚠️ 영어 독해가 많이 부족합니다. 틀린 내용이 있으면 알려주시면 감사하겠습니다.
Q1. In this lab, you will get hands-on practice with creating Kubernetes objects imperatively.
Q2. Deploy a pod named nginx-pod
using the nginx:alpine
image.
Q3. Deploy a redis
pod using the redis:alpine
image with the labels set to tier=db
.
Q4. Create a service redis-service
to expose the redis
application within the cluster on port 6379
.
Q5. Create a deployment named webapp
using the image kodekloud/webapp-color
with 3
replicas.
Q6. Create a new pod called custom-nginx
using the nginx
image and expose it on container port 8080
.
Q7. Create a new namespace called dev-ns
. Use imperative commands.
Q8. Create a new deployment called redis-deploy
in the dev-ns
namespace with the redis
image. It should have 2
replicas.
Q9. Create a pod called httpd
using the image httpd:alpine
in the default namespace. Next, create a service of type ClusterIP
by the same name (httpd)
. The target port for the service should be 80
.
'MLOps > Doker & Kubernetes' 카테고리의 다른 글
Udemy CKA 강의 정리 47: Kubectl Apply Command (0) | 2023.01.05 |
---|---|
Udemy CKA 강의 정리 46: Solution - Imperative Commands (Optional) (0) | 2023.01.05 |
Udemy CKA 강의 정리 44: Certification Tips - Imperative Commands with kubectl (0) | 2023.01.05 |
Udemy CKA 강의 정리 43: Imperative vs Declarative (0) | 2023.01.05 |
Udemy CKA 강의 정리 42: Solution - Namespaces (Optional) (0) | 2023.01.05 |
댓글