dashboard

kubernetes-dashboard(1.8.3)

邮差的信 提交于 2019-12-02 13:35:18
来自:https://www.cnblogs.com/RainingNight/p/deploying-k8s-dashboard-ui.html kubernetes-dashboard(1.8.3) Kubernetes Dashboard 是一个管理Kubernetes集群的全功能Web界面,旨在以UI的方式完全替代命令行工具(kubectl 等)。 目录 部署 创建用户 集成Heapster 访问 kubectl proxy NodePort API Server Ingress 部署 Dashboard需要用到 k8s.gcr.io/kubernetes-dashboard 的镜像,由于网络原因,可以采用预先拉取并打Tag或者修改yaml文件中的镜像地址,本文使用后者: kubectl apply -f http://mirror.faasx.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml 上面使用的yaml只是将 https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml 中的 k8s.gcr.io

Centos7部署k8s 实现过程

岁酱吖の 提交于 2019-12-02 08:37:26
搞了,两三天才算部署成功,看了很多人的文章,本身对这些东西也不懂,就是搭建起来看看是个啥玩意,想用的时候怎么用。 在自己的笔记本上搭建了3台虚拟机,前期已经准备好了 centos和docker 三台虚拟主机分别为 192.168.160.130 192.168.160.132 192.168.160.133 安装docker 所有节点都需要安装docker 1. 安装依赖包 yum install -y yum-utils device-mapper-persistent-data lvm2 2. 设置docker镜像源 yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo 3.安装docker ce yum list docker-ce --showduplicates | sort -r #查询ce版本    yum install -y docker-ce docker-ce-cli containerd.io #安装最新版本 4.启动docker systemctl start docker && systemctl enable docker 5.命令补全 yum -y install bash-completion #安装bash-completion

How to make a function in a for loop or lapply loop in a tabItem dashboard shiny

眉间皱痕 提交于 2019-12-02 07:49:25
问题 I'm making a ShinyDashboard program and I have some troubles in finding a way to make a loop in the dashboardBody to catch MenuItems. This is a simple example of what I'm trying to fix: library(shiny) library(shinyjs) library(shinydashboard) VecNames=c("A","B","C","D","E") ui <- dashboardPage( dashboardHeader(title = "My Page"), dashboardSidebar(sidebarMenuOutput("sideBar_menu_UI")), dashboardBody( uiOutput("body_UI"), uiOutput("test_UI") ) ) server <- shinyServer(function(input, output,

Wordpress Dashboard Login Internal 500 Error

╄→гoц情女王★ 提交于 2019-12-02 07:15:51
问题 The company I work for is currently using WordPress platform for their website. Since I have been with this company for a year there have been a lot of Internal 500 errors with the website. The most recent error will not allow me to log into the Dashboard of my website. For example if I navigate to www.mysite.com/wp-admin/ and try to log in. It will redirect me to an error page with this syntax " HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server

How to make a function in a for loop or lapply loop in a tabItem dashboard shiny

不羁的心 提交于 2019-12-02 07:13:16
I'm making a ShinyDashboard program and I have some troubles in finding a way to make a loop in the dashboardBody to catch MenuItems. This is a simple example of what I'm trying to fix: library(shiny) library(shinyjs) library(shinydashboard) VecNames=c("A","B","C","D","E") ui <- dashboardPage( dashboardHeader(title = "My Page"), dashboardSidebar(sidebarMenuOutput("sideBar_menu_UI")), dashboardBody( uiOutput("body_UI"), uiOutput("test_UI") ) ) server <- shinyServer(function(input, output, session) { output$sideBar_menu_UI <- renderMenu({ sidebarMenu(id = "sideBar_Menu", menuItem("Menu 1",

打开springboot的run dashboard

我的梦境 提交于 2019-12-02 07:10:29
默认情况下,idea的run dashboard是关闭的,当检测到你有多个springboot项目时会弹出提示框,询问是否打开。 如果我们想要自己打开,需要修改配置。 在你的idea的项目目录中,有一个.idea目录: 其中,有一个workspace.xml: 打开,搜索Rundashboard,找到下面这段: <component name="RunDashboard"> <option name="ruleStates"> <list> <RuleState> <option name="name" value="ConfigurationTypeDashboardGroupingRule" /> </RuleState> <RuleState> <option name="name" value="StatusDashboardGroupingRule" /> </RuleState> </list> </option> </component> 然后在Component中添加下面的内容: <option name="configurationTypes"> <set> <option value="SpringBootApplicationConfigurationType" /> </set> </option> 来源: https://www.cnblogs.com

k8s集群部署(2)

浪尽此生 提交于 2019-12-02 06:20:34
一、利用ansible部署kubernetes准备阶段 1、集群介绍   基于二进制方式部署k8s集群和利用ansible-playbook实现自动化;二进制方式部署有助于理解系统各组件的交互原理和熟悉组件启动参数,有助于快速排查解决实际问题。 2、集群规划和基础参数设定 (1)搞哭用集群所需节点配置如下;   部署节点 x1 : 运行这份 ansible 脚本的节点 etcd节点 x3 : 注意etcd集群必须是1,3,5,7...奇数个节点 master节点 x1 : 运行集群主要组件 node节点 x3 : 真正应用部署的节点,根据需要增加机器配置和节点数 (2)在部署节点准备ansible:   1)保证源时可用的,selinux和firewalld是关闭的(这里配的是云唯图书馆里的内部源)   2)下载并安装docker,并启动docker,开机自启docker   3)下载ansible   4)配置每台机器之间的静态解析和免密登陆 [root@ren8 ~]# cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6

Kubernetes- Dashboard 部署

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-02 02:38:24
获取dashboard 的yaml文件 wget wget https://raw.githubusercontent.com/kubernetes/dashboard/v1.10.1/src/deploy/recommended/kubernetes-dashboard.yaml 修改其中image配置-默认是国外的k8s镜像库 国内无法访问可换成阿里云或者其他的。 vim kubernetes-dashboard.yaml 搜索下可下载的dashboard的image 修改下即可,我这里用的其他帖子里的 修改完成后执行kubectl 创建 kubectl apply -f kubernetes-dashboard.yaml 在执行完成后查看dashboard pod dashboard service 是否已经启动创建完成 现在即可在浏览器中访问到 30003 端口了 dashboard创建完成怎么登录呢?下面创建登录的SA 赋予Clusteradmin权限 否则你登录时回提示没权限 无法访问其他Namespace resource等报错 命令创建一个 SA Service Account kubectl create serviceaccount dashboard-admin -n kube-system 接下来创建一个Cluster rolebinding kubectl

How to make p:dashboard components draggable without panel header being set

梦想的初衷 提交于 2019-12-02 01:53:56
问题 As a follow up to this question. It appears the components in a p:dashboard are only draggable if their parent panel has a header set (which contains the title). How do I make it so the panels can be dragged even if the header isn't set? So the whole panel will be the handle to drag it around, not just the header. XHTML <!DOCTYPE html> <html xmlns="http://www.w3c.org/1999/xhtml" xmlns:h="http://xmlns.jcp.org/jsf/html" xmlns:p="http://primefaces.org/ui"> <h:head> <title>Example</title> </h

How to make p:dashboard components draggable without panel header being set

夙愿已清 提交于 2019-12-02 01:25:10
As a follow up to this question . It appears the components in a p:dashboard are only draggable if their parent panel has a header set (which contains the title). How do I make it so the panels can be dragged even if the header isn't set? So the whole panel will be the handle to drag it around, not just the header. XHTML <!DOCTYPE html> <html xmlns="http://www.w3c.org/1999/xhtml" xmlns:h="http://xmlns.jcp.org/jsf/html" xmlns:p="http://primefaces.org/ui"> <h:head> <title>Example</title> </h:head> <h:body> <h:form id="splitButtonForm"> <p:splitButton value="Action" icon="ui-icon-circle-triangle