Docs Menu

Atlas Kubernetes Operator ๋ณ€๊ฒฝ ๋กœ๊ทธ

์ฐธ๊ณ 

Atlas Kubernetes Operator ๋ฆด๋ฆฌ์Šค ์˜ ์ „์ฒด ๋ชฉ๋ก์€ ์—ฌ๊ธฐ ์—์„œ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. .

  • ๊ณต๊ฐœ ๋ฏธ๋ฆฌ ๋ณด๊ธฐ '๋“œ๋ผ์ด ์‹คํ–‰(dry run)' ๋ชจ๋“œ ์—์„œ Atlas Kubernetes Operator ์‹คํ–‰ ์ง€์›ํ•˜์—ฌ ์ด์ „ ๋ฒ„์ „์—์„œ ๋” ์‰ฝ๊ฒŒ ์—…๊ทธ๋ ˆ์ด๋“œ ํ•  ์ˆ˜ ์žˆ์œผ๋ฉฐ, Atlas Kubernetes Operator ์—์„œ ๋ณ€๊ฒฝํ•œ ํ›„ Atlas ๋ฆฌ์†Œ์Šค์˜ ๋ณ€๊ฒฝ ์‚ฌํ•ญ์„ ๋ฏธ๋ฆฌ ๋ณผ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ด ๊ธฐ๋Šฅ ๊ณต๊ฐœ ๋ฏธ๋ฆฌ ๋ณด๊ธฐ๋กœ ์ œ๊ณต๋ฉ๋‹ˆ๋‹ค.

  • Kubernetes Atlas CLI ๋ช…๋ น์„ ๋ณ„๋„์˜ ๋“œ๋กญ๋‹ค์šด์œผ๋กœ ์ถ”๊ฐ€ํ•˜๋ฉฐ,https://github.com/mongodb/atlas-cli-๊ทธ์ธ-kubernetes์—์„œ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

  • 2.8.0 ๋ถ€ํ„ฐ ์‹œ์ž‘ Atlas Kubernetes Operator ์ถœ์‹œํ•˜๋‹ค Kubernetes Atlas CLI ๋ช…๋ น์€ ์ด์ œ ๋ณ„๋„์˜ ๋ฒ„์ „์œผ๋กœ, https://github.com/mongodb/atlas-cli-์ดํ•˜๊ทธ์ธ-kubernetes ์—์„œ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. atlas kubernetes ๋ช…๋ น์„ ์‹คํ–‰ Atlas Kubernetes Operator ์ด ํ”Œ๋Ÿฌ๊ทธ์ธ์„ ์„ค์น˜ํ•ฉ๋‹ˆ๋‹ค. Atlas ํ”Œ๋Ÿฌ๊ทธ์ธ ์—…๋ฐ์ดํŠธ ๋ช…๋ น์„ ์‚ฌ์šฉํ•˜์—ฌ ํ”Œ๋Ÿฌ๊ทธ์ธ์„ ์ตœ์‹  ๋ฒ„์ „์œผ๋กœ ์—…๋ฐ์ดํŠธ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

  • Atlas ๋„คํŠธ์›Œํฌ ํ”ผ์–ด๋ง ๋ฐ ๋„คํŠธ์›Œํฌ ์ปจํ…Œ์ด๋„ˆ ๋…๋ฆฝ์ ์ธ ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค๋ฅผ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. ์ด์ œ AtlasProject CRD ๋ฅผ ํ†ตํ•ด ์ด๋Ÿฌํ•œ ๋ฆฌ์†Œ์Šค๋ฅผ ๊ตฌ์„ฑํ•˜๋Š” ๊ฒƒ์€ ๋” ์ด์ƒ ์‚ฌ์šฉ๋˜์ง€ ์•Š์œผ๋ฉฐ, Atlas Kubernetes Operator ์˜ ์ดํ›„ ์ถœ์‹œํ•˜๋‹ค ์—์„œ ์ง€์› ์ œ๊ฑฐ๋  ์˜ˆ์ •์ž…๋‹ˆ๋‹ค.

  • ์—ฐ๊ฒฐ ๋น„๋ฐ€ ์ •๋ฆฌ์™€ ๊ด€๋ จ๋œ ๋ฌธ์ œ๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

  • ๋ฐฑ์—… ์ปดํ”Œ๋ผ์ด์–ธ์Šค ์ •์ฑ…์„ ๋ณ€ํ™˜ํ•˜๋ฉด nil ํŒจ๋‹‰์ด ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ๋Š” ๋ฌธ์ œ๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

  • Atlas ์„œ๋ฒ„๋ฆฌ์Šค ์ธ์Šคํ„ด์Šค์— ๋Œ€ํ•œ ๊ฒฝ๊ณ ๋ฅผ ์ˆ˜์ •ํ•˜๊ณ  ์†Œ์ˆ˜์  ์ž„๊ณ„๊ฐ’์„ ์˜ฌ๋ฐ”๋ฅด๊ฒŒ ์ง€์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

  • ์ƒˆ ์„œ๋ฒ„๋ฆฌ์Šค ์ธ์Šคํ„ด์Šค ๋ฅผ ๋งŒ๋“ค๋ ค๊ณ  ํ•  ๋•Œ Flex ํด๋Ÿฌ์Šคํ„ฐ ์ƒ์„ฑ์„ ์ฐจ๋‹จํ•˜๋Š” ๋ฒ„๊ทธ๊ฐ€ ์ˆ˜์ •๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

  • ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์‚ฌ์šฉ์ž๋ฅผ ์ถ”๊ฐ€ํ•  ๋•Œ Flex ํด๋Ÿฌ์Šคํ„ฐ์— ๋Œ€ํ•ด ์—ฐ๊ฒฐ ๋น„๋ฐ€์ด ์ƒ์„ฑ๋˜์ง€ ์•Š๋Š” ๋ฒ„๊ทธ๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

  • ์‚ฌ์–‘์— ์ถ”๊ฐ€๋œ ๋ฒ”์œ„์˜ ์„ค์ • ํ•ด์ œ๋ฅผ ์ฐจ๋‹จํ•˜๋Š” AtlasDatabaseUser ๋ฆฌ์†Œ์Šค ์˜ ๋ฒ„๊ทธ๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

  • AtlasProject ์„ ์ ์šฉํ•˜๋ฉด AtlasProject ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค ์—์„œ managed ํ•˜์ง€ ์•Š๊ฑฐ๋‚˜ ๊ตฌ์„ฑํ•˜์ง€ ์•Š์€ ๋„คํŠธ์›Œํฌ ํ”ผ์–ด๋ง์ด ์‚ญ์ œ ์ˆ˜ ์žˆ๋Š” ๋ฒ„๊ทธ๊ฐ€ ์ˆ˜์ •๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

  • Flex ํด๋Ÿฌ์Šคํ„ฐ์— ๋Œ€ํ•œ ์ง€์› ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.

  • ์ƒˆ๋กœ์šด AtlasIPAccessList Custom Resource(์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค)๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ Atlas IP ์•ก์„ธ์Šค ๋ชฉ๋ก์„ ๊ตฌ์„ฑํ•˜๊ธฐ ์œ„ํ•œ ์ง€์› ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. ์ด๋ฅผ ํ†ตํ•ด ์‹ค์ˆ˜๋กœ ์ธํ•œ ์‚ญ์ œ๋ฅผ ๋ฐฉ์ง€ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. AtlasProject ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค ์‚ฌ์šฉํ•œ IP ์•ก์„ธ์Šค ๋ชฉ๋ก ๊ตฌ์„ฑ์€ ๋” ์ด์ƒ ์‚ฌ์šฉ๋˜์ง€ ์•Š์œผ๋ฉฐ ํ–ฅํ›„ ์ถœ์‹œํ•˜๋‹ค ์—์„œ ์ง€์› ์ข…๋ฃŒ๋ฉ๋‹ˆ๋‹ค.

  • ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๊ฒฝ์šฐ Atlas Kubernetes Operator ์ถฉ๋Œํ•  ์ˆ˜ ์žˆ๋Š” ๋ฒ„๊ทธ๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค: - ๊ฐ€ spec.deploymentSpec.replicationSpecs spec.deploymentSpec.replicationSpecs ์„ค์ •ํ•˜๋‹ค ๋˜์—ˆ์ง€๋งŒ ๋น„์–ด ์žˆ์Œ - ๊ฐ€ ๋นˆ spec.deploymentSpec.replicationSpecs.regionConfigs spec.deploymentSpec.replicationSpecs.regionConfigs ํ•ญ๋ชฉ์ด ์žˆ์Œ - ์ด ์„ค์ •ํ•˜๋‹ค ๋˜์—ˆ์ง€๋งŒ ๋น„์–ด ์žˆ์Œ - ๋นˆ ํ•ญ๋ชฉ์ด ์žˆ๋Š” ๊ฒฝ์šฐ

  • Atlas Kubernetes Operator ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค๋กœ ์ •์˜๋œ ๋น„๊ณต๊ฐœ ์—”๋“œํฌ์ธํŠธ ๋ถ„์ด 15 ์•„๋‹Œ 3์‹œ๊ฐ„๋งˆ๋‹ค ์กฐ์ •ํ•˜๋Š” ๋ฒ„๊ทธ๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

  • Atlas Kubernetes Operator AtlasProject ํ•˜์œ„ ๋ฆฌ์†Œ์Šค๋กœ ์œ ์ง€ ๊ด€๋ฆฌ๋˜๋Š” ๊ธฐ์กด ์‚ฌ์šฉ์ž ์ง€์ • ์—ญํ• ์„ ๋…๋ฆฝ์ ์ธ ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค๋กœ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ๋ฌด์‹œํ•˜๋Š” ๋ฒ„๊ทธ๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

  • Kubernetes ๋ฒ„์ „ 1.28 ~ 1.30 ์„ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.

  • OpenShift ๋ฒ„์ „ 4.17 ์„ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.

M2, M5 ๋ฐ ์„œ๋ฒ„๋ฆฌ์Šค ์ธ์Šคํ„ด์Šค๋Š” ๋” ์ด์ƒ ์‚ฌ์šฉ๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ์ด๋Ÿฌํ•œ ์ธ์Šคํ„ด์Šค์— ๋Œ€ํ•œ ์ง€์›์€ ํ–ฅํ›„ ์ถœ์‹œํ•˜๋‹ค ์—์„œ ์ œ๊ฑฐ๋  ์˜ˆ์ •์ž…๋‹ˆ๋‹ค.

  • AtlasProject ๋ฆฌ์†Œ์Šค๋กœ ๊ตฌ์„ฑ๋œ ์‚ฌ์šฉ์ž ์ง€์ • ์—ญํ• ์ด ์‚ญ์ œ๋˜๋Š” ๋ฒ„๊ทธ๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

  • ์ตœ๋Œ€ ๊ฐœ์˜ Data Federation, IP์•ก์„ธ์Šค ๋ชฉ๋ก, ๋„คํŠธ์›Œํฌํ”ผ์–ด๋ง, ํŒ€, ํŽ˜๋”๋ ˆ์ด์…˜ ์ธ์ฆ, ๊ฒฝ๊ณ  ๊ตฌ์„ฑ ๋ฐ ์ŠคํŠธ๋ฆผ ์—ฐ๊ฒฐ ๋ฆฌ์†Œ์Šค๋งŒ ์œ ์ง€ ๊ด€๋ฆฌํ•˜๋„๋ก ์ œํ•œํ•˜๋Š” ๋ฒ„๊ทธ๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.100

  • Kubernetes ๋ฒ„์ „ 1.28 ~ 1.30 ์„ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.

  • OpenShift ๋ฒ„์ „ 4.16 ์„ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.

  • ํŽ˜๋”๋ ˆ์ด์…˜ ์ธ์ฆ ์— ๋Œ€ํ•œ์ง€์› ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.

  • AtlasPrivateEndpoint ์ƒˆ๋กœ์šด Custom Resource(์‚ฌ์šฉ์ž์ง€์ • ๋ฆฌ์†Œ์Šค)๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๋น„๊ณต๊ฐœ ์—”๋“œํฌ์ธํŠธ ๊ตฌ์„ฑํ•˜๋Š” ๊ธฐ๋Šฅ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.

  • AtlasCustomRole ์ƒˆ๋กœ์šด Custom Resource(์‚ฌ์šฉ์ž์ง€์ • ๋ฆฌ์†Œ์Šค)๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์‚ฌ์šฉ์ž ์ง€์ • ์—ญํ• ์„ ๊ตฌ์„ฑํ•˜๋Š” ๊ธฐ๋Šฅ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.

  • ์„œ๋ฒ„๋ฆฌ์Šค ์ธ์Šคํ„ด์Šค์˜ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์‚ฌ์šฉ์ž ์•”ํ˜ธ๊ฐ€ ์‚ญ์ œ๋˜๋Š” ๋ฒ„๊ทธ๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

  • Atlas Kubernetes Operator Atlas Search ์ธ๋ฑ์Šค๋ฅผ ์ƒ์„ฑํ•˜์ง€ ๋ชปํ•˜๋Š” ๋ฌธ์ œ๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

  • ์ž˜๋ชป๋œ ์กฐ์ •์„ ์ˆ˜์ •ํ•˜๊ณ  Atlas Kubernetes Operator ์—์„œ ์ถ”์ ํ•˜์ง€ ์•Š๋Š” Data Federation ๋น„๊ณต๊ฐœ ์—”๋“œํฌ์ธํŠธ ์‹ค์ˆ˜๋กœ ์‚ญ์ œ๋˜๋Š” ๊ฒƒ์„ ๋ฐฉ์ง€ํ•ฉ๋‹ˆ๋‹ค.

  • Atlas Kubernetes Operator ํ†ตํ•ฉ์„ ์กฐ์ •ํ•˜์ง€ ๋ชปํ•˜๋Š” ๋ฌธ์ œ๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

  • Data Federation ์ปจํŠธ๋กค๋Ÿฌ๊ฐ€ AtlasProject ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค ์— ๋Œ€ํ•œ ๋ณ€๊ฒฝ ์‚ฌํ•ญ์„ ๋ฌด์‹œํ•˜๋Š” ๋ฒ„๊ทธ๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

  • Kubernetes ๋ฒ„์ „ 1.28 ~ 1.30 ์„ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.

  • OpenShift ๋ฒ„์ „ 4.16 ์„ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.

  • ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค์— ๋Œ€ํ•œ ๋กœ์ปฌ ์ž๊ฒฉ ์ฆ๋ช… ์— ๋Œ€ํ•œ ์ง€์› ์„ ์ถ”๊ฐ€ํ•˜์—ฌ ํŠน์ • Atlas ๊ด€๋ฆฌ์ž API ์ž๊ฒฉ ์ฆ๋ช… ์„ ์‚ฌ์šฉํ•˜์—ฌ ํŠน์ • ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค๋ฅผ managed ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

  • AtlasDeployment ์ด์ œ ์„(๋ฅผ)AtlasDatabaseUser ๋…๋ฆฝ์ ์ธ ๋ฆฌ์†Œ์Šค๋กœ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์œผ๋ฏ€๋กœ Atlas Kubernetes Operator ์‚ฌ์šฉํ•˜์—ฌ ํ”„๋กœ์ ํŠธ ๊ด€๋ฆฌํ•˜์ง€ ์•Š๊ณ ๋„ Atlas ๋ฐฐํฌ๋ฅผ ๊ด€๋ฆฌ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

  • Atlas ํ”„๋กœ์ ํŠธ, ๋ฐฐํฌ ๋ฐ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์‚ฌ์šฉ์ž์˜ ํ”„๋กœ๋น„์ €๋‹ ์„ ํ—ˆ์šฉํ•˜๋Š” ์ƒˆ๋กœ์šด '๊ธฐ๋ณธ ๋ฐฐํฌ์„œ๋ฒ„' ๋ฐ '๊ณ ๊ธ‰ ๋ฐฐํฌ์„œ๋ฒ„ ' Helm ํ…œํ”Œ๋ฆฟ์„ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.

  • ๊ณต์œ  ํด๋Ÿฌ์Šคํ„ฐ ์— ๋Œ€ํ•ด ์ธ์Šคํ„ด์Šค ํฌ๊ธฐ ๋ณ€๊ฒฝ์ด ๋ฌด์‹œ๋˜๋Š” ๊ฒฝ์šฐ๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

  • ์„œ๋ฒ„๋ฆฌ์Šค ์ธ์Šคํ„ด์Šค๋กœ ๋ฐฐํฌ์„œ๋ฒ„ ๋ฅผ ๋ณ€๊ฒฝํ•˜๊ฑฐ๋‚˜ ์„œ๋ฒ„๋ฆฌ์Šค ์ธ์Šคํ„ด์Šค์—์„œ ๋ฐฐํฌ๋ฅผ ๋ณ€๊ฒฝํ•  ๋•Œ ์—ฐ์‚ฐ์ž ํŒจ๋‹‰์„ ํ•ด๊ฒฐํ•ฉ๋‹ˆ๋‹ค.

  • ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์‚ฌ์šฉ์ž๊ฐ€ ์‚ญ์ œ๋œ ํ›„ ๊ณ ์•„ ์—ฐ๊ฒฐ ๋ฌธ์ž์—ด ์ •๋ฆฌ๋ฅผ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.

  • Atlas Kubernetes Operator ์—์„œ managed ํ•˜์ง€ ์•Š๋Š” AtlasTeam ๋ฆฌ์†Œ์Šค (AtlasProject ๋ฆฌ์†Œ์Šค ์— ํ• ๋‹น๋˜์ง€ ์•Š์Œ)๊ฐ€ ์ž˜๋ชป ์‚ญ์ œ๋œ ๊ฒฝ์šฐ๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

  • ์ปจํŠธ๋กค๋Ÿฌ ๋Ÿฐํƒ€์ž„ ํ•„๋“œ ์ธ๋ฑ์„œ๋ฅผ ์œ„ํ•ด ์‚ฌ์šฉ์ž ์ง€์ • ResourceWatcher ๋ฅผ ์ œ๊ฑฐํ•ฉ๋‹ˆ๋‹ค. ๋ ˆ๊ฑฐ์‹œ ๋‚ด๋ถ€ ์‚ฌ์šฉ์ž ์ง€์ • ResourceWatcher ์—๋Š” ๋ฒ„๊ทธ๊ฐ€ ์žˆ์—ˆ์œผ๋ฉฐ ์‚ฌ์šฉ ์‹œ ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ•˜๊ธฐ ์‰ฌ์›Œ Atlas Kubernetes Operator ์—์„œ managed ํ•˜๋Š” ๋ฆฌ์†Œ์Šค์— ๋ฐ์ดํ„ฐ ์†์‹ค ๋ฐ ๋ฐ์ดํ„ฐ ๋ฌด๊ฒฐ์„ฑ ๋ฌธ์ œ๊ฐ€ ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ์—ˆ์Šต๋‹ˆ๋‹ค.

  • Kubernetes ๋ฒ„์ „ 1.28 ~ 1.30 ์„ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.

  • OpenShift ๋ฒ„์ „ 4.16 ์„ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.

  • ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค์— ๋Œ€ํ•œ ๋ณ€๊ฒฝ ์‚ฌํ•ญ์ด ์—†๋Š” ๊ฒฝ์šฐ Atlas Kubernetes Operator ๊ฐ€ ์ฃผ๊ธฐ์ ์ธ ์กฐ์ •์„ ๊ฑด๋„ˆ๋›ฐ๋Š” ๋ฒ„๊ทธ๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

  • ์‚ญ์ œ ๋ณดํ˜ธ ๋ฅผ ์—…๋ฐ์ดํŠธํ•˜์—ฌ Atlas Kubernetes Operator ์—์„œ ํŒ€ ์„ ์‚ญ์ œ ํ•˜์ง€๋งŒ, ์—ฐ๊ฒฐ๋œ ํ”„๋กœ์ ํŠธ๊ฐ€ ์—†๋Š” ๊ฒฝ์šฐ Atlas ์— ์œ ์ง€ํ•ฉ๋‹ˆ๋‹ค.

  • Kubernetes ๋ฒ„์ „ 1.28 ~ 1.30 ์„ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.

  • OpenShift ๋ฒ„์ „ 4.15 ์„ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.

  • AtlasDatabaseUser ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค ์—์„œ ํ•„๋“œ ์˜ spec.x509Type ์œ ํšจ์„ฑ ๊ฒ€์‚ฌ ๋ฅผ ๊ฐœ์„ ํ•ฉ๋‹ˆ๋‹ค. ์œ ํšจํ•œ ๊ฐ’์€ ๊ณ„์†ํ•ด์„œ NONE, CUSTOMER, MANAGED ์ž…๋‹ˆ๋‹ค.

  • AtlasDeployment ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค ์—์„œ regionConfigs ์˜ ์ •๋ ฌ์„ ๊ฐœ์„ ํ•˜์—ฌ ์ค‘๋ณต ์—…๋ฐ์ดํŠธ๋ฅผ ๋ฐฉ์ง€ํ•ฉ๋‹ˆ๋‹ค.

  • Kubernetes ๋ฒ„์ „ 1.27 ~ 1.29 ์„ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.

  • OpenShift ๋ฒ„์ „ 4.14 ์„ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.

  • Kubernetes ๋ฒ„์ „ 1.27 ~ 1.29 ์„ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.

  • OpenShift ๋ฒ„์ „ 4.14 ์„ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.

  • Atlas Kubernetes Operator์—์„œ ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค ์ •์˜์— ๋Œ€ํ•œ ๋ณ€๊ฒฝ ์‚ฌํ•ญ์ด ๋ˆ„๋ฝ๋  ์ˆ˜ ์žˆ๋Š” ๋™์‹œ์„ฑ ๋ฌธ์ œ๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

  • ์ด์ œ ๋ชจ๋“  MongoDB ์ด๋ฏธ์ง€๊ฐ€ ์„œ๋ช…๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

  • CPU ์ œํ•œ์„ ์ œ๊ฑฐํ•˜๊ณ  ๋ฉ”๋ชจ๋ฆฌ ์ œํ•œ์„ 1Gi๋กœ, ๋ฉ”๋ชจ๋ฆฌ ์š”์ฒญ์„ 256Mi๋กœ ๋Š˜๋ฆฝ๋‹ˆ๋‹ค.

  • ์„œ๋ฒ„๋ฆฌ์Šค ๋น„๊ณต๊ฐœ ์—”๋“œํฌ์ธํŠธ ์˜ ์กฐ์ •์„ ๊ฐœ์„ ํ•ฉ๋‹ˆ๋‹ค. Atlas Kubernetes Operator๋Š” ๋” ์ด์ƒ Atlas์™€์˜ ๋™๊ธฐํ™”์— ์‹คํŒจํ•  ๋•Œ ์„œ๋ฒ„๋ฆฌ์Šค ๋น„๊ณต๊ฐœ ์—”๋“œํฌ์ธํŠธ๋ฅผ ๋‹ค์‹œ ์ƒ์„ฑํ•˜๋Š” ์กฐ์ • ๋ฃจํ”„์— ๊ฐ‡ํžˆ์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

  • Atlas Teams ๊ฐ€ ํ•ญ์ƒ ์ •๋ฆฌ๋˜๋„๋ก ํ•ฉ๋‹ˆ๋‹ค. ์ด ๊ฐœ์„  ์‚ฌํ•ญ์€ Atlas Team ๋ฆฌ์†Œ์Šค๊ฐ€ ๊ณ ์•„๊ฐ€ ๋˜์–ด ์—ฐ๊ฒฐ๋œ ํ”„๋กœ์ ํŠธ๊ฐ€ ์—†๋Š” ํด๋Ÿฌ์Šคํ„ฐ์— ๋‚จ์•„ ์žˆ๋Š” ๊ฒƒ์„ ๋ฐฉ์ง€ํ•ฉ๋‹ˆ๋‹ค.

  • Kubernetes ๋ฒ„์ „ 1.27 ~ 1.29 ์„ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.

  • OpenShift ๋ฒ„์ „ 4.14 ์„ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.

  • ์ด ๋ฆด๋ฆฌ์Šค์—์„œ๋Š” ๋‹ค์Œ ํ•„๋“œ๊ฐ€ ๋” ์ด์ƒ ์‚ฌ์šฉ๋˜์ง€ ์•Š์œผ๋ฉฐ ์ด๋ฅผ ์„ค์ •ํ•ด๋„ ์„œ๋ฒ„๋ฆฌ์Šค ๋ฐฐํฌ์—๋Š” ์˜ํ–ฅ์ด ์—†์Šต๋‹ˆ๋‹ค.

    • DiskIOPS

    • DiskTypeName

    • EncryptEBSVolume

    • InstanceSizeName

    • VolumeType

    • AutoScaling

  • ์‚ญ์ œ ๋ณดํ˜ธ ๊ฐ€ ํ™œ์„ฑํ™”๋œ ๊ฒฝ์šฐ ์‚ฌ์šฉ์ž๊ฐ€ ๊ธฐ์กด ๋ฆฌ์†Œ์Šค๋ฅผ ์ˆ˜์ •ํ•  ์ˆ˜ ์—†๋„๋ก ํ•˜๋Š” ๋ฒ„๊ทธ๋กœ ์ธํ•ด --subobject-deletion-protection ํ”Œ๋ž˜๊ทธ๋ฅผ ๋น„ํ™œ์„ฑํ™”ํ•ฉ๋‹ˆ๋‹ค. ์—ฌ์ „ํžˆ ๊ฐ์ฒด-deletion-protection ํ”Œ๋ž˜๊ทธ๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค๋ณ„๋กœ ์‚ญ์ œ ๋ฐฉ์ง€๋ฅผ ์ œ์–ดํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

  • Kubernetes์—์„œ ์‚ญ์ œํ•œ ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค๋Š” Atlas์—์„œ ์‚ญ์ œ๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ๋Œ€์‹ , Atlas Kubernetes Operator๋Š” ์ด๋Ÿฌํ•œ ๋ฆฌ์†Œ์Šค์˜ ๊ด€๋ฆฌ๋ฅผ ์ค‘๋‹จํ•ฉ๋‹ˆ๋‹ค. ์˜ˆ๋ฅผ ๋“ค์–ด, Kubernetes์—์„œ AtlasProject ์‚ฌ์šฉ์ž ์ •์˜ ๋ฆฌ์†Œ์Šค ๋ฅผ ์‚ญ์ œํ•˜๋Š” ๊ฒฝ์šฐ, Atlas Kubernetes Operator๋Š” ๋” ์ด์ƒ Atlas์—์„œ ํ•ด๋‹น ํ”„๋กœ์ ํŠธ๋ฅผ ์ž๋™์œผ๋กœ ์‚ญ์ œํ•˜์ง€ ์•Š์œผ๋ฏ€๋กœ ์šฐ๋ฐœ์ ์ด๊ฑฐ๋‚˜ ์˜ˆ๊ธฐ์น˜ ์•Š์€ ์‚ญ์ œ๋ฅผ ๋ฐฉ์ง€ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ด ๋™์ž‘์„ Atlas Kubernetes Operator 2.0.1 ์ด์ „์˜ ๊ธฐ๋ณธ๊ฐ’์œผ๋กœ ๋˜๋Œ๋ฆฌ๋Š” ๋ฐฉ๋ฒ• ๋“ฑ ์ž์„ธํ•œ ๋‚ด์šฉ์€ ์ƒˆ ๊ธฐ๋ณธ๊ฐ’: Atlas Kubernetes Operator 2.0์˜ ์‚ญ์ œ ๋ณดํ˜ธ์—์„œ ํ™•์ธํ•˜์„ธ์š”.

  • deploymentSpec AtlasDeployment ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค์—์„œ advancedDeploymentSpec ์„(๋ฅผ) ๋Œ€์ฒดํ•ฉ๋‹ˆ๋‹ค. ๋‹ค์Œ๊ณผ ๊ฐ™์ด AtlasDeployment ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค๋ฅผ ์—…๋ฐ์ดํŠธํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

    • advancedDeploymentSpec ์„ ์‚ฌ์šฉํ•˜๋Š” ๊ฒฝ์šฐ ์ด๋ฆ„์„ deploymentSpec ๋กœ ๋ฐ”๊ฟ‰๋‹ˆ๋‹ค. ์„œ์‹์„ ๋ณ€๊ฒฝํ•  ํ•„์š”๊ฐ€ ์—†์Šต๋‹ˆ๋‹ค.

    • Atlas Kubernetes Operator 2.0.1 ์ด์ „์— deploymentSpec ์„ ์‚ฌ์šฉํ•œ ๊ฒฝ์šฐ , ์˜ˆ์‹œ ์— ์‚ฌ์šฉ๋œ ํ˜•์‹๊ณผ ์ผ์น˜ํ•˜๋„๋ก AtlasDeployment ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค๋ฅผ ๋‹ค์‹œ ์ž‘์„ฑํ•˜์„ธ์š”.

  • Atlas Kubernetes Operator๊ฐ€ ๊ด€๋ฆฌํ•˜๋Š” ์—ฌ๋Ÿฌ ๋ฐฐํฌ์—์„œ ์žฌ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋„๋ก AtlasBackupSchedule ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค ์—์„œ replicationSpecId ์„(๋ฅผ) ์ œ๊ฑฐํ•˜์—ฌ ์Šค๋ƒ…์ƒท ๋ฐฐํฌ ๊ด€๋ฆฌ๋ฅผ ๊ฐœ์„ ํ•ฉ๋‹ˆ๋‹ค. ์ด์ œ replicationSpecId ๊ฐ€ ์ด๋ฅผ ์ฐธ๊ณ ํ•˜๋Š” ๋ชจ๋“  ๋ฐฐํฌ์— ๋Œ€ํ•ด ์ž๋™์œผ๋กœ ์„ค์ •๋ฉ๋‹ˆ๋‹ค. ์ด ๋ณ€๊ฒฝ์œผ๋กœ ์ธํ•ด ๋” ์ด์ƒ replicationSpecId ๋ฅผ ๊ตฌ์„ฑํ•  ์ˆ˜ ์—†์œผ๋ฉฐ AtlasBackupSchedule ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค์—์„œ ์ œ๊ฑฐํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

  • ๋ณด์•ˆ ๊ถŒ์žฅ์‚ฌํ•ญ์„ ํ™๋ณดํ•˜๊ธฐ ์œ„ํ•ด encryptionAtRest ๋ฐ alertConfigurations ๊ธฐ๋Šฅ์— secretRef ํ•„๋“œ๋ฅผ ๊ฐ•์ œ๋กœ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. ์ด์ œ API ์‹œํฌ๋ฆฟ๊ณผ ์ž๊ฒฉ ์ฆ๋ช…์„ ์‹œํฌ๋ฆฟ ์œผ๋กœ ์ €์žฅํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ๋‹ค์Œ ํ•„๋“œ๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ Custom Resource(์‚ฌ์šฉ์ž ์ง€์ • AtlasProject ๋ฆฌ์†Œ์Šค )์—์„œ ์ฐธ์กฐํ•ฉ๋‹ˆ๋‹ค.

    spec.alertConfigurations.notifications ์˜ ๊ฒฝ์šฐ:

    • APIToken APITokenRef ์‚ฌ์šฉ

    • DatadogAPIKey DatadogAPIKeyRef ์‚ฌ์šฉ

    • FlowdockTokenAPI FlowdockTokenAPIRef ์‚ฌ์šฉ

    • OpsGenieAPIKey OpsGenieAPIKeyRef ์‚ฌ์šฉ

    • VictorOpsAPIKey ๋ฐ VictorOpsRoutingKey๋Œ€์‹  VictorOpsSecretRef ์‚ฌ์šฉ

    ์ž์„ธํ•œ ๋‚ด์šฉ์€ ํƒ€์‚ฌ ๊ฒฝ๊ณ  ๊ตฌ์„ฑ ์˜ˆ์‹œ๋ฅผ ์ฐธ์กฐํ•˜์„ธ์š”.

    spec.encryptionAtRest ์˜ ๊ฒฝ์šฐ:

    • Amazon Web Services AccessKeyID, SecretAccessKey, CustomerMasterKeyID ๋ฐ RoleID ๋Œ€์‹  secretRef ๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.

    • Azure SubscriptionID, KeyVaultName, KeyIdentifier ๋ฐ Secret ๋Œ€์‹  secretRef ์„ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.

    • GCP ServiceAccountKey ๋˜๋Š” KeyVersionResourceID ๋Œ€์‹  secretRef ๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.

    ์ž์„ธํ•œ ๋‚ด์šฉ์€ KMS๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๋ฐ์ดํ„ฐ ์•”ํ˜ธํ™”๋ฅผ ์ฐธ์กฐํ•˜์„ธ์š”.

๊ฒฝ๊ณ 

์ด ๋ฆด๋ฆฌ์Šค์—๋Š” ์‚ญ์ œ ๋ณดํ˜ธ ๊ฐ€ ํ™œ์„ฑํ™”๋œ ๊ฒฝ์šฐ Atlas Kubernetes Operator๊ฐ€ AtlasBackupSchedule ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค ๋ฅผ ์กฐ์ •ํ•˜์ง€ ๋ชปํ•˜๋Š” ๋ฌธ์ œ๊ฐ€ ํฌํ•จ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค. ์ด ๋ฒ„์ „(2.0.0)์ด ์•„๋‹Œ Atlas Kubernetes Operator 2.0.1์„ ์‚ฌ์šฉํ•˜์„ธ์š”.

  • ์ž๋™ ํ™•์žฅ์ด ํ™œ์„ฑํ™”๋œ ์ƒํƒœ์—์„œ ๋ฐฐํฌ๋ฅผ ์—…๋ฐ์ดํŠธํ•  ๋•Œ ์กฐ์ •์ด ์‹คํŒจํ•˜๋Š” ๋ฌธ์ œ๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

  • ์ด์ œ ์œ ํšจ์„ฑ ๊ฒ€์‚ฌ์—์„œ ์ค‘๋ณต ๊ฒฝ๊ณ  ๊ตฌ์„ฑ์„ ๊ฑฐ๋ถ€ํ•ฉ๋‹ˆ๋‹ค.

  • ํŒ€ ์ƒํƒœ์— ๋‚˜์—ด๋œ ํ”„๋กœ์ ํŠธ๊ฐ€ ์ค‘๋ณต๋˜๋Š” ๋ฒ„๊ทธ๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

  • ๋ถˆํ•„์š”ํ•œ ์žฌ์ฐฝ์กฐ๋ฅผ ๋ฐฉ์ง€ํ•˜๊ธฐ ์œ„ํ•ด IPAccessList ์กฐ์ • ํ๋ฆ„์„ ๋ฆฌํŒฉํ„ฐ๋งํ•ฉ๋‹ˆ๋‹ค.

  • ๋ฐ˜๋ณต์ ์œผ๋กœ ์—…๋ฐ์ดํŠธ๋˜๋Š” ๋ฐฑ์—… ์ผ์ •์„ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

  • AtlasFederatedAuth Custom Resource(์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค) ๋ฅผ ์ถ”๊ฐ€ํ•˜์—ฌ Atlas์— ์ด๋ฏธ ๋“ฑ๋กํ•œ ID ์ œ๊ณต์ž์— ๋Œ€ํ•œ ํŽ˜๋”๋ ˆ์ด์…˜ ์ธ์ฆ ์„ ๊ตฌ์„ฑํ•ฉ๋‹ˆ๋‹ค.

  • ์ •๋ถ€ ๊ธฐ๊ด€ ๋ฐฐํฌ๋ฅผ ์œ„ํ•œ Atlas๋ฅผ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค. ์ด์— ๋”ฐ๋ผ Gov ์—”๋“œํฌ์ธํŠธ๋ฅผ ๊ตฌ์„ฑํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ๋Š” ์ •๋ถ€์šฉ ์˜ ํด๋ผ์šฐ๋“œ ์ œ๊ณต์ž๋กœ์„œAtlas Kubernetes Operator Amazon Web Services ๋งŒ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.Atlas

  • ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ๋ฐฐํฌ ๋ฆฌ์†Œ์Šค ํƒœ๊ทธ ์ง€์ •์„ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค. ์ž์„ธํ•œ ๋‚ด์šฉ์€ ๋‹ค์Œ ์„ค์ •์„ ์ฐธ์กฐํ•˜์„ธ์š”.

  • ์ง€์†์ ์ธ ๋ฐฑ์—… ๋ฐ ์ข…๋ฃŒ ๋ณดํ˜ธ๋ฅผ ์œ„ํ•ด ์„œ๋ฒ„๋ฆฌ์Šค์— ์ƒˆ๋กœ์šด ์ธ์ˆ˜๋ฅผ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.

  • ์ž๋™ ํ™•์žฅ ๋ณด๊ณ ์˜ ์œ ํšจ์„ฑ ๊ฒ€์‚ฌ ๋ฐ ์ฒ˜๋ฆฌ๋ฅผ ๊ฐœ์„ ํ•ฉ๋‹ˆ๋‹ค.

  • ์™ธ๋ถ€ ํ‚ค ๊ด€๋ฆฌ ์‹œ์Šคํ…œ์„ ์ง€์›ํ•˜๊ธฐ ์œ„ํ•ด Atlas Kubernetes Operator์™€ ํ•จ๊ป˜ ํƒ€์‚ฌ ๋น„๋ฐ€ ๊ด€๋ฆฌ ๋„๊ตฌ๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ๋ฐฉ๋ฒ•์— ๋Œ€ํ•œ ์ง€์นจ์„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค. Atlas Kubernetes Operator์— ๋Œ€ํ•œ ์™ธ๋ถ€ ๋น„๋ฐ€ ์ €์žฅ์†Œ๋ฅผ ๊ตฌ์„ฑํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ์•Œ์•„๋ณด๋ ค๋ฉด ๋น„๋ฐ€ ์ €์žฅ์†Œ ๊ตฌ์„ฑ์„ ์ฐธ์กฐํ•˜์„ธ์š”.

  • ์ตœ์†Œ ์ด๋ฏธ์ง€ ๋Œ€์‹  UBI ๋งˆ์ดํฌ๋กœ ๊ธฐ๋ณธ ์ด๋ฏธ์ง€๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. ๋งˆ์ดํฌ๋กœ ๊ธฐ๋ณธ ์ด๋ฏธ์ง€๋Š” ์ข…์†์„ฑ์ด ์ ์€ ๋” ์ž‘์€ ๊ธฐ๋ณธ ์ด๋ฏธ์ง€์ž…๋‹ˆ๋‹ค.

AtlasProject ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค:

AtlasDeployment ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค:

  • Atlas ํด๋ผ์ด์–ธํŠธ๋ฅผ v0.32.0์œผ๋กœ ์—…๊ทธ๋ ˆ์ด๋“œํ•ฉ๋‹ˆ๋‹ค.

AtlasProject ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค:

AtlasDatabaseUser ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค:

  • ์ƒค๋“œ cluster์—์„œ ๋น„๊ณต๊ฐœ ์—”๋“œํฌ์ธํŠธ ์—ฐ๊ฒฐ ๋ฌธ์ž์—ด์ด ๋ˆ„๋ฝ๋˜๋Š” ๋ฌธ์ œ๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

AtlasDataFederation ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค:

  • Atlas Data Federation ๋ฐฐํฌ ๊ด€๋ฆฌ๋ฅผ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.

  • leases.coordination.k8s.io ๋ฅผ ์ž์ฒด ํ”„๋ก์‹œ ์—ญํ•  ๊ทœ์น™์œผ๋กœ ์ด๋™ํ•ฉ๋‹ˆ๋‹ค.

AtlasProject ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค:

  • spec.settings.IsExtendedStorageSizesEnabled ๋งค๊ฐœ ๋ณ€์ˆ˜๋ฅผ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.

  • 1.20์œผ๋กœ ์—…๊ทธ๋ ˆ์ด๋“œํ•ฉ๋‹ˆ๋‹ค.

  • AtlasBackupSchedule ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค์˜ spec.export.frequencyType ๋งค๊ฐœ ๋ณ€์ˆ˜ ๊ฐ’์„ MONTHLY ์—์„œ monthly ๋กœ ์—…๋ฐ์ดํŠธํ•ฉ๋‹ˆ๋‹ค.

  • ๋‹ค์–‘ํ•œ ๋„ค์ž„์ŠคํŽ˜์ด์Šค์— ๋Œ€ํ•œ ์—ฐ๊ฒฐ ๋น„๋ฐ€ ์ƒ์„ฑ์„ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

  • ์ž๋™ํ™”๋œ cloud ๋ฐฑ์—… ๋‚ด๋ณด๋‚ด๊ธฐ ๊ตฌ์„ฑ์„ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

  • CVE-2023-0436 ์ˆ˜์ •: Atlas ์—ฐ์‚ฐ์ž์˜ ๋””๋ฒ„๊ทธ ๋ชจ๋“œ์—์„œ ๋น„๋ฐ€ ๋กœ๊น…์ด ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ์Œ

    ์˜ํ–ฅ์„ ๋ฐ›๋Š” ๋ฒ„์ „์˜ MongoDB Atlas Kubernetes Operator๋Š” DEBUG ๋ชจ๋“œ ๋กœ๊น…์ด ํ™œ์„ฑํ™”๋˜์–ด ์žˆ๋Š” ๋™์•ˆ GCP ์„œ๋น„์Šค ๊ณ„์ • ํ‚ค ๋ฐ API ํ†ตํ•ฉ ์‹œํฌ๋ฆฟ๊ณผ ๊ฐ™์€ ๋ฏผ๊ฐํ•œ ์ •๋ณด๋ฅผ ์ถœ๋ ฅํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ด ๋ฌธ์ œ๋Š” MongoDB Atlas Kubernetes Operator ๋ฒ„์ „์— ์˜ํ–ฅ์„ ์ค๋‹ˆ๋‹ค: 1.5.0, 1.6.0, 1.6.1, 1.7.0. ์ด๋Š” ์ œํ’ˆ์˜ EOL ๋ฒ„์ „์—์„œ ๋ณด๊ณ ๋˜์—ˆ์œผ๋ฉฐ ์‚ฌ์šฉ์ž๋Š” ์ง€์›๋˜๋Š” ์ตœ์‹  ๋ฒ„์ „์œผ๋กœ ์—…๊ทธ๋ ˆ์ด๋“œํ•˜๋Š” ๊ฒƒ์ด ์ข‹์Šต๋‹ˆ๋‹ค.

    ํ•„์ˆ˜ ๊ตฌ์„ฑ:

    DEBUG ๋กœ๊น…์€ ๊ธฐ๋ณธ์ ์œผ๋กœ ํ™œ์„ฑํ™”๋˜์–ด ์žˆ์ง€ ์•Š์œผ๋ฉฐ ์ตœ์ข… ์‚ฌ์šฉ์ž๊ฐ€ ๊ตฌ์„ฑํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ์—ฐ์‚ฐ์ž์˜ ๋กœ๊ทธ ์ˆ˜์ค€์„ ํ™•์ธํ•˜๋ ค๋ฉด ๋ฐฐํฌ ๊ตฌ์„ฑ์— ์ „๋‹ฌ๋œ ํ”Œ๋ž˜๊ทธ๋ฅผ ๊ฒ€ํ† ํ•ฉ๋‹ˆ๋‹ค(์˜ˆ: https://github.com/mongodb/mongodb-atlas-kubernetes/lob/main/config/manager/manager.yaml#L27)

    CVSS: 4.5

    CWE-319: ๋ฏผ๊ฐํ•œ ์ •๋ณด์˜ ์ผ๋ฐ˜ ํ…์ŠคํŠธ ์ „์†ก

  • Openshift 4.12 ํ˜ธํ™˜์„ฑ์„ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.

  • Kubernetes 1.25๋ฅผ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.

AtlasProject ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค:

  • ์ด์ œ ํ”„๋กœ์ ํŠธ๋Š” spec.connectionSecretRef.namespace ๋งค๊ฐœ๋ณ€์ˆ˜๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๋‹ค๋ฅธ ๋„ค์ž„์ŠคํŽ˜์ด์Šค์˜ ์—ฐ๊ฒฐ ์‹œํฌ๋ฆฟ์„ ์ฐธ์กฐํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

  • ๋‹จ์ผ ์ œ๊ณต์ž ๋ฐ ๋ฆฌ์ „๋‹น ์—ฌ๋Ÿฌ ๋น„๊ณต๊ฐœ ์—”๋“œํฌ์ธํŠธ๋ฅผ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.

  • ๋ชจ๋“  ๋น„๊ณต๊ฐœ ์—”๋“œํฌ์ธํŠธ ์—ฐ๊ฒฐ ๋ฌธ์ž์—ด ์ €์žฅ์„ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.

  • ๋ฏธ์‚ฌ์šฉ KMS ๋ฐ์ดํ„ฐ ์•”ํ˜ธํ™” ๊ธฐ๋Šฅ์— ๋Œ€ํ•œ GCP ๊ด€๋ จ ๋ฌธ์ œ๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

AtlasDeployment ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค:

  • autoIndexingEnabled ํ•„๋“œ๋ฅผ ๋” ์ด์ƒ ์‚ฌ์šฉํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

  • ์Šค๋ƒ…์ƒท ๋ฐฐํฌ๋ฅผ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.

AtlasProject ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค:

  • IP ์•ก์„ธ์Šค ๋ชฉ๋ก ๊ด€๋ จ ๋ฌธ์ œ๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

AtlasDeployment ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค:

AtlasProject ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค:

AtlasDeployment ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค:

AtlasProject ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค:

  • Atlas Teams ์ง€์›์„ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.

AtlasDeployment ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค:

  • ์—ฐ๊ฒฐ ๋น„๋ฐ€ ์ƒ์„ฑ ๊ด€๋ จ ๋ฌธ์ œ๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

  • Openshift์˜ ์ตœ์†Œ ๋ฒ„์ „์„ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

AtlasProject ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค:

  • InstanceSize ์ด(๊ฐ€) ๋ฐ˜๋“œ์‹œ ์ผ์น˜ํ•ด์•ผ ํ•˜๋Š” ๋ฌธ์ œ๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

  • ๋น„๊ณต๊ฐœ ์—”๋“œํฌ์ธํŠธ๊ฐ€ ํ•ญ์ƒ ์ƒํƒœ์— ์ถ”๊ฐ€๋˜๋„๋ก ํ•ฉ๋‹ˆ๋‹ค.

AtlasDeployment ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค:

  • OplogMinRetentionHours ํ•„๋“œ๋ฅผ ์˜ฌ๋ฐ”๋ฅด๊ฒŒ ๋ณ€ํ™˜ํ•ฉ๋‹ˆ๋‹ค.

  • ํ•„์š”ํ•œ OpenShift ์ตœ์†Œ 4 ๋ฅผ ์—…๋ฐ์ดํŠธํ•ฉ๋‹ˆ๋‹ค. ๋ฒ„์ „์„ .8 ๋กœ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.

AtlasProject ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค:

AtlasProject ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค:

  • ๊ฐ์‚ฌ ๋กœ๊ทธ์— ๋Œ€ํ•œ ์ง€์›์„ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. spec.auditing.enabled ํ•„๋“œ๋กœ ๊ฐ์‚ฌ๋ฅผ ํ™œ์„ฑํ™”ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. Atlas Kubernetes Operator ๊ฐ์‚ฌ์— ๋Œ€ํ•œ ์ž์„ธํ•œ ๋‚ด์šฉ์€ Configure Audit Logs์„ ์ฐธ์กฐํ•˜์„ธ์š”.

  • spec.settings ํ•„๋“œ๋ฅผ ํ†ตํ•ด ํ”„๋กœ์ ํŠธ ์„ค์ •์— ๋Œ€ํ•œ ์ง€์›์„ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.

  • spec.alertConfigurations ํ•„๋“œ๋ฅผ ํ†ตํ•ด ๊ฒฝ๊ณ  ๊ตฌ์„ฑ์— ๋Œ€ํ•œ ์ง€์›์„ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.

AtlasDeployment ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค:

  • instanceSize ๋ฐ diskSizeGB ๋งค๊ฐœ๋ณ€์ˆ˜์˜ ์ž๋™ ํ™•์žฅ์— ๋Œ€ํ•œ ์ง€์›์„ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.

  • CIDR ๋ธ”๋ก /32 ๊ฐ€ ์žˆ๋Š” IP ์ฃผ์†Œ๋ฅผ ๋„คํŠธ์›Œํฌ ์•ก์„ธ์Šค์— ์ถ”๊ฐ€ํ•˜๋ฉด IP ์•ก์„ธ์Šค ๋ชฉ๋ก์ด ๋ฌด๊ธฐํ•œ ๋น„ํ™œ์„ฑ ์ƒํƒœ๋กœ ์œ ์ง€๋  ์ˆ˜ ์žˆ๋Š” ๋ฌธ์ œ๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

  • ์‚ฌ์šฉ์ž๊ฐ€ ํ”„๋กœ์ ํŠธ ๋„ค์ž„์ŠคํŽ˜์ด์Šค ์ด์™ธ์˜ ๋„ค์ž„์ŠคํŽ˜์ด์Šค๋ฅผ ์ œ๊ณตํ•˜๊ฑฐ๋‚˜ ์ œ๊ณตํ•˜์ง€ ์•Š์„ ๋•Œ ๋„ค์ž„์ŠคํŽ˜์ด์Šค ์ฐธ์กฐ๊ฐ€ ํ•„์š”ํ•œ ํ”„๋กœ์ ํŠธ ํ†ตํ•ฉ์„ ๋งŒ๋“ค ๋•Œ ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ๋Š” ๋ฌธ์ œ๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

AtlasProject ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค:

AtlasDeployment ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค:

  • API ํ‚ค๊ฐ€ ๋งŒ๋ฃŒ๋œ ํ›„ AtlasDeployment ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค ๋ฅผ ์‚ญ์ œํ•  ๋•Œ ๋ฐœ์ƒํ•˜๋Š” ๋ฆฌ์†Œ์Šค ์กฐ์ • ๋ฌธ์ œ๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

  • ์ž๋™ ํ™•์žฅ์ด ํ™œ์„ฑํ™”๋œ ๋ฐฐํฌ์„œ๋ฒ„์— ๋Œ€ํ•ด instanceSize ๋ฐ diskSizeGB ๋งค๊ฐœ๋ณ€์ˆ˜๋ฅผ ๋ณ€๊ฒฝํ•  ์ˆ˜ ์žˆ๋Š” ๋ฌธ์ œ๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค. instanceSize ๋ฐ diskSizeGB ๋งค๊ฐœ๋ณ€์ˆ˜๋ฅผ ๋ณ€๊ฒฝํ•˜๋ ค๋ฉด ๋จผ์ € ์ž๋™ ํ™•์žฅ์„ ๋น„ํ™œ์„ฑํ™”ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

  • Atlas Kubernetes Operator๊ฐ€ ํ”„๋กœ์ ํŠธ์˜ ๋ฐฑ์—… ์ •์ฑ… ๋˜๋Š” ๋ฐฑ์—… ์ผ์ •์„ ์‚ญ์ œํ•  ์ˆ˜ ์—†๋Š” ๊ฒฝ์šฐ ๋ฐ˜ํ™˜๋˜๋Š” ์˜ค๋ฅ˜ ๋ฉ”์‹œ์ง€๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

  • ๋ฐฐํฌ๋œ ๋ฆฌ์†Œ์Šค์˜ ์ธ์Šคํ„ด์Šค ํฌ๊ธฐ๊ฐ€ M10์—์„œ M40์œผ๋กœ ๋ณ€๊ฒฝ๋œ ๊ฒฝ์šฐ AtlasDeployment ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค ๊ฐ€ ์„ฑ๊ณต์ ์œผ๋กœ ์ƒ์„ฑ๋˜์ง€ ์•Š๋˜ ๋ฌธ์ œ๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

  • ๋ฅผ ์‚ฌ์šฉํ•œ AtlasDeployment advancedDeploymentSpec autoscaling.diskGBEnabled AdvancedAutoScalingSpec ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค ์ƒ์„ฑ์ด ์—์„œ ์‹คํŒจํ•˜๊ณ  ์— ์ƒˆ ๊ตฌ์กฐ์ฒด๋ฅผ ์ถ”๊ฐ€ํ•˜๋Š” ๋ฌธ์ œ๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.AdvancedDeploymentSpecChanges

  • ์ž๋™ ํ™•์žฅ์ด ํ™œ์„ฑํ™”๋œ ๋ฐฐํฌ์— ๋Œ€ํ•ด diskSizeGB ๋ฅผ ์ค„์ผ ์ˆ˜ ์žˆ๋Š” ๋ฌธ์ œ๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค. diskSizeGB ๋งค๊ฐœ๋ณ€์ˆ˜๋ฅผ ๋ณ€๊ฒฝํ•˜๋ ค๋ฉด ๋จผ์ € ์ž๋™ ํ™•์žฅ์„ ๋น„ํ™œ์„ฑํ™”ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

  • Atlas API๊ฐ€ ์˜ˆ์•ฝ๋œ ๋ฐฑ์—…์— ๋Œ€ํ•ด ๋นˆ ๊ฐ์ฒด๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” ๋ฆฌ์†Œ์Šค ์กฐ์ • ๋ฌธ์ œ๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

  • Kubernetes ์‹œํฌ๋ฆฟ์—์„œ ๋น„๊ณต๊ฐœ ์—”๋“œํฌ์ธํŠธ ์—ฐ๊ฒฐ ๋ฌธ์ž์—ด์ด ๋ˆ„๋ฝ๋˜๋Š” ๋ฌธ์ œ๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

  • Atlas Kubernetes Operator๊ฐ€ ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” ๋ฆฌ์†Œ์Šค์— ๋Œ€ํ•œ ์กฐ๊ฑด์„ ์ œ๊ฑฐํ•˜์ง€ ์•Š๋˜ ๋ฌธ์ œ๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

  • ๋ˆ„๋ฝ๋œ ๋น„๊ณต๊ฐœ ์—”๋“œํฌ์ธํŠธ ํ•„๋“œ๋ฅผ ํŒŒ๋“œ ์กฐ๊ฑด์— ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.

  • Atlas Kubernetes Operator์— ๋Œ€ํ•œ ๋กœ๊ทธ ์ˆ˜์ค€ ๋ฐ JSON ๋กœ๊ทธ ์ถœ๋ ฅ์„ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. ๋กœ๊ทธ ์ˆ˜์ค€์„ ๋ณ€๊ฒฝํ•˜๋ ค๋ฉด โ€”log-level=debug | info | warn | error | dpanic | panic | fatal ํ”Œ๋ž˜๊ทธ๋ฅผ ์ œ๊ณตํ•˜๋ฉด ๋ฉ๋‹ˆ๋‹ค. ์ถœ๋ ฅ ํ˜•์‹์„ ๋ณ€๊ฒฝํ•˜๋ ค๋ฉด โ€”log-encoder=json | console ํ”Œ๋ž˜๊ทธ๋ฅผ ์ œ๊ณตํ•˜๋ฉด ๋ฉ๋‹ˆ๋‹ค.

AtlasProject ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค:

AtlasDeployment ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค:

  • ์ปจํŠธ๋กค๋Ÿฌ ๋Ÿฐํƒ€์ž„์„ v0.11.0์œผ๋กœ ์—…๊ทธ๋ ˆ์ด๋“œํ•ฉ๋‹ˆ๋‹ค.

  • 1.17๋กœ ์—…๊ทธ๋ ˆ์ด๋“œํ•ฉ๋‹ˆ๋‹ค.

  • Atlas Charts๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ cluster๋ฅผ ์„ค์น˜ํ•  ๋•Œ postInstallHook.enabled ๋ฅผ true๋กœ ์„ค์ •ํ•˜๋ฉด cluster๊ฐ€ ์ค€๋น„๋  ๋•Œ๊นŒ์ง€ Helm์ด ์ข…๋ฃŒ๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

  • Atlas Kubernetes Operator๋Š” ๋ถˆํ•„์š”ํ•œ ์‹œํฌ๋ฆฟ ์„ ๊ฐ์‹œํ•˜์ง€ atlas.mongodb.com/type=credentials ์•Š๊ธฐ ์œ„ํ•ด ๋ ˆ์ด๋ธ”์ด ์žˆ๋Š” ์‹œํฌ๋ฆฟ ๋งŒ ๊ฐ์‹œํ•ฉ๋‹ˆ๋‹ค. .

  • ํŠน์ • ๋ฆฌ์†Œ์Šค์— ๋Œ€ํ•œ ์กฐ์ •์„ ๊ฑด๋„ˆ๋›ฐ๋„๋ก Atlas Kubernetes Operator๋ฅผ ๊ตฌ์„ฑํ•˜๊ธฐ ์œ„ํ•œ mongodb.com/atlas-reconciliation-policy=skip ์ฃผ์„์„ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.

  • X.509 ์ธ์ฆ์„ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.

  • ๋ฆฌ์†Œ์Šค ์‚ญ์ œ์— ๋Œ€ํ•œ ์˜ค๋ฅ˜๊ฐ€ ๊ธฐ๋ก๋˜๋Š” ๋ฌธ์ œ๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

  • AtlasCluster ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค์— spec.advancedClusterSpec ๋งค๊ฐœ ๋ณ€์ˆ˜๋ฅผ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. ์ด์ œ AtlasCluster ์‚ฌ์šฉ์ž ์ง€์ • ๋ฆฌ์†Œ์Šค์—๋Š” ๋‘ ๊ฐ€์ง€ ์ฃผ์š” ๊ตฌ์„ฑ ์˜ต์…˜์ด ์žˆ์Šต๋‹ˆ๋‹ค. spec.clusterSpec ๋˜๋Š” spec.advancedClusterSpec ์ค‘ ํ•˜๋‚˜๋ฅผ ์ง€์ •ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. spec.clusterSpec ๋งค๊ฐœ๋ณ€์ˆ˜๋Š” Atlas ํด๋Ÿฌ์Šคํ„ฐ API ๋ฆฌ์†Œ์Šค๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. spec.advancedClusterSpec ๋งค๊ฐœ๋ณ€์ˆ˜๋Š” Atlas ๊ณ ๊ธ‰ ํด๋Ÿฌ์Šคํ„ฐ API ๋ฆฌ์†Œ์Šค๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.

    ์ฐธ๊ณ 

    ๊ธฐ์กด ๋ฆฌ์†Œ์Šค๋ฅผ spec.clusterSpec ๊ตฌ์กฐ๋ฅผ ์‚ฌ์šฉํ•˜๋„๋ก ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ํ•˜๋ ค๋ฉด spec.projectRef ๋ฅผ ์ œ์™ธํ•˜๊ณ  ํ˜„์žฌ spec.* ์•„๋ž˜์— ์žˆ๋Š” ๋ชจ๋“  ํ•„๋“œ๋ฅผ spec.clusterSpec.* ๋กœ ์ด๋™ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

๋‹ค์Œ ์œ„์น˜์—์„œ ์ด๋ฏธ์ง€๋ฅผ ์ฐพ์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

https://quay.io/repository/mongodb/mongodb-atlas-operator

์ด Atlas Kubernetes Operator ํ‰๊ฐ€ํŒ ๋ฆด๋ฆฌ์Šค์—์„œ๋Š” Kubernetes ์‚ฌ์–‘์œผ๋กœ Atlas ํ”„๋กœ์ ํŠธ, cluster, ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์‚ฌ์šฉ์ž๋ฅผ managedํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.