์ด๊ฒ์ ๋ฒ๊ทธ ๋ณด๊ณ ์์ ๋๊น ์๋๋ฉด ๊ธฐ๋ฅ ์์ฒญ์ ๋๊น? : ์ฒญ์
ํ๋๋ง ์ฃผ์ ์ฒ๋ฆฌํ๊ณ ํ ์ค์ ๊ทธ๋๋ก ๋์ญ์์ค.
/์ข ๋ฅ ๋ฒ๊ทธ
/์ข ๋ฅ ๊ธฐ๋ฅ
generic_scheduler.go์ ๋จ์ ํ ์คํธ์๋ ์ ๊ฑฐํด์ผ ํ๋ ํดํน ์ด ํฌํจ๋์ด ์์ต๋๋ค. ์์ ์ ์๋ฅผ ๋ํ๋ด๋ ๋งค๊ฐ ๋ณ์๋ฅผ ํ ์คํธ ์ผ์ด์ค์ ์ถ๊ฐ ํ ๋ค์ ํจ์์ ๋ฐํ ๊ฐ์ด์ด ์์ ๊ฐ๊ณผ ์ผ์นํ๋์ง ํ์ธํด์ผํฉ๋๋ค.
์๋๋ ์ฐ๋ฆฌ๊ฐ ์ ๋ฆฌํด์ผ ํ ํดํน์ ๋๋ค.
if test.test == "test priority of larger pod with machine with zero-request pod" {
if hp.Score == expectedPriority {
t.Errorf("%s: expected non-%d for all priorities, got list %#v", test.test, expectedPriority, list)
}
}
/์๊ทธ ์ผ์
์์
ํ๊ฒ ์ต๋๋ค.
/์์์ธ
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
์์ ํ๊ฒ ์ต๋๋ค.
/์์์ธ