문제
ai deployment의 PVC mountPath가 /app/models로 설정되어 있으나
실제 모델 저장 경로는 /code/models임.
이미지 갱신 시 모델 파일이 초기화되어 매 배포마다 ML 재학습 필요.
원인
Dockerfile WORKDIR: /code
모델 저장 경로: /code/models/isolation_forest.pkl
PVC mountPath: /app/models (불일치)
해결
mountPath를 /code/models로 수정
문제
ai deployment의 PVC mountPath가 /app/models로 설정되어 있으나
실제 모델 저장 경로는 /code/models임.
이미지 갱신 시 모델 파일이 초기화되어 매 배포마다 ML 재학습 필요.
원인
Dockerfile WORKDIR: /code
모델 저장 경로: /code/models/isolation_forest.pkl
PVC mountPath: /app/models (불일치)
해결
mountPath를 /code/models로 수정