kubernetes(6)
-
[Kubernetes] ๊ธฐ๋ง๊ณ ์ฌ ์ ๋ฆฌ 2
Chap19. Controllers - ์ฟ ๋ฒ๋คํฐ์ค๋ ์ฌ๋ฌ SW๋ค์ ์งํฉ์ฒด * Controllers - take care of routine tasks to ensure the desired state (์ํ์ผ) of the cluster matches the observed state (ํ์ํ) - Each controller is responsible for a particular resource in the Kubernetes - ์ฌ๋์ด ๊ฐ์ ํ๋ ์ผ์ด ์ค์ด๋ฆ - ์ง์ ์์ผ๋ก ์ ๋ ฅํ์ง ์์๋, ์๋ง์ ์ฟ ๋ฒ๋คํฐ์ค๋ฅผ ๊ตฌ์ฑํ๋ SW๋ค์ด ๊ฐ๋ฐ์๊ฐ ์๊ตฌํ๋ ํ๊ฒฝ(desired state)์ observed state๋ก ์ต๋ํ ์ ๊ณตํด์ผ ํจ / ๊ฐ๋ฐ์๋ ์ฟ ๋ฒ๋คํฐ์ค์๊ฒ ๋ถํํจ * Label – key-value p..
2024.06.25 -
[Kubernetes] ๊ธฐ๋ง๊ณ ์ฌ ์ ๋ฆฌ 1
Chap12. Private Multi-Node Docker / Docker in docker - Docker in docker – DinD - official but not recommended (๊ถ์ฅ X) - ๋์ปค ์์์ ๋ค์ ๋์ปค๋ฅผ ๋์ธ ์ ์๋๋ก ํ๋ค + ๊ฒฝ๊ณ ๊ฐ ์ ๋ง ๋ง๋ค. Chap13. Docker Swarm 1- ์์ฒ ์๋ง๋์ ์ปดํจํฐ์์ SW ๋๋ฆฌ๊ธฐ ์ํ ๊ถ๊ทน์ ์ธ ๋ฐฉ๋ฒ, ๋์ปค ์ค์ (like ์ฟ ๋ฒ๋คํฐ์ค) - SWARM – ๋ผ, ๊ตฌ์ฑ ์์๋ ์ฌ๋ฌ ๊ฐ์ง๋ง, ํ๋์ ๋ ผ๋ฆฌ์ ์ธ ๊ตฐ (๋์ปค ์ค์์ ์ปจํ ์ด๋๋ค์ ๊ตฐ) - ์ผ์ผ์ด ๋ค ํ์ดํ? ๋ถ๊ฐ๋ฅ / ์๋ํ๋ ๋์ปค ์ค์ ๋ฑ์ฅ -> ๋ ํธํ๊ฒ ์๋ง์ ์ด๋ฏธ์ง์ ์ปจํ ์ด๋ ์ปจํธ๋กค ๊ฐ๋ฅ- ์ํ์ผ์ ์ปค๋งจ๋๋ผ์ธ์ ํตํด ์ผ๊พผ๋ค์๊ฒ ์ซ ๋ฟ๋ฆผ – ๊ฐ๋ฐ์ ๊ด์ - ๋์ปค..
2024.06.25 -
[Kubernetes] Desired State and Microservices Architecture
https://www.youtube.com/watch?v=PH-2FfFD2PU # ๊ฐ์ ์ฌ์๋ชฉ๋ก https://youtube.com/playlist?list=PL7bmigfV0EqQw4WnD0wF-SRBYttCFeBbF&feature=shared Lightboards - Intro to Kubernetes www.youtube.comhttps://youtube.com/playlist?list=PL7bmigfV0EqQt5_pBPQ8tsZjI1w68-e0H&feature=shared Lightboards - Intro to Containers www.youtube.com # ๋ง์ดํฌ๋ก์๋น์ค ์ํคํ ์ฒhttps://learn.microsoft.com/ko-kr/azure/architecture/gu..
2024.06.09 -
[Kubernetes] ReplicaSet Controller
2024. 05. 27 Monday https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/ ReplicaSetA ReplicaSet's purpose is to maintain a stable set of replica Pods running at any given time. Usually, you define a Deployment and let that Deployment manage ReplicaSets automatically.kubernetes.io # simple-pod.yamlapiVersion: v1kind: Podmetadata: name: my-little-podspec: containers: - name..
2024.05.27 -
[Kubernetes] Nodes and Pods with Minikube
2024. 05. 22https://kubernetes.io/docs/concepts/architecture/nodes/ NodesKubernetes runs your workload by placing containers into Pods to run on Nodes. A node may be a virtual or physical machine, depending on the cluster. Each node is managed by the control plane and contains the services necessary to run Pods. Typically you hkubernetes.io # minikube ์ค์น by brew ๐ปhttps://minikube.sigs.k8s.io/..
2024.05.23 -
[Computer Network] Chap11. Cloud Computing
11. Cloud Computing - ํ์ํ ๋ ํ์ํ ๋งํผ ์ฌ์ฉํ๋ ๊ฒ -> ์ด๋ ์ค์กดํ๋์ง๋ ์ ๋ชจ๋ฅด๊ฒ ๋๋ฐ? ๊ตฌ๋ฆ ์์ ์ปดํจํฐ, ์๊ฐ๊ฐ์ ๊ฐ๋ - ํด๋ผ์ฐ๋ ์ปดํจํ ๊ฐ๋ ์ ํ์ ๋ฐฐ๊ฒฝ - ๊นจ์ ์ผํํ๋ ์๊ฐ์๋ CPU๊ฐ ๋ง์ด ๋์๊ฐ -> ๋๋จธ์ง ์๊ฐ(์ถ๊ทผ, ์ทจ์นจ ์๊ฐ)์๋ CPU๊ฐ ๋ ผ๋ค - ๋จ์ด์ง CPU ์ฌ์ฉ๋ฅ ์ ๋์ด์ -> ๋ณธ์ธ์ด ๊ฐ์ง CPU ๋์คํฌ ๋คํธ์ํฌ๋ฅผ ๋ฒค์ฒ ํ์ฌ์๊ฒ ์๋น์ค ์ ๊ณต - ๋ฑ ์ด ๋งํผ๋ง ๋์ ๋ด๊ณ ์ถ๋ค -> 2010๋ ๋, AWS ํ์ - ๋ฒค์ฒ ํ์ฌ ์ ์ฅ - ์๋ฒ ๊ฐ๋ฐ์ + ๋ฐ์ดํฐ ์ผํฐ ๊ตฌ์ถํ ์ฌ๋ + ์ด์ฉํ ์ฌ๋ X (์ธ๊ฐ์ ์์ฐ) - ์ฐ๋ฆฌ ํ์ฌ ๋ด๋ถ์ ์ปดํจํฐ๊ฐ ์์ ํ์ X -> ์คํ๋ ค ์๋ฒ ํ๋์จ์ด๋ฅผ ๊ฐ๊ณ ์๋ ๊ฒ์ด ๊ณจ์นซ๊ฑฐ๋ฆฌ -> ๋งค๋ 2% ์ด์, ์๋ฒ๋ ๋ฌด์กฐ๊ฑด ์ฃฝ์ ์ ์๋ค -..
2023.12.19