VxRail. Команды kubectl возвращают: Вы должны войти на сервер неавторизованно
Summary: Команды VxRail Manager kubectl возвращают: Вы должны войти на сервер (Unauthorized) из-за неверных данных 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
При выполнении любых команд kubectl в VxRail Manager отображаются следующие выходные данные:
error: You must be logged in to the server (Unauthorized)

Это не наблюдается при загрузке kubeconfig из файла YAML rke2: /etc/rancher/rke2/rke2.yaml
kubectl --kubeconfig /etc/rancher/rke2/rke2.yaml -n helium get nodes

Эта ошибка также наблюдается при выполнении параметра remove node в 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 и предоставьте эту статью базы знаний для справки.
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.