쿠버네티스

    18. CKA udemy 강의 정리 - Section 13 [Troubleshooting]

    0. Application Failure 서비스명, selector 설정, target port, 환경설정 등등의 이유로 발생 가능하다. # 유저가 서비스 이용을 할 수 있는지 확인 curl http://web-service-ip:port # 서비스의 엔드포인트가 할당이 되었는지 확인 kubectl get ep # 환경설정에 문제가 없는지 확인 kubectl describe po kubectl logs -f (--previous) 1. Control Plain Failure # controlplane pod 상태 검사 kubectl get po -n kube-system # controlplane pod 로그 확인 k get po -n kube-system | grep control k logs -f -..

    17. CKA udemy 강의 정리 - Section 10 [Desing and install a Kubernetes Cluster]

    클러스터 설계에 대해서 논하기 전에 아래의 항목에 대해서 구분 해보자 Purpose Education Development & Testing Hosting Production Applications Cloud or OnPrem? Use Kubeadm for on-prem GKE for GCP Kops for AWS Azure Kubernetes Service(AKS) for Azure Workloads High Performance – SSD Backed Storage Multiple Concurrent connections – Network based storage Persistent shared volumes for shared access across multiple PODs Label nodes ..

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