kubernetes
文章平均质量分 74
hchen-gogogo
这个作者很懒,什么都没留下…
展开
-
pod 禁止执行的 dmesg
在 Kubernetes 环境中,尽管 Pod 提供了与主机系统隔离的运行环境,但它们仍然与宿主机共享某些底层资源和环境,如内核。这种设计使得在任何 Pod 内部执行的 dmesg 命令显示的是宿主机的内核日志,而不是特定于 Pod 的日志。内核共享:所有在同一宿主机上的容器(包括 Pod 内的容器)都运行在同一个操作系统内核之上。dmesg 命令显示的是内核的环环缓冲区消息,这些消息是系统级别的,不是隔离在单独的容器或 Pod 中的。原创 2024-04-27 16:29:57 · 216 阅读 · 0 评论 -
node-driver-registrar 与 csi-plugin 的关联
node driver registrar 和 csi plugin 的关联,明白 kubelet 调用 csi 的大体流程。原创 2024-04-02 17:51:31 · 335 阅读 · 0 评论 -
prometheus federate ingesting out-of-order samples error
prometheus federate msg="Error on ingesting out-of-order samples" num_dropped原创 2024-01-17 15:24:40 · 947 阅读 · 0 评论 -
OverlayFS
OverlayFS 的这种设计非常适合容器化的环境,它提供了一种轻量级、高效和灵活的方式来管理容器的文件系统。原创 2023-12-04 15:19:28 · 313 阅读 · 0 评论 -
grafana alert state error
grafana alert 状态为 error 的处理原创 2023-11-27 17:26:18 · 250 阅读 · 0 评论 -
k8s 利用 root-ceph 使用外部 ceph 集群
kubernetes 使用外部 ceph cluster 作为 volume.原创 2023-11-14 16:34:55 · 228 阅读 · 0 评论 -
cephadm 创建 ceph cluster
默认情况下, ceph.conf 文件和 client.admin 密钥环的副本保留在具有 _admin 标签的所有主机上的 /etc/ceph 中。我们通常建议为一台或多台其他主机指定 _admin 标签,以便可以在多台主机上轻松访问 Ceph CLI(例如,通过 cephadm shell )。fsid 可以通过 cephadm ls, docker ps, cat /etc/ceph/ceph.conf 等来查找。3 个 monitor, 3 个 osd,3 个 mds, 3 个 rgw。原创 2023-11-09 18:03:53 · 113 阅读 · 0 评论 -
grafana ui 自动添加特殊字符
通过 grafana(当前使用的古董版本: v6.5.0) 编辑现有的查询语句,光标自动移动到最后了,直接复制编辑完后的语句到 prometheus 执行报错如下如果不看 markdown 原文,完全看不出差别。原创 2023-10-30 11:31:17 · 209 阅读 · 1 评论 -
Containerd container_fs 缺失
containerd 缺乏 container_fs 指标原创 2023-10-25 17:56:05 · 154 阅读 · 2 评论 -
ceph 创建 static pvc
静态 static pvc原创 2023-10-24 18:36:16 · 134 阅读 · 0 评论 -
HEALTH_ERR 1 filesystem is degraded, 1 filesystem is offline , 1 mds daemon damaged - Monitors have
HEALTH_ERR 1 filesystem is degraded, 1 filesystem is offline , 1 mds daemon damaged - Monitors have assigned me to become a standbyceph health detailceph mds statceph fs dumpceph fs statusceph fs ls修复不知其然,不知其所以然。。。原创 2023-10-23 15:50:21 · 478 阅读 · 0 评论 -
elastic 删除 index 错误action [indices:admin/delete] is unauthorized for user [admin] with roles
security_exception: action [indices:admin/delete] is unauthorized for user [admin] with roles [superuser] on indices [.kibana_task_manager_8.2.3_001], this action is granted by the index privileges [delete_index,manage,all]原创 2023-09-02 11:12:05 · 1016 阅读 · 0 评论 -
k8s 从 1.19.10 升级至 1.25.12
跨度很大的成功升级 k8s(从v1.19.10 至 v1.25.12)原创 2023-07-26 18:52:56 · 291 阅读 · 0 评论 -
Grafana - Alert 时间/状态
在 Grafana Alert 中,Evaluate every 和 Evaluate for 是两个重要的配置选项,用于定义告警的评估周期和持续时间。原创 2023-03-20 11:35:53 · 3120 阅读 · 0 评论 -
LXCFS 测试遇到的一些问题汇总
lxcfs kubernetes docker container volumes原创 2022-11-29 17:07:56 · 572 阅读 · 0 评论 -
使用 Postgres 作为 Grafana 后端,并迁移数据
单纯的使用 PG 用来当 Grafana 的后端存储,这个倒是简单,难的是怎么样把现有数据迁移过去。网络上的方案千千万,N 种方式失败之后终寻得成功。原创 2022-11-14 15:35:05 · 695 阅读 · 0 评论 -
Node Problem Detector
NPD 是一个可监控节点的健康状况并检测常见节点问题(例如硬件、内核或容器运行时问题等等)的开源项目原创 2022-10-21 14:35:53 · 841 阅读 · 0 评论 -
Containerd 安装及基础使用
containerd docker kubernetes原创 2022-10-10 09:42:04 · 1022 阅读 · 0 评论 -
Docker, Kubernetes, CRI, OCI, Containerd, Runc 之间的渊源
Docker, Kubernetes, CRI, OCI, Containerd, Runc 之间的渊源原创 2022-10-09 10:48:28 · 529 阅读 · 0 评论 -
ETCD替换成员
ETCD 替换节点,需要基础概念还是需要先看看官文。很多的操作官文写的很清楚。只是根据实际情况需要变通一下。原创 2022-07-02 14:06:46 · 811 阅读 · 0 评论 -
Grafana导入 json 文件的 dashboard 错误 Templating Failed to upgrade legacy queries Datasource xxx not found
Templating Failed to upgrade legacy queries Datasource xxx not found原创 2022-06-14 19:39:57 · 8074 阅读 · 0 评论 -
ceph osd 占用太多的内存
OSD and MON memory consumptionCeph OSD Pod memory consumption very highCeph Cluster CRDCeph HardWare Recommendations原创 2022-06-09 13:39:18 · 1849 阅读 · 0 评论 -
Kubernetes CSI
kubernetes csi volume storage linux原创 2022-05-09 17:30:17 · 777 阅读 · 0 评论 -
POD QoS
Configure Quality of Service for Pods | KubernetesThis page shows how to configure Pods so that they will be assigned particular Quality of Service (QoS) classes. Kubernetes uses QoS classes to make decisions about scheduling and evicting Pods.Before you b原创 2022-02-16 18:35:00 · 403 阅读 · 0 评论 -
Kubelet: Pod Lifecycle Event Generator (PLEG)
design-proposals-archive/pod-lifecycle-event-generator.md at main · kubernetes/design-proposals-archive · GitHubPod Lifecycle Event Generator: Understanding the "PLEG is not healthy" issue in Kubernetes | Red Hat Developerhttps://developers.redhat.com/原创 2022-02-16 17:08:09 · 441 阅读 · 0 评论 -
pause container
理解 pause container原创 2022-02-16 11:40:54 · 103 阅读 · 0 评论