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

Calico 설치 API 참조 파트 6

원문 보기 위키 갱신

이 문서는 Calico 설치 API 레퍼런스의 파트 6입니다. Typha Deployment 구성부터 WAF 확장, Whisker, Windows 노드 설정, ZTunnel DaemonSet까지의 타입 정의를 다룹니다. 각 타입의 필드와 의미를 표로 확인하세요.

출처: 문서

본문

TyphaDeploymentPodTemplateSpec은 typha Deployment의 PodTemplateSpec입니다.

다음에서 사용됩니다:

Field Description
metadata Metadata (선택 사항) metadata 필드는 Kubernetes API 문서를 참고하세요.
spec TyphaDeploymentPodSpec (선택 사항) Spec은 typha Deployment의 PodSpec입니다.

TyphaDeploymentSpec

TyphaDeploymentSpec은 typha Deployment의 구성을 정의합니다.

다음에서 사용됩니다:

Field Description
minReadySeconds integer (선택 사항) MinReadySeconds는 새로 생성된 Deployment 파드가 available로 간주되기 위해, 컨테이너가 하나도 크래시되지 않은 상태로 ready를 유지해야 하는 최소 시간(초)입니다. 지정하면 typha Deployment에 설정된 minReadySeconds 값을 재정의합니다. 생략하면 typha Deployment가 minReadySeconds 기본값을 사용합니다.
template TyphaDeploymentPodTemplateSpec (선택 사항) Template은 생성될 typha Deployment 파드를 설명합니다.
strategy TyphaDeploymentStrategy (선택 사항) 기존 파드를 새 파드로 교체할 때 사용할 배포 전략입니다.

TyphaDeploymentStrategy

TyphaDeploymentStrategy는 기존 파드를 새 파드로 교체하는 방법을 설명합니다. 현재는 RollingUpdate만 지원하므로 Type 필드는 노출되지 않습니다.

다음에서 사용됩니다:

Field Description
rollingUpdate RollingUpdateDeployment (선택 사항) 롤링 업데이트 구성 파라미터입니다. DeploymentStrategyType = RollingUpdate인 경우에만 존재합니다. to be.

WAFExtensionSpec

WAFExtensionSpec은 WAF Gateway API 애드온을 구성합니다.

다음에서 사용됩니다:

Field Description
state WAFExtensionState (선택 사항) State는 WAF Gateway API 애드온을 켜거나 끕니다. 기본값(nil 또는 "Disabled")은 오퍼레이터가 calico-kube-controllers에 WAF 표면을 렌더링하지 않음을 의미합니다. 사용하려면 "Enabled"로 설정하세요.

WAFExtensionState

기반 타입: string

WAFExtensionState는 WAF Gateway API 애드온의 on/off enum입니다.

유효성 검사:

  • Enum: [Enabled Disabled]

다음에서 사용됩니다:

Value Description
Enabled
Disabled

Whisker

Field Description
apiVersion string operator.tigera.io/v1
kind string Whisker
metadata ObjectMeta metadata 필드는 Kubernetes API 문서를 참고하세요.
spec WhiskerSpec
status WhiskerStatus

WhiskerDeployment

WhiskerDeployment는 whisker Deployment의 구성입니다.

다음에서 사용됩니다:

Field Description
metadata Metadata (선택 사항) metadata 필드는 Kubernetes API 문서를 참고하세요.
spec WhiskerDeploymentSpec (선택 사항) Spec은 whisker Deployment의 명세입니다.

WhiskerDeploymentContainer

다음에서 사용됩니다:

Field Description
name string
resources ResourceRequirements (선택 사항)
readinessProbe ProbeOverride (선택 사항) ReadinessProbe는 readiness 프로브의 타이밍 파라미터를 사용자 지정할 수 있게 해 줍니다. 프로브 핸들러는 오퍼레이터가 설정하며 재정의할 수 없습니다.
livenessProbe ProbeOverride (선택 사항) LivenessProbe는 liveness 프로브의 타이밍 파라미터를 사용자 지정할 수 있게 해 줍니다. 프로브 핸들러는 오퍼레이터가 설정하며 재정의할 수 없습니다.

WhiskerDeploymentPodSpec

WhiskerDeploymentPodSpec은 whisker Deployment의 PodSpec입니다.

다음에서 사용됩니다:

Field Description
affinity Affinity (선택 사항) Affinity는 whisker 파드를 위한 어피니티 스케줄링 규칙 그룹입니다.
containers WhiskerDeploymentContainer array (선택 사항) Containers는 whisker 컨테이너 목록입니다. 지정하면 지정된 EGW Deployment 컨테이너를 재정의합니다. 생략하면 whisker Deployment가 컨테이너 기본값을 사용합니다.
nodeSelector object (keys:string, values:string) (선택 사항) NodeSelector는 whisker 파드가 실행될 노드를 더 세밀하게 제어하게 해 줍니다.
terminationGracePeriodSeconds integer (선택 사항) TerminationGracePeriodSeconds는 whisker 파드의 종료 유예 기간을 초 단위로 정의합니다.
topologySpreadConstraints TopologySpreadConstraint array (선택 사항) TopologySpreadConstraints는 파드 그룹이 토폴로지 도메인에 걸쳐 어떻게 분산되어야 하는지 설명합니다. 스케줄러는 이 제약 조건을 준수하는 방식으로 파드를 배치합니다. 모든 topologySpreadConstraints는 AND로 결합됩니다.
tolerations Toleration array (선택 사항) Tolerations는 whisker 파드의 톨러레이션입니다. 지정하면 whisker Deployment에 설정된 톨러레이션을 재정의합니다. 생략하면 whisker Deployment가 톨러레이션 기본값을 사용합니다.
priorityClassName string (선택 사항) PriorityClassName은 사용할 PriorityClass 리소스를 지정하게 해 줍니다.

WhiskerDeploymentPodTemplateSpec

WhiskerDeploymentPodTemplateSpec은 whisker Deployment의 PodTemplateSpec입니다.

다음에서 사용됩니다:

Field Description
metadata Metadata (선택 사항) metadata 필드는 Kubernetes API 문서를 참고하세요.
spec WhiskerDeploymentPodSpec (선택 사항) Spec은 whisker Deployment의 PodSpec입니다.

WhiskerDeploymentSpec

WhiskerDeploymentSpec은 whisker Deployment의 구성을 정의합니다.

다음에서 사용됩니다:

Field Description
minReadySeconds integer (선택 사항) MinReadySeconds는 새로 생성된 Deployment 파드가 available로 간주되기 위해, 컨테이너가 하나도 크래시되지 않은 상태로 ready를 유지해야 하는 최소 시간(초)입니다. 지정하면 whisker Deployment에 설정된 minReadySeconds 값을 재정의합니다. 생략하면 whisker Deployment가 minReadySeconds 기본값을 사용합니다.
template WhiskerDeploymentPodTemplateSpec (선택 사항) Template은 생성될 whisker Deployment 파드를 설명합니다.
strategy WhiskerDeploymentStrategy (선택 사항) 기존 파드를 새 파드로 교체할 때 사용할 배포 전략입니다.

WhiskerDeploymentStrategy

다음에서 사용됩니다:

Field Description
rollingUpdate RollingUpdateDeployment (선택 사항) 롤링 업데이트 구성 파라미터입니다. DeploymentStrategyType = RollingUpdate인 경우에만 존재합니다. to be.

WhiskerSpec

다음에서 사용됩니다:

Field Description
whiskerDeployment WhiskerDeployment
notifications NotificationMode (선택 사항) 기본값: Enabled. 이 설정은 Whisker UI에서 알림 배너 텍스트를 가져오기 위한 외부 API 호출을 활성화합니다. 허용 값은 Enabled 또는 Disabled이며, 기본값은 Enabled입니다.

WhiskerStatus

WhiskerStatus는 Whisker의 관찰된 상태를 정의합니다.

다음에서 사용됩니다:

Field Description
conditions Condition array (선택 사항) Conditions는 컴포넌트에 대해 가장 최근에 관찰된 조건 집합을 나타냅니다. 컴포넌트는 Ready, Progressing, Degraded 또는 기타 사용자 정의 타입 중 하나 이상일 수 있습니다.

WindowsDataplaneOption

기반 타입: string

유효성 검사:

  • Enum: [HNS Disabled]

다음에서 사용됩니다:

Value Description
Disabled
HNS

WindowsNodeSpec

다음에서 사용됩니다:

Field Description
cniBinDir string (선택 사항) CNIBinDir는 Windows에서 CNI 바이너리 디렉터리 경로이며, Windows 노드의 containerd 'config.toml' 파일에서 [plugins] [plugins."io.containerd.grpc.v1.cri"] [plugins."io.containerd.grpc.v1.cri".cni] 아래의 'bin_dir'로 사용되는 값과 일치해야 합니다.
cniConfigDir string (선택 사항) CNIConfigDir는 Windows에서 CNI 구성 디렉터리 경로이며, Windows 노드의 containerd 'config.toml' 파일에서 [plugins] [plugins."io.containerd.grpc.v1.cri"] [plugins."io.containerd.grpc.v1.cri".cni] 아래의 'conf_dir'로 사용되는 값과 일치해야 합니다.
cniLogDir string (선택 사항) CNILogDir는 Windows에서 Calico CNI 로그 디렉터리의 경로입니다.
vxlanMACPrefix string (선택 사항) VXLANMACPrefix는 가상 NIC의 MAC 주소를 생성할 때 사용하는 접두사입니다.
vxlanAdapter string (선택 사항) VXLANAdapter는 VXLAN에 사용할 네트워크 어댑터이며, 기본 NIC를 쓰려면 비워 두세요.

ZTunnelDaemonset

ZTunnelDaemonset은 ZTunnelDaemonset 컴포넌트에 대한 사용자 지정 설정을 정의합니다.

다음에서 사용됩니다:

Field Description
spec ZTunnelDaemonsetSpec (선택 사항) Spec을 통해 사용자가 ZTunnel DaemonSet에 사용자 지정 필드를 지정할 수 있습니다.

ZTunnelDaemonsetPodSpec

ZTunnelDaemonsetPodSpec은 ZTunnel DaemonSet을 사용자 지정하기 위한 파드 스펙을 정의합니다.

다음에서 사용됩니다:

Field Description
affinity Affinity (선택 사항) Affinity는 배포에 대한 어피니티를 지정합니다.
nodeSelector object (keys:string, values:string) (선택 사항) NodeSelector는 배포에 대한 노드 어피니티를 지정합니다.
resources ResourceRequirements (선택 사항) Resources는 배포에 필요한 컴퓨팅 리소스를 지정합니다.
tolerations Toleration array (선택 사항) Tolerations는 배포에 대한 톨러레이션을 지정합니다.

ZTunnelDaemonsetSpec

ZTunnelDaemonsetSpec은 ZTunnel DaemonSet을 사용자 지정하기 위한 스펙을 정의합니다.

다음에서 사용됩니다:

Field Description
template ZTunnelDaemonsetSpecTemplate (선택 사항) Template을 통해 사용자가 ZTunnel DaemonSet에 사용자 지정 필드를 지정할 수 있습니다.

ZTunnelDaemonsetSpecTemplate

ZTunnelDaemonsetSpecTemplate은 ZTunnel DaemonSet을 사용자 지정하기 위한 템플릿을 정의합니다.

다음에서 사용됩니다:

Field Description
spec ZTunnelDaemonsetPodSpec (선택 사항) Spec을 통해 사용자가 ZTunnel DaemonSet에 사용자 지정 필드를 지정할 수 있습니다.

더 알아보기 (Learn more)

이 파트에는 Typha, Whisker, ZTunnel 같은 부가 컴포넌트의 배포 구성 타입이 모여 있습니다. 각 필드의 정확한 동작이 궁금하면 원문 레퍼런스에서 해당 타입의 앵커를 따라가 보세요. Windows 노드를 운영한다면 WindowsNodeSpec의 CNI 디렉터리 설정도 함께 확인하세요.