深入理解 Kubelet 中的 PLEG is not healthy深入理解 Kubelet 中的 PLEG is not healthy " 转载自:深入理解 Kubelet 中的 PLEG is not healthy | 米开朗基杨" 在 Kubernetes 社区中,PLEG is not healthy 成名已久,只要出现这个报错,就有很大概率造成 Node 状态变成 NotReady。社区相关的 issue 也有author iconClaycalendar icon2022年1月26日category icon云原生tag iconKubernetestimer icon大约 13 分钟
kubelet 配置资源预留的姿势kubelet 配置资源预留的姿势 " 转载自:k8s 技术圈 | 阳明" Kubernetes 的节点可以按照节点的资源容量进行调度,默认情况下 Pod 能够使用节点全部可用容量。这样就会造成一个问题,因为节点自己通常运行了不少驱动 OS 和 Kubernetes 的系统守护进程。除非为这些系统守护进程留出资源,否则它们将与 Pod 争夺资源并导致节点资源author iconClaycalendar icon2022年1月26日category icon云原生tag iconKubernetestimer icon大约 7 分钟
快捷命令快捷命令 快速查找 k8s pod 和 service 的 CIDR;author iconClaycalendar icon2022年1月26日category icon云原生tag iconKubernetestimer icon小于 1 分钟
安装 kube-prometheus-stack安装 kube-prometheus-stack Helm 安装配置 下载二进制文件 设置补全命令 Prometheus 安装配置 添加 helm repo " 之前拉取的最新版本,kube-state-metrisc 的 target 没添加上去,所以用的 23.3.2" 下拉压缩包 为 prometheus 创建 Namespace 新增 etcd seauthor iconClaycalendar icon2022年1月6日category icon云原生tag iconKubernetestimer icon大约 1 分钟
Rancher 安装Rancher 安装 添加 Helm Chart 仓库 为 Rancher 创建 Namespace 添加 TLS 密文 " 下载nginx使用的key和pem到服务器,并重命名为 tls.xxx" "" " 使用openssl把pem证书转换为crt" "" " " 通过 helm 安装 rancher " rancher.xxx.xxx 为申请的域名" author iconClaycalendar icon2022年1月6日category icon云原生tag iconKubernetestimer icon小于 1 分钟
IngressIngress 对外暴露集群服务 前面我们学习了在 Kubernetes 集群内部使用 kube-dns 实现服务发现的功能,那么我们部署在 Kubernetes 集群中的应用如何暴露给外部的用户使用呢?我们知道可以使用 NodePort 和 LoadBlancer 类型的 Service 可以把应用暴露给外部用户使用,除此之外,Kubernetes 还为我author iconClaycalendar icon2022年1月4日category icon云原生tag iconKubernetestimer icon大约 7 分钟
Helm 安装使用Helm 安装使用 安装 下载二进制文件 设置补全命令author iconClaycalendar icon2022年1月4日category icon云原生tag iconKubernetestimer icon小于 1 分钟
通过备份 Etcd 来完美恢复 Kubernetes 中的误删数据通过备份 Etcd 来完美恢复 Kubernetes 中的误删数据 " 转载自:Etcd备份数据如何做到完美恢复Kubernetes中误删数据呢" 误删或者机器宕机,会导致etcd数据的丢失或某个节点的etcd数据异常时,请不要慌,认真看完此文,绝对有收获。当误删时,如何恢复数据,这个操作需求在实际环境当中是不可避免的。以下描述删除两个namespace下的author iconClaycalendar icon2021年11月25日category icon云原生tag iconKubernetestimer icon大约 6 分钟
Node节点禁止调度(平滑维护)方式 - cordon,drain,deleteNode节点禁止调度(平滑维护)方式 - cordon,drain,delete " 转载自:Node节点禁止调度(平滑维护)方式- cordon,drain,delete" cordon、drain和delete三个命令都会使node停止被调度,后期创建的pod不会继续被调度到该节点上,但操作的暴力程度却不一样。 一、cordon 停止调度(不可调度,临时author iconClaycalendar icon2021年11月25日category icon云原生tag iconKubernetestimer icon大约 5 分钟
Coredns+Nodelocaldns cache解决Coredns域名解析延迟Coredns+Nodelocaldns cache解决Coredns域名解析延迟 " 转载自:Coredns+Nodelocaldns cache解决Coredns域名解析延迟" 目前18.6版本和之前的coredns都会出现超时5s的情况,那么为什么会出现coredns超时的情况发生? 背景 在Kubernetes中,Pod访问DNS服务器(kube-dauthor iconClaycalendar icon2021年9月20日category icon云原生tag iconKubernetestimer icon大约 17 分钟