搭建K8S 的dashboard的坑the server could not find the requested resource_dashboard the server could not find the requested -程序员宅基地

技术标签: k8s  

搭建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 版本的就可以了!!!!!!!!!

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/ppppppushcar/article/details/102608450

智能推荐

layui table表单提示数据接口请求异常:parsererror_数据接口请求异常:parsererror-程序员宅基地

文章浏览阅读6.9k次。返回数据格式不符合要求输出格式为{"code":0,"msg":"","count":1000,"data":[{"id":1,"username":"zs",},{"id":2,"username":"gf", }]}..._数据接口请求异常:parsererror

替换python字典中的key值_字典替换值-程序员宅基地

文章浏览阅读2w次,点赞5次,收藏10次。比如有一个 a = {‘a’: 1}希望变为 a = {‘b’ :1}即:在保留value不变的情况下,替换key值目前能想到的实现方案是 a[‘b’] = a.pop(‘a’)_字典替换值

程序员的路上,你掌握了什么概念或技术使你感觉自我提升惊人?_程序员感觉没啥提升-程序员宅基地

文章浏览阅读394次。你学会了做功能,用各种库,各种框架,项目形形绝色,需求千姿百态,变化莫测。但你都过来了,凭借着优秀的搜索素养,复制黏贴,錸主义的能力(我不是在讽刺,这是一种编程必须的能力),成功地解决了一个又一个陌生的需求。你觉得自己走过了很长的路。这时候大概三年过去了,确实不短。但也渐渐意识到似乎缺了什么东西,有一种不满足感,以前你只追求高效率地完成工作,现在你想追求得更多一点。_程序员感觉没啥提升

hihoCoder 1014 Trie树【python版】_hihocoder 1014 python-程序员宅基地

文章浏览阅读703次。python版的简单字典树:n = int(raw_input())lis = []for i in range(n): str = raw_input() lis.append(str)trie = {}for i in range(n): p=trie for ch in lis[i]: if not p.has_key(ch): _hihocoder 1014 python

linux驱动-file_operations之mmap_file_operations mmap-程序员宅基地

文章浏览阅读3.8k次。简述: linux内存空间分为用户空间和内核空间,应用程序是不能直接访问内核空间的数据。 mmap就是建立内核空间映射到用户空间虚拟地址上,之后,应用程序直接访问映射后虚拟地址,实际是在访问内核空间。应用程序mmap的系统调用: mmap声明的头文件:#include 如是ubuntu系统,可以在/usr/include/sys目录下查看 应用程序mmap声明:voi_file_operations mmap

Tornado介绍-程序员宅基地

文章浏览阅读645次。文章目录特点结构模块Tornado服务器的三个底层核心模块设计模型Tornado龙卷风是一个开源的网络服务器框架,它是基于社交聚合网站FriendFeed的实时信息服务开发而来的Tornado是使用Python编写的Web服务器兼Web应用框架与主流Web服务器框架不同的是,Tornado是异步非阻塞式服务器,得益于非阻塞式和对epoll模型的运用Tornado是实时Web服务的一个理想框架,它非常适合开发长轮询、WebSocket和需要与每个用户建立持久连接的应用特点轻量级Web框架_tornado

随便推点

springboot 2.1.6通用controller中@RequestBody无法获取到参数-程序员宅基地

文章浏览阅读1k次。一直想写一个通用Controller,最近试了试,使用的是面向接口编程。BaseController如下:package com.scgc.es.controller;import org.springframework.web.bind.annotation.ModelAttribute;import org.springframework.web.bind.annotation...

rs.open sql,conn,1,1 与rs.open sql,conn,1,3 的区别-程序员宅基地

文章浏览阅读4.2k次。经常开发asp但对于细致的说法,真实不太清楚,这里简单的介绍下。一般情况下 读取数据都是用rs.open sql,conn,1,1 修改数据:rs.open sql,conn,1,3 删除数据:直接要conn.execute(“delete * from new where id=1”)这样的。Rs.Open语法如下:rs.Open Source,ActiveConnection,C..._rs.open sql,conn,1,3

edb-debugger在Ubuntu环境下的安装_ubuntu安装edb-dubuger-程序员宅基地

文章浏览阅读7.8k次,点赞3次,收藏13次。edb-debugger的安装资料博客上都只有比较旧的版本,一开始参考安装的时候一直出错,在edb-debugger的github主页上也只找到依赖库的条件。 Dependency Version Required Qt >= 4.6 Boost (Headers Only) >= 1.35 Capstone >= 3.0 [Graphviz] (http://ww_ubuntu安装edb-dubuger

实战wxPython: 002-wxPython提供了哪些模块用于Python应用开发_wxpython模块-程序员宅基地

文章浏览阅读314次。wxPython是用于创建桌面GUI应用程序的跨平台工具包。其主要作者是Robin Dunn。它是基于成熟的跨平台C ++库wxWidgets的Python包装。使用wxPython,开发人员可以在Windows,Mac和各种Unix系统上创建应用程序。_wxpython模块

内存泄漏解决思路_idea如何查线程泄露-程序员宅基地

文章浏览阅读120次。发现linux上服务 刚启动的时候是 占用700MB,一直在跑商品同步,初步怀疑是商品同步的时候导致内存泄漏开始排查 ps -aux|grep tomcat 使用查看内存 发现占用 2.5G查看到 端口是 47407 使用 jmap -dump:live,format=b,file=heap5.hprof 47407生成快照 heap.hprofidea安装 jprofilerwind..._idea如何查线程泄露

谁说菜鸟不会数据分析-程序员宅基地

文章浏览阅读109次。第四章 数据处理4.2 数据清洗1.重复数据处理筛选重复数据:(1)函数法:对 =COUNTIF(A:A, A2) =COUNTIF(A$2:A2, A2) 粗体部分不理解;(2)高级筛选法;(3)条件格式法:对重复值进行标记;(4)数据透视表法:用数据透视表标记重复出现的次数。 删除重复数据:(1)法一 菜单操作删除:选中区域--“数据”选项卡--“数据工具”--“删除重复项”;...

推荐文章

热门文章

相关标签