쿠버네티스

    [kodekloud] 04 Rolling Updates and Rollbacks 풀이

    Q1. We have deployed a simple web application. Inspect the PODs and the Services Q2. What is the current color of the web application? Q3. Run the script named curl-test.sh to send multiple requests to test the web application. Take a note of the output. Q4. Inspect the deployment and identify the number of PODs deployed by it k describe deployment k get deploy Q5. What container image is used t..

    [kodekloud] 03 Managing Application Logs 풀이

    Q1. We have deployed a POD hosting an application. Inspect it. Wait for it to start. Q2. A user - USER5 - has expressed concerns accessing the application. Identify the cause of the issue. Q3. We have deployed a new POD - webapp-2 - hosting an application. Inspect it. Wait for it to start. Q4. A user is reporting issues while trying to purchase an item. Identify the user and the cause of the iss..

    [kodekloud] 03 Monitor Cluster Components 풀이

    Q1. We have deployed a few PODs running workloads. Inspect them. Wait for the pods to be ready before proceeding to the next question. Q2.Let us deploy metrics-server to monitor the PODs and Nodes. Pull the git repository for the deployment files. Q3. Deploy the metrics-server by creating all the components downloaded. Run the kubectl create -f . command from within the downloaded repository. 이하..

    15. CKA udemy 강의 정리 - Section 8 [Storage]

    0. Volume 컨테이너(파드)가 뜨면 컨테이너 만의 공간이 생성되고 이 공간은 임시적으로 사용된다. 만약 파드가 죽는다면 해당 공간은 사라진다. 웹 애플리케이션과 같은 Stateless한 애플리케이션인 경우에는 문제가 없지만, 애플리케이션이 특정 데이터를 저장해야 하는 경우나 파드에서 같이 실행되는 컨테이너 간에 임시 파일을 공유해야 하는 경우에 문제가 발생하게 된다. 컨테이너 애플리케이션이 특정 데이터를 저장해야 하는 경우에는 애플리케이션이 죽으면 쿠버네티스가 컨테이너를 다시 띄우겠지만 컨테이너 공간이 사라지기 때문에 해당 데이터는 당연히 삭제된다. 파드에서 같이 실행되는 컨테이너 간에 임시 파일을 공유해야 하는 경우, 파일을 저장하는 컨테이너가 죽어버리면 위와 똑같은 이유로 임시파일에 저장된 데이..