4.8. 장치 플러그인과 함께 in-tree 모듈 사용
경우에 따라 out-of-tree 커널 모듈을 로드하지 않고 장치 플러그인만 실행하는 in-tree 모듈을 사용하도록 KMM 모듈을 구성해야 할 수 있습니다. 이러한 경우 Module CR(사용자 정의 리소스)에서 moduleLoader 매개변수를 생략하고 다음 예와 같이 devicePlugin 섹션만 남겨 둘 수 있습니다.
예 4.1. 모듈 CR 예
apiVersion: kmm.sigs.x-k8s.io/v1beta1
kind: Module
metadata:
name: my-kmod
spec:
selector:
node-role.kubernetes.io/worker: ""
devicePlugin:
container:
image: some.registry/org/my-device-plugin:latest