VxRail: kubectl 명령은 다음을 반환합니다. 서버에 로그인해야 함 승인되지 않음
Summary: VxRail Manager kubectl 명령이 다음을 반환합니다. 잘못된 kubeconfig 데이터로 인해 서버에 로그인해야 합니다(권한 없음).
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
VxRail Manager에서 kubectl 명령을 실행할 때 다음 출력이 표시됩니다.
error: You must be logged in to the server (Unauthorized)

rke2 YAML 파일에서 kubeconfig를 로드할 때는 이 문제가 표시되지 않습니다. /etc/rancher/rke2/rke2.yaml
kubectl --kubeconfig /etc/rancher/rke2/rke2.yaml -n helium get nodes

이 오류는 스크립트 dell_node_replacement.py에서 노드 제거 옵션을 실행할 때도 나타납니다.
Failed to clean redis!\error: You must be logged in to the server (Unauthorized)
error: pod, type/name or --filename must be specified Cause
RKE2 서비스가 1년 이상 실행되었습니다. $HOME/.kube/config 만료되었습니다.
Resolution
이 문제가 발생하면 Dell 지원 부서에 지원을 문의하고 참조용으로 이 KB를 제공하십시오.
Affected Products
VxRail Appliance Family, VxRail Appliance SeriesArticle Properties
Article Number: 000212809
Article Type: Solution
Last Modified: 08 Apr 2025
Version: 6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.