카테고리 없음

kubeflow UI 연동이슈(레파지토리docker 로 변경하세요 )

미니대왕님 2024. 8. 23. 13:29

1. 멀쩡하게 잘 연결되었던 kubeflow 가 갑자기 연결이 안됩니다. 

 

2. 해당 내용을 확인해보니. authservice-0 pod 가 에러난 상황이더군요 

 

3. 내용을 확인해보니 이미지가 깨졌네요... 모든 이슈는 반드시 에러 로그를 잘 확인해야만 합니다. 

    Warning  Failed     12m (x4 over 13m)     kubelet            Error: ErrImagePull                                                                         │
│   Warning  Failed     11m (x6 over 13m)     kubelet            Error: ImagePullBackOff                                                                     │

4. 먼저 namespace -> istio-system 으로 들어가서

5.  authservice-0  pod 가 정상인지를 확인합니다. 

6. 이벤트 내용으로는 이미지를 불러 올수 없는 상황인것 같네요 

│ Events:                                                                                                                                                    │
│   Type     Reason     Age                   From               Message                                                                                     │
│   ----     ------     ----                  ----               -------                                                                                     │
│   Normal   Scheduled  13m                   default-scheduler  Successfully assigned istio-system/authservice-0 to w3-k8s                                  │
│   Normal   Pulling    12m (x4 over 13m)     kubelet            Pulling image "gcr.io/arrikto/kubeflow/oidc-authservice:e236439"                            │
│   Warning  Failed     12m (x4 over 13m)     kubelet            Failed to pull image "gcr.io/arrikto/kubeflow/oidc-authservice:e236439": rpc error: code =  │
│ Unknown desc = failed to pull and unpack image "gcr.io/arrikto/kubeflow/oidc-authservice:e236439": failed to resolve reference "gcr.io/arrikto/kubeflow/oi │
│ dc-authservice:e236439": pulling from host gcr.io failed with status code [manifests e236439]: 401 Unauthorized                                            │
│   Warning  Failed     12m (x4 over 13m)     kubelet            Error: ErrImagePull                                                                         │
│   Warning  Failed     11m (x6 over 13m)     kubelet            Error: ImagePullBackOff                                                                     │
│   Normal   BackOff    3m44s (x42 over 13m)  kubelet            Back-off pulling image "gcr.io/arrikto/kubeflow/oidc-authservice:e236439"

7. image 를 pull못하고 있지요 ?

 

8. 조치 방법 : 해당 파드에 edit 로 들어가서 아래와 같은 화면을 체크해보면 image 교체를 해줍니다. 

     AS IS : image: gcr.io/arrikto/kubeflow/oidc-authservice:e236439

    TO be : image: docker.io/kubeflowmanifestswg/oidc-authservice:e236439

 

9. 아래와 같이 교체 해줍니다. 

10.방법은 아래 보이는 authservice-o에 K9S 에서는 "e" 버튼 누르면 edit 기능이 있습니다. 거기서 수정모드로 들어가서 

수정하시면 되겠습니다. 

 

11 . 마무리 : 이렇게 연동이 잘 됨을 확인할수가 있습니다.