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
  • 최신 데이터 인프라 이해하기
  • 인턴강연
  • 최신 데이터 인프라 이해하기 #7
  • Python
  • cka
  • SQL

최근 댓글

최근 글

티스토리

Designed By.hELLO
wonpick

devvon

[kodekloud] 02 Scheduling : Manual Scheduling 풀이
STUDY/Data Engineering

[kodekloud] 02 Scheduling : Manual Scheduling 풀이

2023. 1. 21. 20:57
Q1. A pod definition file nginx.yaml is given. Create a pod using the file.
k create -f nginx.yaml

Q2. What is the status of the created POD?

Q3. Why is the POD in a pending state?

위 내용을 봤을 때 스케쥴이 없어서 그러하다.. 

Q4. Manually schedule the pod on node01
controlplane ~ ➜ ls
nginx.yaml sample.yaml

controlplane ~ ➜ vi nginx.yaml

controlplane ~ ✖ k get pods
NAME READY STATUS RESTARTS AGE
nginx 0/1 Pending 0 26m

controlplane ~ ➜ k replace --force -f nginx.yaml
pod "nginx" deleted pod/nginx replaced

controlplane ~ ➜ k get pods
NAME READY STATUS RESTARTS AGE
nginx 0/1 ContainerCreating 0 7s

Q5. Now schedule the same pod on the controlplane node.

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

[kodekloud] 02 Scheduling : Taints and Tolerations 풀이  (0) 2023.01.23
[kodekloud] 02 Scheduling : Labels and Selectors 풀이  (0) 2023.01.22
[kodekloud] 01 Core Concepts : Imperative-Commands 풀이  (0) 2023.01.21
[kodekloud] 01 Core Concepts : Service 풀이  (0) 2023.01.21
[kodekloud] 01 Core Concepts : Namespaces 풀이  (0) 2023.01.21
    wonpick
    wonpick

    티스토리툴바