본문 바로가기

전체 글

(150)
Kubernetes 정리 228: Practice Test - Ingress - 1 Q1. We have deployed Ingress Controller, resources and applications. Explore the setup. Q2. Which namespace is the Ingress Controller deployed in? Q3. What is the name of the Ingress Controller Deployment? Q4. Which namespace are the applications deployed in? Q5. How many applications are deployed in the app-space namespace? Q6. Which namespace is the Ingress Resource deployed in? Q7. What is th..
Kubernetes 정리 227: Article: Ingress 이전 강의에서 이미 Ingress에 대해 논의했듯이. 여기 업데이트가 있습니다. 이 기사에서는 Ingress의 이전 버전과 현재 버전에서 어떤 변경이 이루어졌는지 알아봅니다. apiVersion, serviceName 및 servicePort 등과 유사합니다. Find more information and examples in the below reference link:- https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#-em-ingress-em- References:- https://kubernetes.io/docs/concepts/services-networking/ingress https://kubernetes.io/..
Kubernetes 정리 226: Ingress 제품을 판매하는 온라인 매장이 있는 회사를 위해 Kubernetes에 애플리케이션을 배포하고 있습니다. 애플리케이션은 예를 들어 myonlinestore.com에서 사용할 수 있습니다. 애플리케이션을 Docker 이미지로 빌드하고 Kubernetes 클러스터에 Deployment의 Pod로 배포합니다. 애플리케이션에는 데이터베이스가 필요하므로 MySQL 데이터베이스를 파드로 배포하고 mysql-service이라는 클러스터 IP 유형의 서비스를 생성하여 애플리케이션에 액세스할 수 있도록 합니다. 이제 애플리케이션이 작동합니다. 외부 세계에서 애플리케이션에 액세스할 수 있도록 하려면 이번에는 노드 포트 유형인 또 다른 서비스를 만들고 클러스터의 노드에 있는 high 포트에서 애플리케이션을 사용할 수 있도록 ..
Kubernetes 정리 224: Practice Test - Explore DNS Q1. Identify the DNS solution implemented in this cluster. Q2. How many pods of the DNS server are deployed? Q3. What is the name of the service created for accessing CoreDNS? Q4. What is the IP of the CoreDNS server that should be configured on PODs to resolve services? Q5. Where is the configuration file located for configuring the CoreDNS service? Q6. How is the Corefile passed into the CoreD..
Kubernetes 정리 217: IP Address Management - Weave Q1. How many Nodes are part of this cluster? Including master and worker nodes Q2. What is the Networking Solution used by this cluster? Q3. How many weave agents/peers are deployed in this cluster? Q4. On which nodes are the weave peers present? Q5. Identify the name of the bridge network/interface created by weave on each node. Q6. What is the POD IP address range configured by weave? Q7. What..
Kubernetes 정리 216: IP Address Management - Weave 이 섹션에서는 노드의 가상 브리지 네트워크에 IP 서브넷을 할당하는 방법과 파드에 IP를 할당하는 방법에 대해 설명합니다. CNI가 표준을 정의하므로 CNI에게 물어봅시다. CNI는 컨테이너에 IP를 할당하는 것은 네트워크 솔루션 제공업체인 CNI 플러그인의 책임이라고 말합니다. 컨테이너 네트워크 네임스페이스에 IP를 할당하는 섹션이 있습니다. 그러나 이러한 IP를 어떻게 관리해야 할까요? 이제, 쿠버네티스는 우리가 어떻게 하는지 신경쓰지 않습니다. 중복된 IP를 할당하지 않고 제대로 관리하는 방식으로 진행하면 됩니다. IP 목록을 파일에 저장하고 이 파일을 제대로 관리하는 데 필요한 코드가 스크립트에 있는지 확인하는 것이 쉬운 방법입니다. 이 파일은 각 호스트에 배치되고 해당 노드의 부품 IP를 관리합..
Kubernetes 정리 214: Practice Test - Deploy Network Solution Q1. In this practice test we will install weave-net POD networking solution to the cluster. Let us first inspect the setup. We have deployed an application called app in the default namespace. What is the state of the pod? Q2. Inspect why the POD is not running. Q3. Deploy weave-net networking solution to the cluster. NOTE: - We already have provided a weave manifest file under the /root/weave d..
Kubernetes 정리 212: Practice Test - Explore CNI Q1. Inspect the kubelet service and identify the container runtime endpoint value is set for Kubernetes. Q2. What is the path configured with all binaries of CNI supported plugins? Q3. Identify which of the below plugins is not available in the list of available CNI plugins on this host? Q4. What is the CNI plugin configured to be used on this kubernetes cluster? Q5. What binary executable file ..
Kubernetes 정리 211: CNI weave 이 강의에서 우리는 CNI, 특히를 기반으로 한 하나의 솔루션에 대해 논의할 것입니다. Weaveworks는 CNI 플러그인과 함께 작동합니다. 이전 연습 테스트에서는 구성 방식을 확인했습니다. 이제 우리는 그것이 어떻게 작동하는지에 대해 더 자세히 볼 것입니다. 파드 네트워킹 개념 섹션에서 우리가 중단한 부분부터 시작하겠습니다. 우리는 자체적으로 CNI 스크립트를 구축하고 CNI를 통해 kubelet에 통합했습니다. 이전 강의에서는 자체 custom 스크립트 대신 플러그인을 통합하는 방법을 보았습니다. 이제 Weave 솔루션이 어떻게 작동하는지 알아보겠습니다. 하나 이상의 솔루션을 잘 이해하는 것이 중요하기 때문입니다. 그러면 이 문제를 다른 솔루션과도 연결할 수 있습니다. 따라서 수동으로 설정한 네트..
Kubernetes 정리 210: CNI in kubernetes 1. Configuring CNI 쿠버네티스가 사용할 CNI 플러그인을 어디에 지정해야 할까? 컨테이너를 생성한 후 해당 컴포넌트가 적절한 네트워크 플러그인을 호출해야 하므로 컨테이너 생성을 담당하는 Kubernetes 내의 컴포넌트에서 CNI 플러그인을 호출해야 합니다. CNI 플러그인은 클러스터의 각 노드에 있는 kubelet.service에서 구성됩니다. 파일을 보면 네트워크 플러그인이라는 옵션이 CNI로 설정된 것을 볼 수 있습니다. 2. View Kublet Options 실행중인 kubelet.service를 보아도 동일한 정보를 볼 수 있습니다. 네트워크 플러그인이 CNI로 설정되어 있고 CNI bin 디렉토리 및 CNI conflict 디렉토리와 같이 CNI와 관련된 몇 가지 다른 옵션을 ..
Kubernetes 정리 206: Important Note about CNI and CKA Exam Kubernetes 클러스터에 네트워크 추가 기능을 배포하는 데 대한 중요한 팁입니다. 다음 실습에서는 Network Addons와 함께 작업할 예정입니다. 여기에는 클러스터에 네트워크 플러그인을 설치하는 작업이 포함됩니다. 위브넷을 예로 들 수 있지만 여기에 설명된 플러그인을 사용할 수 있습니다: https://kubernetes.io/docs/concepts/cluster-administration/addons/ https://kubernetes.io/docs/concepts/cluster-administration/networking/#how-to-implement-the-kubernetes-networking-model Cluster Networking Networking is a central ..
Kubernetes 정리 205: Cluster Networking 1. IP & FQDN 각 노드에는 네트워크에 연결된 인터페이스가 하나 이상 있어야 합니다. 각 인터페이스에는 주소가 있어야 합니다. 호스트에는 고유한 호스트 이름 집합과 고유한 MAC 주소가 있어야 합니다. 특히 기존 VM에서 replication하여 VM을 생성한 경우에는 이 점에 유의해야 합니다. 2. Ports 몇 개의 포트도 열려야 합니다. 이들은 controlplane의 다양한 컴포넌트에 의해 사용됩니다. 마스터는 API 서버에 대해 6443의 연결을 허용해야 합니다. 워커 노드, Kube 제어 도구, 외부 사용자 및 기타 모든 제어부 config요소는 이 포트를 통해 Kube API 서버에 액세스합니다. 마스터 및 워커 노드의 큐블릿은 포트 10250에서 수신합니다. 네, 이에 대해 논의하지..