[์ฟ ๋ฒ๋คํฐ์ค] concepts/overview/working-with-objects/names
- ์๋ฌธ
**Names must be unique across all [API versions](/docs/concepts/overview/kubernetes-api/#api-groups-and-versioning)
of the same resource. API resources are distinguished by their API group, resource type, namespace
(for namespaced resources), and name. In other words, API version is irrelevant in this context.**
- ๋ฒ์ญ
์ด๋ฆ์ ๋์ผํ ๋ฆฌ์์ค์ ๋ชจ๋ API ๋ฒ์ ์์ ๊ณ ์ ํด์ผ ํ๋ค.
API ๋ฆฌ์์ค๋ API ๊ทธ๋ฃน, ๋ฆฌ์์ค ์ ํ, ๋ค์์คํ์ด์ค(๋ค์์คํ์ด์ค ๋ฒ์ ๋ฆฌ์์ค์ ๊ฒฝ์ฐ), ๊ทธ๋ฆฌ๊ณ ์ด๋ฆ์ผ๋ก ๊ตฌ๋ถ๋๊ธฐ ๋๋ฌธ์,
์ด ๋งฅ๋ฝ์์๋ API ๋ฒ์ ์ ๊ณ ๋ ค ๋์์ด ์๋๋ค.
- ์๋ฏธ
์๋ฅผ ๋ค์ด, apps/v1์ด๋ apps/v1beta1 ์ Deployment๋ ๋์ผํ ๋ฆฌ์์ค ์ ํ์ด๊ธฐ ๋๋ฌธ์,
๊ฐ์ ๋ค์์คํ์ด์ค ์์์ ์ด๋ฆ์ด ๊ฐ์ผ๋ฉด ์ถฉ๋ํ๋ค๋ ๋ป์ด๋ค.
- ์์ด ๋ฌธ์
https://kubernetes.io/docs/concepts/overview/working-with-objects/names/
Object Names and IDs
Each object in your cluster has a Name that is unique for that type of resource. Every Kubernetes object also has a UID that is unique across your whole cluster. For example, you can only have one Pod named myapp-1234 within the same namespace, but you can
kubernetes.io
- ํ๊ธ ๋ฌธ์
https://kubernetes.io/ko/docs/concepts/overview/working-with-objects/names/
์ค๋ธ์ ํธ ์ด๋ฆ๊ณผ ID
ํด๋ฌ์คํฐ์ ๊ฐ ์ค๋ธ์ ํธ๋ ํด๋น ์ ํ์ ๋ฆฌ์์ค์ ๋ํ์ฌ ๊ณ ์ ํ ์ด๋ฆ ์ ๊ฐ์ง๊ณ ์๋ค. ๋ํ, ๋ชจ๋ ์ฟ ๋ฒ๋คํฐ์ค ์ค๋ธ์ ํธ๋ ์ ์ฒด ํด๋ฌ์คํฐ์ ๊ฑธ์ณ ๊ณ ์ ํ UID ๋ฅผ ๊ฐ์ง๊ณ ์๋ค. ์๋ฅผ ๋ค์ด, ์ด๋ฆ์ด mya
kubernetes.io