STUDY

    16. CKA udemy 강의 정리 - Section 9 [Networking]

    0. 네트워크 기초 스위치(Switch) 두 PC를 연결하기 위해서는 각 호스트 타입에 따라 물리/가상 인터페이스가 필요하다. 인터페이스 확인을 위해 ip link 명령을 사용한다. 위의 예시에서는 eth0이 인터페이스가 된다. 그렇게 네트워크 구성이 완료되었고, 통신을 하기 위해서는 ip 주소가 필요하므로 ip addr 명령으로 자신의 ip주소를 스위치에게 전달하여 얻어 낼 수 있다. 스위치를 통해 동일한 네트워크 상에서만 통신할 수 있으며, 다른 네트워크로 패킷을 주고 받을 수 없다. 라우터(Router) 두 네트워크를 연결하기 위한 접점이 라우트이다. 서로 다른 네트워크에 있는 컴퓨터가 서로 통신하려고 할때 사용하는 것이 바로 라우트이다. 라우터는 두개의 분리된 네트워크를 연결해주어 각 네트워크의 ..

    [kodekloud] 04 Commands and Arguments 풀이 (살짝😵‍💫)

    Q1. How many PODs exist on the system? Q2. What is the command used to run the pod ubuntu-sleeper? Q3. Create a pod with the ubuntu image to run a container to sleep for 5000 seconds. Modify the file ubuntu-sleeper-2.yaml. Q4. Create a pod using the file named ubuntu-sleeper-3.yaml. There is something wrong with it. Try to fix it! Pod Name: ubuntu-sleeper-3 Command: sleep 1200 vi ubuntu-sleeper-..

    [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..