• -------------------------------------------------------------
  • ====================================

标签:kubernetes

Kubernetes-kubectl命令出现错误The connection to the server localhost:8080 was refused – did you specif…

今天在 Kubernetes 的从节点上运行命令【kubectl】出现了如下错误[root@k8snode1 kubernetes]# kubectl get podThe connection to the server localhost:8080 was refused – did you specify t……

kubernetes api servers showing down in prometheus (kube-state-metrics) –“forbidden: User \”system:anonymous\“ cannot get path \”/metrics\“”,

I’m new to k8s, prometheus. I’m trying to collect the metrics of each pods with prometheus but unable to so because of the error: API ERROR.{ "kind": "Status", ……

解决Centos7下Kubernetes(k8s)部署好之后无法访问dashboard

Kubernetes 的部署过程比较复杂,相信很多人都是跟着 opsnull 大神的文章(https://github.com/opsnull/follow-me-install-kubernetes-cluster)一步一步部署的。部署到 dashboard 之前检查所有的步骤都没有出现错误,可是安装了 dashboard 插件之后无论是通过 NodeI……

巅峰对决之Swarm、Kubernetes、Mesos

【编者的话】这篇文章对比了三大主流调度框架:Swarm、Kubernetes 和 Mesos。文章不仅从理论上讨论了各个框架的优缺点,还从两个实际的案例出发,分析了每个框架具体使用方法。这篇文章对比了三大主流调度框架:Docker Swarm、Google Kubernetes 和 Apache Mesos(基于 Marathon 框架)。在解释了调度和容……

Docker Swarm和Kubernetes在大规模集群中的性能比较

【编者的话】本文建立了一套通用测评工具,通过容器启动时延等指标测评Swarm和 Kubernetes 在大规模部署下的性能表现,分析结果认为Swarm比 Kubernetes 的性能好。此外还提供了详尽的测试数据, 供应用者参考。@Container 容器技术大会将于 6 月 4 日在上海光大会展中心国际大酒店举办,来自携程、PPTV、蚂蚁金服……

Kubernetes(k8s) Pod 弹性伸缩详解与使用

Kubernetes HPA(Horizontal Pod Autoscaling)Pod水平自动伸缩,通过此功能,只需简单的配置,集群便可以利用监控指标(cpu 使用率等)自动的扩容或者缩容服务中Pod数量,当业务需求增加时,系统将为您无缝地自动增加适量容器 ,提高系统稳定性。本文将详细讲解 HPA 的核心设计原理和基于 Hepaster 的使用方法。……

Kubernetes1.9 二进制版集群+ipvs+coredns

本版本用 kube-router 组件取代 kube-proxy,用 lvs 做 svc 负载均衡,更快稳定。用coredns取代 kube-dns,更稳定。经过测试 1.9 版,消除了以往的 kubelet docker 狂报错误日志的错误 ,更完美。节点构造如下 :节点 ip节点角色hostname192.168.0.57nodebig……

CentOS7(mini) 安装 Kubernetes 集群(kubeadm方式)

CentOS7(mini) 安装 Kubernetes 集群(kubeadm方式)安装 CentOS安装net-tools[root@localhost ~]# yum install -y net-tools1关闭 firewalld[root@localhost ~]# systemctl stop firewa……

kubeadm安装Kubernetes1.11集群

集群环境主机名称 IP 备注 操作系统master 192.168.0.8 docker、kubectl、kubelet、kubeadm、flannel centos7.3node01 192.168.0.9 docker、kubectl、kubelet、kubeadm centos7.3node02 192.……

[kubernetes] 使用 Minikube 快速搭建本地 k8s 环境 (基于 Docker 驱动模式)

一、实验环境       操作系统:Centos 7 x86_64       Docker:1.12.6二、部署 k8s 步骤2.1  安装 kubectl cat < /etc/yum.repos.d/kub……