관리자는 KMM 모듈을 사용하여 클러스터에서 업그레이드를 수행하기 전에 KMM을 사용하여 설치된 커널 모듈이 클러스터 업그레이드 및 가능한 커널 업그레이드 후 노드에 설치할 수 있는지 확인해야 합니다. 사전 진행에서는 클러스터에 로드 된 모든 모듈을 병렬로 검증합니다. preflight은 다른 모듈의 검증을 시작하기 전에 한 모듈 의 검증이 완료될 때까지 기다리지 않습니다.
사전 진행 검증은 클러스터에서 PreflightValidationOCP 리소스를 생성하여 트리거됩니다. 이 사양에는 두 개의 필드가 있습니다.
type PreflightValidationOCPSpec struct {
// releaseImage describes the OCP release image that all Modules need to be checked against.
// +kubebuilder:validation:Required
ReleaseImage string `json:"releaseImage"`
// Boolean flag that determines whether images build during preflight must also
// be pushed to a defined repository
// +optional
PushBuiltImage bool `json:"pushBuiltImage"`
}
type PreflightValidationOCPSpec struct {
// releaseImage describes the OCP release image that all Modules need to be checked against.
// +kubebuilder:validation:Required
ReleaseImage string `json:"releaseImage"`
1
// Boolean flag that determines whether images build during preflight must also
// be pushed to a defined repository
// +optional
PushBuiltImage bool `json:"pushBuiltImage"`
2
}
Copy to ClipboardCopied!Toggle word wrapToggle overflow