wonpick
devvon
wonpick
방문자🌱
오늘
어제
  • 분류 전체보기 (146)
    • 개발 (42)
      • Spark (7)
      • Hadoop (3)
      • ML&DL (4)
      • Paper Review (0)
      • ETC (24)
    • STUDY (77)
      • Data Engineering (54)
      • Cloud (4)
      • Algorithm (5)
      • SQL (10)
      • Toy Project (1)
    • Android (2)
    • Backend (14)
    • 인턴 (0)
    • 공모전 (0)

블로그 메뉴

  • 홈
  • 태그
  • 방명록

인기 글

태그

  • kodekloud
  • 데이터엔지니어링
  • SQL
  • 인턴강연
  • Python
  • 자연어처리
  • 최신 데이터 인프라 이해하기
  • 쿠버네티스
  • cka
  • 최신 데이터 인프라 이해하기 #7

최근 댓글

최근 글

티스토리

Designed By.hELLO
wonpick

devvon

[kodekloud] 01 Core Concepts : Namespaces 풀이
STUDY/Data Engineering

[kodekloud] 01 Core Concepts : Namespaces 풀이

2023. 1. 21. 18:27

Q1. How many namespace exist?

controlplane ~ ➜  k get namespaces

 

Q2. How many pods exist in the research namespace?

k get pods --namespace=research

 

Q3. Create a POD in the finance namespace. Use the spec given below.

  • Name: redis

  • Image Name: redis

k run redis --image=redis -n finance
 

Q4. Which namespace has the blue pod in it?

k get pods --all-namespaces | grep blue

Q5. Access the Blue web application using the link above your terminal!!

#특정 namespace pods상세 보기
k describe pods -n audacity

Q6. What DNS name should the Blue application use to access the database db-service in its own namespace - marketing?

 k get pods -n marketing
 k get svc -n marketing

Q7. What DNS name should the Blue application use to access the database db-service in the dev namespace?

dev 네임스페이스에도 db-service가 존재한다.

>> Since the blue application and the db-service are in different namespaces.

In this case, we need to use the service name along with the namespace to access the database.

The FQDN (fully Qualified Domain Name) for the db-service in this example would be

db-service.dev.svc.cluster.local.
Note: You can also access it using the service name and namespace like this: db-service.dev

'STUDY > Data Engineering' 카테고리의 다른 글

[kodekloud] 01 Core Concepts : Imperative-Commands 풀이  (0) 2023.01.21
[kodekloud] 01 Core Concepts : Service 풀이  (0) 2023.01.21
14. CKA udemy 강의 정리 - Section 7 [Networking]  (0) 2023.01.21
13. CKA udemy 강의 정리 - Section 7 [Security]  (0) 2023.01.18
12. CKA udemy 강의 정리 - Section 6 [Cluster Maintenance]  (0) 2023.01.14
    wonpick
    wonpick

    티스토리툴바