본문으로 바로가기 본문 바로가기
WIKI 기술 지식 베이스

IPAM 구성

원문 보기 위키 갱신

IP 주소 관리(IPAM) 구성 리소스(IPAMConfiguration)는 전역 IPAM 구성 옵션을 나타내요.

출처: IPAM configuration

본문

샘플 YAML

apiVersion: projectcalico.org/v3
kind: IPAMConfiguration
metadata:
  name: default
spec:
  strictAffinity: false
  maxBlocksPerHost: 4
  kubeVirtVMAddressPersistence: Enabled

IPAM 구성 정의

메타데이터

Field Description Accepted Values Schema
name Unique name to describe this resource instance. Required. default string

이 리소스는 싱글턴이어서 이름이 default여야 해요.

스펙 (Spec)

Field Description Accepted Values Schema Default
strictAffinity When StrictAffinity is true, borrowing IP addresses is not allowed. true, false bool false
maxBlocksPerHost The max number of blocks that can be affine to each host. 0 - max(int32) int 20
kubeVirtVMAddressPersistence Controls whether KubeVirt VMs retain persistent IP addresses across lifecycle events such as restart or migration. Requires KubeVirt. Enabled, Disabled string Enabled

더 알아보기 (Learn more)

IPAMConfiguration은 클러스터 전역 IPAM 동작을 정하는 싱글턴 리소스예요. strict affinity로 IP 빌림을 막을 수 있고, 호스트별 블록 수 상한도 여기서 정해요. KubeVirt 가상머신의 IP 유지 여부도 이 리소스로 제어돼요.