๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

์ „์ฒด ๊ธ€46

[Service Mesh] 1. Service Mesh๋ž€? Service Mesh ์•Œ์•„๋ณด๊ธฐ [Service Mesh] 1. Service Mesh๋ž€? [Service Mehs] 2. Envoy Proxy [Service Mesh] 3. Istio? [Service Mesh] 4. Istio Traffic Management (1) - Virtual Service & Destination Rule [Service Mesh] 5. Istio Traffic Managerment (2) - Gateway & Service Entry [Service Mesh] 6. Service Monitoring in Istio [Service Mesh] 7. Logging ์ด๋ฒˆ ๊ธ€์—์„œ๋Š” MSA๊ฐ€ ๋– ์˜ค๋ฅด๋ฉด์„œ ํ•จ๊ป˜ ์ฃผ๋ชฉ๋ฐ›๊ณ  ์žˆ๋Š” Service Mesh์— ๋Œ€ํ•ด ์•Œ์•„๋ณด๊ณ ์ž ํ•ฉ๋‹ˆ๋‹ค. Serv.. 2020. 12. 20.
Elasticsearch Operator ๊ฐœ๋ฐœํ•˜๊ธฐ ์ด๋ฒˆ ๊ธ€์—์„œ๋Š” Operator SDK๋ฅผ ํ†ตํ•ด Elasticsearch Cluster๋ฅผ ํŽธ๋ฆฌํ•˜๊ฒŒ ๊ด€๋ฆฌํ•  ์ˆ˜ ์žˆ๋Š” Elasticsearch Operator๋ฅผ ๋งŒ๋“ค์–ด๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค. Operator๊ฐ€ ๋ฌด์—‡์ธ์ง€, Operator SDK์— ๋Œ€ํ•œ ๊ธฐ๋ณธ์ ์ธ ์‚ฌ์šฉ๋ฐฉ๋ฒ•์ด ๊ถ๊ธˆํ•˜์‹  ๋ถ„๊ป˜์„œ๋Š” ์ด์ „ ๊ธ€์„ ์ฐธ๊ณ ํ•ด์ฃผ์‹œ๋ฉด ๊ฐ์‚ฌํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค.Elasticsearch Cluster๋จผ์ € Operator๋กœ ๊ด€๋ฆฌํ•  Elasticsearch Operator์— ๋Œ€ํ•œ ์ŠคํŽ™์„ ๊ฐ„๋‹จํžˆ ์•Œ์•„๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค. Cluster ๊ตฌ์„ฑ์€ ์ œ๊ฐ€ ์ด์ „์— ์ž‘์„ฑํ–ˆ๋˜ Elasticsearch Helm Chart์˜ ๊ตฌ์„ฑ์„ ์‚ฌ์šฉํ•˜์˜€์Šต๋‹ˆ๋‹ค.Master Node & Master Eligible Node ๋งˆ์Šคํ„ฐ ๋…ธ๋“œ์™€ ๋งˆ์Šคํ„ฐ ๋…ธ๋“œ๊ฐ€ ๋‹ค์šด๋์„ ๋•Œ ์Šน๊ฒฉ๋  ์ˆ˜ ์žˆ๋Š” ํ›„๋ณด ๋…ธ๋“œ์ž…๋‹ˆ๋‹ค.Hot Dat.. 2020. 12. 18.
Kubernetes Operator (feat. Operator SDK) ์ด๋ฒˆ ๊ธ€์—์„œ๋Š” ์‚ฌ์šฉ์ž ์ •์˜ ๋ฆฌ์†Œ์Šค๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜ ๋ฐ ํ•ด๋‹น ์ปดํฌ๋„ŒํŠธ๋ฅผ ๊ด€๋ฆฌํ•˜๋Š” Operator ํŒจํ„ด์— ๋Œ€ํ•ด์„œ ์•Œ์•„๋ณด๊ณ , ๊ณต์‹ ๋ฌธ์„œ์— ๋”ฐ๋ผ ๊ฐ„๋‹จํ•œ Custom Operator๋ฅผ ๋งŒ๋“ค์–ด๋ณด๋„๋ก ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค.Operator๋ž€?Operator๊ฐ€ ๋ฌด์—‡์ธ์ง€ ์•Œ์•„๋ณด๊ธฐ ์ด์ „์— Controller๋ผ๋Š” ๊ฐœ๋…์— ๋Œ€ํ•ด ๋จผ์ € ์‚ดํŽด๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค.ControllerKubernetes Patterns ์ฑ…์„ ์ฐธ๊ณ ํ•˜๋ฉด Kubernetes์—์„œ ๋ฆฌ์†Œ์Šค์˜ Status๋ฅผ ๊ฐ์‹œํ•˜๋ฉฐ ์›ํ•˜๋Š” ์ƒํƒœ(Spec)๋กœ ๋งŒ๋“œ๋Š” ๊ฒƒ์€ Controller๋ผ๊ณ  ํ•ฉ๋‹ˆ๋‹ค.ํ•˜์ง€๋งŒ, ๊ธฐ๋ณธ์ ์œผ๋กœ ์ œ๊ณต๋˜๋Š” Controller์˜ ๊ธฐ๋Šฅ ์ด์™ธ์—๋„ ๋” ๋ณต์žกํ•œ ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜ ๊ด€๋ฆฌ ๋กœ์ง์ด ํ•„์š”ํ•œ ๊ฒฝ์šฐ๊ฐ€ ๋ถ„๋ช… ์กด์žฌํ•ฉ๋‹ˆ๋‹ค. ์ด๋Ÿฐ ์ƒํ™ฉ์„ ์ปค๋ฒ„ํ•˜๊ธฐ ์œ„ํ•ด ๋“ฑ์žฅํ•œ ๊ฒƒ์ด Operator์ž…๋‹ˆ๋‹ค.Ope.. 2020. 12. 18.
Argo Project๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ CI/CD ๊ตฌ์ถ•ํ•˜๊ธฐ ์กธ์—… ํ”„๋กœ์ ํŠธ๋ฅผ ์ง„ํ–‰ํ•˜๋ฉฐ Spring Boot ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜์— ๋Œ€ํ•œ CI/CD๋ฅผ ๊ตฌ์ถ•ํ•ด์•ผํ•˜๋Š” ๋‹ˆ์ฆˆ๊ฐ€ ์žˆ์—ˆ๊ณ  ๋‹ค์–‘ํ•œ ๋„๊ตฌ๋“ค์„ ์‚ดํŽด๋ณด๋‹ค๊ฐ€ ์ฟ ๋ฒ„๋„คํ‹ฐ์Šค์— ์นœํ™”์ ์ธ Argo ํ”„๋กœ์ ํŠธ๋ฅผ ์‚ฌ์šฉํ•˜์˜€์Šต๋‹ˆ๋‹ค. ์ด๋ฒˆ ๊ธ€์—์„œ๋Š” Argo Project์ธ Argo Event์™€ Argo Workflow๋ฅผ ์ด์šฉํ•œ CI์™€ Argo CD๋ฅผ ์ด์šฉํ•œ CD ์•„ํ‚คํ…์ณ๋ฅผ ๊ตฌ์ถ•ํ•˜๋Š” ๊ณผ์ •์— ๋Œ€ํ•ด ๋‹ค๋ค„๋ณด๊ณ ์ž ํ•ฉ๋‹ˆ๋‹ค. CI Overview ์ด๋ฒˆ ๊ธ€์—์„œ ๊ตฌ์ถ•ํ•  CI ๊ณผ์ •์„ ๊ฐ„๋žตํ•˜๊ฒŒ ์†Œ๊ฐœํ•˜๋ฉด ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค. Github Webhook๋ฅผ Argo Event๊ฐ€ ๋ฐ›์•„ CI Workflow ํ™œ์„ฑํ™” ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ๋‹จ์œ„ ํ…Œ์ŠคํŠธ ์ˆ˜ํ–‰ ๋„์ปค ์ด๋ฏธ์ง€ ๋นŒ๋“œ GCR์— ์ด๋ฏธ์ง€ ํ‘ธ์‹œ Deploy Repository์˜ Kustomize ํŒŒ์ผ ์ˆ˜์ •(์ตœ์‹  ํƒœ๊ทธ๋ฅผ ๋ฐ˜์˜ํ•œ ์ด๋ฏธ์ง€) Dep.. 2020. 12. 18.