搭建K8S 的dashboard的时候显示404
the server could not find the requested resource
如图所示

然后日志文件 是这个样子的

Oct 17 03:40:04 k8s-node2 journal: 2019/10/17 07:40:04 No metric client provided. Skipping metrics.
Oct 17 03:40:04 k8s-node2 journal: 2019/10/17 07:40:04 Getting pod metrics
Oct 17 03:40:04 k8s-node2 journal: 2019/10/17 07:40:04 No metric client provided. Skipping metrics.
Oct 17 03:40:04 k8s-node2 journal: 2019/10/17 07:40:04 No metric client provided. Skipping metrics.
Oct 17 03:40:04 k8s-node2 journal: 2019/10/17 07:40:04 No metric client provided. Skipping metrics.
Oct 17 03:40:08 k8s-node2 journal: 2019/10/17 07:40:08 [2019-10-17T07:40:08Z] Incoming HTTP/1.1 GET /api/v1/login/status request from 172.16.88.0:33056: {}
Oct 17 03:40:08 k8s-node2 journal: 2019/10/17 07:40:08 [2019-10-17T07:40:08Z] Outcoming response to 172.16.88.0:33056 with 200 status code
Oct 17 03:40:08 k8s-node2 journal: 2019/10/17 07:40:08 [2019-10-17T07:40:08Z] Incoming HTTP/1.1 GET /api/v1/overview?filterBy=&itemsPerPage=10&name=&page=1&sortBy=d%!C(MISSING)creationTimestamp request from 172.16.88.0:33056: {}
Oct 17 03:40:08 k8s-node2 journal: 2019/10/17 07:40:08 Getting config category
Oct 17 03:40:08 k8s-node2 journal: 2019/10/17 07:40:08 Getting discovery and load balancing category
Oct 17 03:40:08 k8s-node2 journal: 2019/10/17 07:40:08 Getting lists of all workloads
Oct 17 03:40:08 k8s-node2 journal: 2019/10/17 07:40:08 the server could not find the requested resource
Oct 17 03:40:08 k8s-node2 journal: 2019/10/17 07:40:08 [2019-10-17T07:40:08Z] Outcoming response to 172.16.88.0:33056 with 404 status code
Oct 17 03:40:08 k8s-node2 journal: 2019/10/17 07:40:08 No metric client provided. Skipping metrics.
Oct 17 03:40:08 k8s-node2 journal: 2019/10/17 07:40:08 No metric client provided. Skipping metrics.
Oct 17 03:40:08 k8s-node2 journal: 2019/10/17 07:40:08 No metric client provided. Skipping metrics.
Oct 17 03:40:08 k8s-node2 journal: 2019/10/17 07:40:08 Getting pod metrics
Oct 17 03:40:08 k8s-node2 journal: 2019/10/17 07:40:08 No metric client provided. Skipping metrics.
Oct 17 03:40:12 k8s-node2 journal: 2019/10/17 07:40:12 [2019-10-17T07:40:12Z] Incoming HTTP/1.1 GET /api/v1/login/status request from 172.16.88.0:33056: {}
Oct 17 03:40:12 k8s-node2 journal: 2019/10/17 07:40:12 [2019-10-17T07:40:12Z] Outcoming response to 172.16.88.0:33056 with 200 status code
Oct 17 03:40:12 k8s-node2 journal: 2019/10/17 07:40:12 [2019-10-17T07:40:12Z] Incoming HTTP/1.1 GET /api/v1/overview?filterBy=&itemsPerPage=10&name=&page=1&sortBy=d%!C(MISSING)creationTimestamp request from 172.16.88.0:33056: {}
Oct 17 03:40:12 k8s-node2 journal: 2019/10/17 07:40:12 Getting config category
Oct 17 03:40:12 k8s-node2 journal: 2019/10/17 07:40:12 Getting discovery and load balancing category
Oct 17 03:40:12 k8s-node2 journal: 2019/10/17 07:40:12 Getting lists of all workloads
Oct 17 03:40:12 k8s-node2 journal: 2019/10/17 07:40:12 the server could not find the requested resource
Oct 17 03:40:12 k8s-node2 journal: 2019/10/17 07:40:12 [2019-10-17T07:40:12Z] Outcoming response to 172.16.88.0:33056 with 404 status code
Oct 17 03:40:12 k8s-node2 journal: 2019/10/17 07:40:12 No metric client provided. Skipping metrics.
Oct 17 03:40:12 k8s-node2 journal: 2019/10/17 07:40:12 No metric client provided. Skipping metrics.
Oct 17 03:40:12 k8s-node2 journal: 2019/10/17 07:40:12 Getting pod metrics
Oct 17 03:40:12 k8s-node2 journal: 2019/10/17 07:40:12 No metric client provided. Skipping metrics.
Oct 17 03:40:12 k8s-node2 journal: 2019/10/17 07:40:12 No metric client provided. Skipping metrics.
Oct 17 03:40:16 k8s-node2 journal: 2019/10/17 07:40:16 [2019-10-17T07:40:16Z] Incoming HTTP/1.1 GET /api/v1/login/status request from 172.16.88.0:33056: {}
Oct 17 03:40:16 k8s-node2 journal: 2019/10/17 07:40:16 [2019-10-17T07:40:16Z] Outcoming response to 172.16.88.0:33056 with 200 status code
Oct 17 03:40:16 k8s-node2 journal: 2019/10/17 07:40:16 [2019-10-17T07:40:16Z] Incoming HTTP/1.1 GET /api/v1/overview?filterBy=&itemsPerPage=10&name=&page=1&sortBy=d%!C(MISSING)creationTimestamp request from 172.16.88.0:33056: {}
Oct 17 03:40:16 k8s-node2 journal: 2019/10/17 07:40:16 Getting config category
Oct 17 03:40:16 k8s-node2 journal: 2019/10/17 07:40:16 Getting discovery and load balancing category
Oct 17 03:40:16 k8s-node2 journal: 2019/10/17 07:40:16 Getting lists of all workloads
Oct 17 03:40:16 k8s-node2 journal: 2019/10/17 07:40:16 the server could not find the requested resource
Oct 17 03:40:16 k8s-node2 journal: 2019/10/17 07:40:16 [2019-10-17T07:40:16Z] Outcoming response to 172.16.88.0:33056 with 404 status code
Oct 17 03:40:16 k8s-node2 journal: 2019/10/17 07:40:16 No metric client provided. Skipping metrics.
Oct 17 03:40:16 k8s-node2 journal: 2019/10/17 07:40:16 No metric client provided. Skipping metrics.
Oct 17 03:40:16 k8s-node2 journal: 2019/10/17 07:40:16 No metric client provided. Skipping metrics.
Oct 17 03:40:16 k8s-node2 journal: 2019/10/17 07:40:16 Getting pod metrics
Oct 17 03:40:16 k8s-node2 journal: 2019/10/17 07:40:16 No metric client provided. Skipping metrics.
Oct 17 03:40:20 k8s-node2 journal: 2019/10/17 07:40:20 [2019-10-17T07:40:20Z] Incoming HTTP/1.1 GET /api/v1/login/status request from 172.16.88.0:33056: {}
Oct 17 03:40:20 k8s-node2 journal: 2019/10/17 07:40:20 [2019-10-17T07:40:20Z] Outcoming response to 172.16.88.0:33056 with 200 status code
Oct 17 03:40:20 k8s-node2 journal: 2019/10/17 07:40:20 [2019-10-17T07:40:20Z] Incoming HTTP/1.1 GET /api/v1/overview?filterBy=&itemsPerPage=10&name=&page=1&sortBy=d%!C(MISSING)creationTimestamp request from 172.16.88.0:33056: {}
Oct 17 03:40:20 k8s-node2 journal: 2019/10/17 07:40:20 Getting config category
Oct 17 03:40:20 k8s-node2 journal: 2019/10/17 07:40:20 Getting discovery and load balancing category
Oct 17 03:40:20 k8s-node2 journal: 2019/10/17 07:40:20 Getting lists of all workloads
Oct 17 03:40:20 k8s-node2 journal: 2019/10/17 07:40:20 the server could not find the requested resource
Oct 17 03:40:20 k8s-node2 journal: 2019/10/17 07:40:20 [2019-10-17T07:40:20Z] Outcoming response to 172.16.88.0:33056 with 404 status code
Oct 17 03:40:20 k8s-node2 journal: 2019/10/17 07:40:20 No metric client provided. Skipping metrics.
Oct 17 03:40:20 k8s-node2 journal: 2019/10/17 07:40:20 No metric client provided. Skipping metrics.
Oct 17 03:40:20 k8s-node2 journal: 2019/10/17 07:40:20 No metric client provided. Skipping metrics.
Oct 17 03:40:20 k8s-node2 journal: 2019/10/17 07:40:20 Getting pod metrics
Oct 17 03:40:20 k8s-node2 journal: 2019/10/17 07:40:20 No metric client provided. Skipping metrics.

求大神告诉我怎么解决的

docker.service 我配置了
iptables 我配置了
节点上的 对应容器也起来了


(已解决)
在官网上下载beta 版本的就可以了!!!!!!!!!

搭建K8S 的dashboard的坑the server could not find the requested resource相关推荐

  1. kubectl报错error validating data: the server could not find the requested resource

    使用跳板机执行kubectl 命令报错 kubectl --kubeconfig /root/.kube/config --context kubernetes-admin@kubernetes ap ...

  2. 搭建K8S dashboard

    书接上文:Centos7.9 从0到1搭建 K8S集群_u011663693的博客-CSDN博客本文记录自己从新建的centos7.9虚拟机搭建K8S集群的心路历程https://blog.csdn. ...

  3. 『中级篇』Minikube快速搭建K8S单节点环境(61)

    原创文章,欢迎转载.转载请注明:转载自IT人故事会,谢谢! 原文链接地址:『中级篇』Minikube快速搭建K8S单节点环境(61) 去介绍k8s的集群安装,本地搭建一个k8s的集群. 不会科学上网的 ...

  4. k8s部署dashboard

    1.dashboard概述 Dashboard是基于网页的Kubernetes用户界面.您可以使用Dashboard将容器应用部署到Kubernetes集群中,也可以对容器应用排错,还能管理集群资源. ...

  5. 企业级rancher搭建Kubernetes(采用rancher管理平台搭建k8s)

    一.简介 Rancher简介 来源官方:https://www.cnrancher.com/ Rancher是一个开源的企业级容器管理平台.通过Rancher,企业再也不必自己使用一系列的开源软件去从 ...

  6. Kubernetes教程之跟着官方文档从零搭建K8S

    本文将带领读者一起, 参照着 Kubernetes 官方文档,对其安装部署进行讲解.Kubernetes更新迭代很快,书上.网上等教程可能并不能适用于新版本,但官方文可以. Kubernetes 教程 ...

  7. Redmine3.3.3 搭建与不完全填坑指南

    为什么80%的码农都做不了架构师?>>>    Redmine3.3.3 搭建与不完全填坑指南 [TOC] 概要 Redmine3.3.3 搭建.不完全填坑指南.不联网安装.Wind ...

  8. Kubeadm 快速搭建 k8s v1.24.1 集群(openEuler 22.03 LTS)

    kubeadm 简介 kubeadm 是 Kubernetes(以下简称 k8s)官方提供的用于快速安装部署 k8s 集群的工具,伴随 k8s 每个版本的发布都会同步更新,kubeadm 会对集群配置 ...

  9. hualinux 进阶 1.7:kubeadm1.19搭建k8s群集 (最详细的手把手版)

    目录 一.环境说明 1.1常用问答 1.2 实验目标 1.3 相关配置说明 1.3.1关闭selinux 1.3.2关闭防火墙 1.3.3 时间同步 1.3.4 安装常用软件 1.3.5 安装epel ...

最新文章

  1. golang 文件 文件夹 创建 读取 移动 复制 写入 遍历
  2. Matlab函数解释:colormap
  3. struts2结果类型
  4. TCP/IP,Http,Socket,XMPP的区别
  5. Linux下Shell文件内容替换(sed)(转)
  6. 平台系统云服务器配置,01-云平台连接配置
  7. 微软老兵 Antoine LeBlond 将正式离职
  8. 正则表达式 6. 存在(或)
  9. hbase 特性与api
  10. Android 实现RecyclerView长按弹出Menu 点击删除
  11. 0x07 MySQL 多表查询
  12. https的安装(基于阿里云)
  13. WRF系列教程1:WRF如何得到更好的模拟结果?
  14. 全国计算机等级考试——C语言二级 题库
  15. 机器学习:XGBoost+LightGBM+catboost+5折+stacking的用法
  16. 编程中的源代码是什么?
  17. re python 引擎_转 python内置正则表达式(re)模块官方文档简要中文版
  18. OSG 加载 fbx模型 渲染 已解决
  19. AD20的最全安装步骤
  20. 校招总结(华为、远景、新美大、百度、腾讯、网易游戏)

热门文章

  1. python3for metro_Fluent Python 译本 读书笔记 第5章 一等函数
  2. 斗地主洗牌发牌——排序版
  3. maven私有仓库的搭建——nexus的安装
  4. 加油吧 !!!冲冲冲
  5. 小白操作:zuul网关升级为getway网关,以及jwt的使用
  6. C++开发短信验证码通知短信
  7. 计算机同步与异步的概念,同步与异步到底是什么???
  8. 【魔方攻略】斜转魔方教程(原创)
  9. web前端之幻灯片(二)--自动播放
  10. ubuntu显卡的参数说明