블록 어피니티
블록 어피니티 (Block affinity)
블록 어피니티 리소스(BlockAffinity)는 노드와 IP 주소 관리(IPAM) 블록 사이의 어피니티를 나타내요. Calico IPAM이 이 리소스들을 자동으로 생성하고 관리하기 때문에, 보통은 직접 만들거나 수정할 필요가 없어요.
출처: Block affinity
본문
블록 어피니티 정의
메타데이터
| Field | Description | Accepted Values | Schema |
|---|---|---|---|
| name | Unique name to describe this resource instance. Must be specified. | Alphanumeric string with optional ., _, or -. |
string |
스펙 (Spec)
| Field | Description | Accepted Values | Schema | Default |
|---|---|---|---|---|
| state | State of the affinity with regard to any referenced IPAM blocks. | confirmed, pending, pendingDeletion | string | |
| node | The node that this affinity is assigned to. | The hostname of the node | string | |
| cidr | The CIDR range this block affinity references. | A valid IPv4 or IPv6 CIDR. | string | |
| deleted | When set to true, clients should treat this block as if it does not exist. | true, false | boolean | false |
더 알아보기 (Learn more)
BlockAffinity는 어떤 노드가 어떤 IPAM 블록을 소유하는지 기록하는 리소스예요. Calico IPAM이 자동으로 관리하니 직접 다룰 일은 거의 없어요. state 필드의 confirmed/pending/pendingDeletion 값으로 어피니티의 진행 상태를 구분해요.