Exercise 4.8: Domain Review

  1. YAML 파일 다운로드

    wget https://raw.githubusercontent.com/youngwjung/lf-training/main/LFD459/v1.24.1/solutions/s_04/design-review1.yaml
  2. 리소스 생성

    kubectl apply -f design-review1.yaml
  3. Pod에 할당된 리소스 확인 (CPU, Memory)

  4. CPU 사용 제한(Limit) 값을 요청(Request) 값의 두배로 설정

  5. Memory 사용 제한(Limit) 값을 높여서 Pod가 Running 상태가 되도록 설정

  6. YAML 파일 다운로드

    wget https://raw.githubusercontent.com/youngwjung/lf-training/main/LFD459/v1.24.1/solutions/s_04/design-review2.yaml
  7. 리소스 생성

    kubectl apply -f design-review2.yaml
  8. tux 라는 Label 값을 가지고 있는 Pod 삭제

  9. Create a new cronjob which runs busybox and the sleep 30 command. Have the cronjob run every three minutes. View the job status to check your work. Change the settings so the pod runs 10 minutes from the current time, every week. For example, if the current time was 2:14PM, I would configure the job to run at 2:24PM, every Monday.

  10. 리소스 삭제

    {
        kubectl delete -f design-review1.yaml
        kubectl delete -f design-review2.yaml
    }

Last updated