You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

端口转发遇Error from server (NotFound): services "argocd-server" not found问题求助

解决ArgoCD端口转发提示"argocd-server服务未找到"的问题
  • 先确认ArgoCD默认命名空间状态及资源:
    执行命令:kubectl get all -n argocd
    如果提示命名空间不存在,先创建:kubectl create namespace argocd

  • 清理残留并重新执行完整安装:
    若之前安装中途中断,先删除残留资源:
    kubectl delete -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
    再重新执行官方安装命令:
    kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
    等待所有Pod进入Running状态后,检查服务是否存在:kubectl get svc -n argocd

  • 排查安装失败细节:
    若重新安装后仍无argocd-server服务,先列出命名空间下的Pod:kubectl get pods -n argocd
    对状态异常的Pod查看启动详情:kubectl describe pods <异常Pod名称> -n argocd
    重点关注Events区域,排查是否存在镜像拉取失败、权限不足等问题。

  • 确认kubectl操作上下文:
    执行kubectl config current-context,确保当前操作的是目标Kubernetes集群,避免误操作到其他环境。

内容的提问来源于stack exchange,提问作者CloudLearning

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.21 22:22:39