봉자씨
친절한 봉자씨의 딥러닝 이야기
봉자씨
전체 방문자
오늘
어제
  • 분류 전체보기 (144)
    • 개발 (25)
      • 딥러닝 단어장 (2)
      • MLOps (6)
      • 딥러닝, Computer Vision (3)
      • Pytorch (0)
      • Develop (5)
      • Kubernetes (4)
      • 대학원생의 좌충우돌 GPU 클러스터 구축기 (3)
      • LangChain (1)
    • 경제 (115)
      • 경제 용어 단어장 (0)
      • 경제일기 (113)

인기 글

최근 글

블로그 메뉴

  • 홈
  • 태그
  • Github

공지사항

최근 댓글

태그

  • 채권
  • 경기침체
  • AI
  • ChatGPT
  • 위스키
  • 자이언트스탭
  • 금리동결
  • 금리인상
  • 주식
  • Kubernetes
  • SVB파산
  • SVB
  • 중국리오프닝
  • MLOps
  • 부동산
  • 금리
  • 대출부실
  • 금리인하
  • CPI
  • 경제일기
  • k8s
  • 딥러닝
  • 장단기금리차
  • fomc
  • Kubeflow
  • 은행파산
  • kserve
  • kubectl
  • 빅스탭
  • 인플레이션

티스토리

250x250
hELLO · Designed By 정상우.
봉자씨

친절한 봉자씨의 딥러닝 이야기

개발/MLOps

015. [Kubeflow][KServe] Could not find CSRF cookie XSRF-TOKEN in the request 문제 해결

2022. 7. 14. 00:17
반응형

개요

Kubeflow 1.5 버전을 manifests로 설치하면 Kserve 모델 생성, Request 요청시 Could not find CSRF cookie XSRF-TOKEN in the request 에러가 발생한다.

Kubeflow 1.5 버전 부터 KFserving의 이름이 Kserve로 바뀌고 Kubeflow에서 완전히 분리되어 개별 설치가 가능해졌다. 그러나 1.5버전은 호환성을 위해 기존 KFServing과 Kserve가 같이 설치 될 수 있다. 이 때문에 에러가 발생하는데, 기본 설치 Manifest의 README.md에는 별다른 설명 없이 kustomization yaml 파일에만 주석이 되어 있어서 아주 해결법을 찾기 까다롭다.

 

해결법

해결법은 아주 간단하다.

1. 기존에 설치한 Kubeflow 삭제

2. contrib/kserve/kserve/kustomization.yaml 파일을 다음과 같이 수정한다.

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
#- kserve.yaml                    <<< 주석 추가
#- aggregated-roles.yaml          <<< 주석 추가
# For KF 1.5 we are including both KFServing and KServe. Thus we install the
# standalone kserve manifests, to avoid conflicts with 0.6.1 KFServing.
- kserve_kubeflow.yaml            <<< 주석 삭제

3. 변경한 kustomization으로 설치를 진행한다.

 


2022.04.25에 이를 반영한 PR을 올렸는데 아직도 안받아주고 있다. 왜 리뷰를 안해주는거야.. (PR 한번씩 좋아요 부탁드립니다!!)

https://github.com/kubeflow/manifests/pull/2192/

 

Add kserve install instrunctions by kairos03 · Pull Request #2192 · kubeflow/manifests

Which issue is resolved by this Pull Request: Resolves #2178 Description of your changes: Add Kserve install instructions for integrate with kubeflow without KFServing. Checklist: Unit tests pass...

github.com

 

반응형
저작자표시 동일조건 (새창열림)

'개발 > MLOps' 카테고리의 다른 글

020. [Kubeflow][KServe] 인증문제 해결하기 (Istio-Dex)  (1) 2022.09.21
019. [Kubeflow][KServe] InferenceService 처음 배포하기!  (1) 2022.09.19
018. [Kubeflow][KServe] SKLearn model InferenceService 배포하기  (0) 2022.09.16
017. [Kubeflow][KServe] Model Serving Control Plane  (2) 2022.09.15
016. [Kubeflow][KServe] Model Serving Data Plane  (0) 2022.09.14
    '개발/MLOps' 카테고리의 다른 글
    • 019. [Kubeflow][KServe] InferenceService 처음 배포하기!
    • 018. [Kubeflow][KServe] SKLearn model InferenceService 배포하기
    • 017. [Kubeflow][KServe] Model Serving Control Plane
    • 016. [Kubeflow][KServe] Model Serving Data Plane
    봉자씨
    봉자씨
    인공지능, 딥러닝, MLOps 이야기로 여러분을 찾아갑니다!

    티스토리툴바