๐Ÿฅ

[Kubernetes] NodeSelector ์„ค์ • ๋ณธ๋ฌธ

๊ธฐํƒ€

[Kubernetes] NodeSelector ์„ค์ •

•8• 2024. 4. 9. 17:38

deployment ๋‚˜ statefulsets yaml ํŒŒ์ผ์—์„œ ์„ค์ •ํ•˜๋Š” ๋ฐฉ๋ฒ•

 

`spec.template.spec.nodeSelector`์ถ”๊ฐ€ (containers ์™€ ๊ฐ™์€ depth)

์ถ”๊ฐ€๋กœ ๋ฐ์ดํ„ฐํƒ€์ž…์ด map[string] ์ด์–ด์•ผํ•ด์„œ ์ˆซ์ž๋กœ๋งŒ ์ด๋ฃจ์–ด์ ธ์žˆ์œผ๋ฉด ๋”ฐ์˜ดํ‘œ ์ถ”๊ฐ€ ํ•„์š”