ComputerScience/DockerKubernetes(16)
-
[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 -
[Docker] Dockerfile WebSocket Client/Server Build
# Dockerfile WebSocket https://leimao.github.io/blog/Boost-Docker/ Boost C++ Library Docker ContainerPortable and Convenient C++ Libraryleimao.github.io ๐ฉ๐ปDocker desktop์ ํตํด ์์ ๋์์ ํด๋ผ์ด์ธํธ๋ฅผ ์ด์ด๋ ๋๊ณ , (์๋ฒ์ ํด๋ผ์ด์ธํธ๋ฅผ ํ๋์ ์ด๋ฏธ์ง ํ์ผ๋ก ๋น๋ํ ๊ฒฝ์ฐ) ์๋ก ๋ค๋ฅธ ์ด๋ฏธ์ง๋ก ๋ถ๋ฆฌํ์ฌ, ํต์ ์ ์ํฌ ์๋ ์์ต๋๋ค! ๐ณ ์ ์ถํ Docker hub link https://hub.docker.com/repository/docker/sohyeonkimdev/websocket_docker/general Doc..
2024.05.16 -
[Docker] Cpp Boost WebSocket Client/Server
# WebSocket Server/Client with Docker Composehttps://github.com/Chrischuck/websocket-docker-example GitHub - Chrischuck/websocket-docker-example: Example of a real time chat application with React, Express, Postgres, and Docker.Example of a real time chat application with React, Express, Postgres, and Docker. - Chrischuck/websocket-docker-examplegithub.com: Cpp ์น์์ผ ์์ ํ๋ก์ ํธ ๋๋ ค๋ณด๊ธฐ ..
2024.05.09 -
[Docker] ์ค๊ฐ๊ณ ์ฌ ์ ๋ฆฌ(2)
Chap5. Docker Introduction - ๋์ปค๋ ๊ตฌ๊ธ์ด ๋ง๋ SW ์๋๋ค. ‘Solomon Hykes’ ํ์ด์ฝ 2013์์ ๋ฐํ- 2013๋ , ๋์ปค๊ฐ Go ์ธ์ด๋ก ์ง ์๊ฐ, ์ฟ ๋ฒ๋คํฐ์ค ๋ฑ์ฅ (Go) -> ๋ sw๊ฐ ์ถ์๋๋ฉฐ Go ์ธ์ด๊ฐ ์ธ์ ๋ฐ์ - ๋์ปค๋ ๊ฑฐ์ ๋๋ถ๋ถ์ ํ๋ซํผ ์์ ์ฌ๋ผ๊ฐ๋ค + ์คํ์์ค / ํ๋ซํผ์ ๋ ๋ฆฝ์ ์ผ๋ก SW๋ฅผ ๋๋ฆด ์ ์๋ค -> OS์ ๋ฌด๊ดํ๊ฒ ๋์ปค ์์์ ์ดํ๋ฆฌ์ผ์ด์ ์ ์ง๋ฉด ๋๋ค, infrastructure ๊ณผ ๋ฌด๊ดํ๊ฒ ์ง๋ฉด ๋๋ค.- ํ๋ก๊ทธ๋๋ฐ ํ๋ฏ์ด infrastructure๋ฅผ ๊ด๋ฆฌํ ์ ์๋ค, infrastructure as code (IaC)- ์คํํ ํ๋ก๊ทธ๋จ์ ์์ค ์ฝ๋์, ์ด๋ฏธ์ง๋ฅผ ๋ง๋ค๊ธฐ์ํ ๋์ปค ํ์ผ ์ฝ๋, ์ด๋ ๊ฒ ์ฝ๋ ํ์ผ์ด 2๊ฐ ํ์ํ๋ค. * Immuta..
2024.05.01 -
[Docker] ์ค๊ฐ๊ณ ์ฌ ์ ๋ฆฌ(1)
Chap1. Overview - ์์ฒ ์๋ง๋์ ์ปดํจํฐ๋ค์ด ์น์ ๊ธฐ๋ฐ์ผ๋ก ์๋น์ค ex) ๊ตฌ๊ธ, MS / Datacenter programming ๊ธฐ์ ์ ๊ฐ๋ฐ ์ฒ ํ๊ณผ ๋ฐฐ๊ฒฝ๋ค – Agile, DevOps, CI/CD – Continuous Integration and Delivery, Microservice and Serverless - IP Address - ์ปดํจํฐ ๊ธฐ๊ธฐ์ ์ฃผ์ด์ง๋ ์ฃผ์, internet protocol address - Port number - ํ ์ปดํจํฐ ๋ด์์๋ ํ๋ก๊ทธ๋จ๋ง๋ค ์ฃผ์๊ฐ ๋ถ์ / ํ๋ก๊ทธ๋จ์ด OS์ ๊ตฌ๋ฉ์ ๋ซ๋ ๊ฒ ex) ์น์ 80๋ฒ ํฌํธ ์ฌ์ฉ - Domain name - ์ฌ๋์ด ์ดํดํ๊ธฐ ์ฌ์ด ์์ด ์ด๋ฆ / ๋ค์ ์๋ (com) ๋๋ฉ์ธ์ด ๋ ๋์ ๊ฐ๋ Ex) https://www..
2024.05.01 -
[Docker] Ubuntu Docker-machine ์ค์น
๐ณ2024. 04. 29 Monday ์ง๋ ์ค๊ฐ๊ณ ์ฌ ์ , ์ฐ๋ถํฌ์ GUI ์ค์น๊น์ง ๋ง์น ์ํฉ์ ๋๋ค. ๐ฉ๐ปdocker desktop์ ์ค์นํ ์ ์์๊ณ , ๋์ปค ๋ค์์ผ๋ก ๋์ปค ๋จธ์ ์ ์ค์นํด์คฌ์ต๋๋ค! https://docs.docker.com/engine/install/ubuntu/ Install Docker Engine on UbuntuJumpstart your client-side server applications with Docker Engine on Ubuntu. This guide details prerequisites and multiple methods to install Docker Engine on Ubuntu.docs.docker.comhttps://git..
2024.04.30