[AEWS] #4์ฃผ์ฐจ ํ”„๋กœ๋ฉ”ํ…Œ์šฐ์Šค๋งคํŠธ๋ฆญ๊ณผ PromQL (4)

[AEWS] #4์ฃผ์ฐจ ํ”„๋กœ๋ฉ”ํ…Œ์šฐ์Šค๋งคํŠธ๋ฆญ๊ณผ PromQL (4)

Observability (๊ด€์ธก ๊ฐ€๋Šฅ์„ฑ)์˜ต์ €๋ฒ„๋นŒ๋ฆฌํ‹ฐ(๊ด€์ธก๊ฐ€๋Šฅ์„ฑ)์€ ์‹œ์Šคํ…œ ๋‚ด๋ถ€ ์ƒํƒœ๋ฅผ ์™ธ๋ถ€์—์„œ ์ดํ•ดํ•˜๊ณ  ๋ถ„์„ํ•  ์ˆ˜ ์žˆ๋Š” ๋Šฅ๋ ฅ์„ ์˜๋ฏธํ•˜๋ฉฐ, ์„œ๋น„์Šค๊ฐ€ ์–ด๋–ค ์ƒํƒœ์ธ์ง€, ์–ด๋–ค ๋ฌธ์ œ๊ฐ€ ๋ฐœ์ƒํ–ˆ๋Š”์ง€, ์–ด๋””์„œ ๋ฐœ์ƒํ–ˆ๋Š”์ง€๋ฅผ ํŒŒ์•…ํ•  ์ˆ˜ ์žˆ๋„๋ก ๋ฐ์ดํ„ฐ๋ฅผ ์ˆ˜์ง‘ํ•˜๊ณ  ๋ถ„์„ํ•œ๋‹ค.์ˆ˜๋ฐฑ~์ˆ˜์ฒœ ๊ฐœ์˜ ์„œ๋น„์Šค๊ฐ€ ๋ถ„์‚ฐ ํ™˜๊ฒฝ์—์„œ ๋™์ž‘ํ•˜๋ฏ€๋กœ ๋” ๊นŠ์ด ์žˆ๋Š” ๋ถ„์„์ด ํ•„์š”ํ•˜์—ฌ ์˜ต์ €๋ฒ„๋นŒ๋ฆฌํ‹ฐ์˜ ์ค‘์š”์„ฑ์ด ๋”์šฑ ๋†’์•„์ง€๊ณ  ์žˆ๋‹ค. ๊ธฐ์กด์˜ ๋ชจ๋‹ˆํ„ฐ๋ง ๊ฐœ๋…๊ณผ ๋น„๊ตํ•ด๋ณด์•˜์„ ๋•Œ, ๋ชจ๋‹ˆํ„ฐ๋ง์€ ์‹œ์Šคํ…œ์ด ์ •์ƒ์ธ์ง€ ํ™•์ธํ•˜๋Š” ๋„๊ตฌ๋กœ์จ ์ง€๊ธˆ CPU ์‚ฌ์šฉ๋Ÿ‰์ด ๋†’์€๊ฐ€์— ๋Œ€ํ•œ ์งˆ๋ฌธ์— ๋‹ตํ•œ๋‹ค๋ฉด, ์˜ต์ €๋ฒ„๋นŒ๋ฆฌํ‹ฐ๋Š” ์‹œ์Šคํ…œ์ด ์™œ ๊ทธ๋ ‡๊ฒŒ ๋™์ž‘ํ•˜๋Š”์ง€ ๋ถ„์„ํ•˜๋Š” ๊ฐœ๋…์œผ๋กœ CPU ์‚ฌ์šฉ๋Ÿ‰์ด ๋†’์•„์ง„ ์›์ธ์€ ๋ฌด์—‡์ธ๊ฐ€๋ฅผ ํŒŒ์•…ํ•œ๋‹ค.์ฆ‰ ์˜ต์ €๋ฒ„๋นŒ๋ฆฌํ‹ฐ๋Š” ์—ฌ๋Ÿฌ ์†Œ์Šค์˜ ๋ฐ์ดํ„ฐ๋ฅผ ํ™œ์šฉํ•˜์—ฌ ์‹œ์Šคํ…œ ๋™์ž‘์˜ ์ƒ๊ด€ ๊ด€๊ณ„๋ฅผ ํŒŒ์•…ํ•˜..

  • textsms
[AEWS] # 4์ฃผ์ฐจ kwatch ์‹ค์Šต (2)

[AEWS] # 4์ฃผ์ฐจ kwatch ์‹ค์Šต (2)

25๋…„๋„ AWS EKS Hands-on Study ์Šคํ„ฐ๋”” ์ •๋ฆฌ ๋‚ด์šฉ์ž…๋‹ˆ๋‹ค. kwatchkwatch ๋Š” ์ฟ ๋ฒ„๋„คํ‹ฐ์Šค ํด๋Ÿฌ์Šคํ„ฐ์—์„œ ๋ฐœ์ƒํ•˜๋Š” ์ด๋ฒคํŠธ๋ฅผ ๋ชจ๋‹ˆํ„ฐ๋งํ•˜๊ณ , ํŒŒ๋“œ, PVC, Node, Deployment ๋“ฑ์˜ ๋ฆฌ์†Œ์Šค ๋ณ€๊ฒฝ ์‚ฌํ•ญ์„ ๊ฐ์ง€ํ•˜๊ณ , ์ด๋ฅผ Slack, Webhook, Discord ๋“ฑ์˜ ์•Œ๋ฆผ ์ฑ„๋„๋กœ ์ „๋‹ฌํ•  ์ˆ˜ ์žˆ๋‹ค. ์‹ค์Šต์€ ์Šฌ๋ž™ ์›นํ›…์œผ๋กœ ์ง„ํ–‰ํ•˜์˜€๋‹ค. ๊ฐœ์ธ ์›Œํฌ์ŠคํŽ˜์ด์Šค์— ๋ฐฐํฌ# configmap ์ƒ์„ฑcat  ๊ฐœ์ธ ์›Œํฌ์ŠคํŽ˜์ด์Šค์— ์›นํ›…์„ ์ถ”๊ฐ€ํ•˜์—ฌ kwatch๋ฅผ ๋ฐฐํฌํ•œ๋‹ค.์ฒ˜์Œ์— ํŒŒ๋“œ๋ฅผ ๋ฐฐํฌํ–ˆ๋Š”๋ฐ ์•Œ๋Ÿฟ์ด ์•ˆ์™€์„œ ๋ณด๋‹ˆ ์•ฑ ์ถ”๊ฐ€๋ฅผ ๋น ๋œจ๋ ธ์—ˆ๋‹ค ์•„์ฐจ์ฐจ!์•ฑ ์ถ”๊ฐ€๋ฅผ ํ•ด์ฃผ๊ณ  ๋‚˜์„œ ํŒŒ๋“œ ๋ฐฐํฌ๋ฅผ ๋‹ค์‹œ ํ•˜๊ณ  ์„ฑ๊ณต์ ์œผ๋กœ ์•Œ๋Ÿฟ์ด ์ˆ˜์‹ ๋˜๋Š” ๊ฒƒ์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ๋‹ค. ์ž˜๋ชป๋œ ์ด๋ฏธ์ง€ ๋ฒ„์ „ ๋ฐฐํฌcat kubectl get events -..

  • textsms

[์ฟ ๋ฒ„๋„คํ‹ฐ์Šค] Kind + Cilium CNI ํด๋Ÿฌ์Šคํ„ฐ ๊ตฌ์ถ• (1)

kind ๋„๊ตฌ๋ฅผ ํ™œ์šฉํ•˜์—ฌ ์ฟ ๋ฒ„๋„คํ‹ฐ์Šค ํด๋Ÿฌ์Šคํ„ฐ๋ฅผ ๋กœ์ปฌ์—์„œ ๋„์ปค๋กœ ๊ฐ„๋‹จํ•˜๊ฒŒ ์‹คํ–‰ํ•  ์ˆ˜ ์žˆ๋Š” ํ™˜๊ฒฝ์„ ๊ตฌ์ถ•ํ•ด๋ณธ๋‹ค.๊ทผ๋ฐ ์ด์ œ ๋„คํŠธ์›Œํฌ cni๋Š” cilium์„ ๊ณ๋“ค์ธ ๋ฒ„์ „์ด๋‹ค.์‚ฌ์ „ ํ™˜๊ฒฝ ์…‹ํŒ…brew install orbstack ๋งฅ๋ถ์— ๋„์ปค ๋ฐํƒ‘์ด ์—†์–ด์„œ orbstack์„ ์„ค์น˜ํ•ด์ฃผ์—ˆ๋‹ค!์˜คํ”ˆ์Šคํƒ ์œ„์— VM์„ ์ฃผ๋กœ ์šด์˜ํ•ด๋ณธ ์ž…์žฅ์œผ๋กœ์จ... ๋„์ปค๊ฐ€ VM ๋ณด๋‹ค ์•„๋ฌด๋ž˜๋„ ๊ฐ€๋ณ๋‹ค๋ณด๋‹ˆ.. ๋„์ปค ๋ฐ์Šคํฌํƒ‘์ด ๊ฒฝ๋Ÿ‰ํ™”๋œ ๋„๊ตฌ์ธ์ค„ ์•Œ์•˜๋Š”๋ฐ, ๋„์ปค ๋ฐํƒ‘๋ณด๋‹ค ํ›จ์”ฌ ๊ฒฝ๋Ÿ‰ํ™”๋œ orbstack์ด๋ผ๋Š” ๊ฒƒ์ด ์žˆ์—ˆ๋‹ค! kind, cilium cli ์„ค์น˜brew install kindbrew install cilium-clicilium versioncilium-cli: v0.17.0 compiled with go1.24.0 on darwin/arm64..

  • textsms