configmap
-
aws eks kubectl 연동 과정.Computer Science/k8s 2023. 3. 2. 23:01
우선 awscli가 필요하다. brew install awscli https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/ Install and Set Up kubectl on macOS Before you begin You must use a kubectl version that is within one minor version difference of your cluster. For example, a v1.26 client can communicate with v1.25, v1.26, and v1.27 control planes. Using the latest compatible version of kubectl helps avoid kubern..
-
k8s Object 기본 간략 정리Computer Science/k8s 2023. 2. 12. 20:19
pod - container 들을 모아서 실행하는 곳. 언제든 종료될 수 있으며 재실행 될 때 마다 ip가 변동된다. label을 달 수 있다. (key value) 한 pod에서 같은 port의 container 실행 불가. memory 가 초과 된다면 종료 되지만 Cpu는 초과되도 해당 Limit로 낮추려고 한다. service - 종료되지 않고 고정 ip로써 떠 있어서 pod들을 연결해준다. ClusterIp 방식 - 내부 ip로만 접근할 수 있으며 관리하는 pod들에게 연결해준다. NodePort 방식 - 해당 NodePort로 들어와도 Service로 간다음 Service에서 관리하는 pod들로 연결해준다. 따라서 a node에 접근해도 a node의 들어가고자 하는 pod로 연결되지 않을 수 ..