1 2 3 4 5 ··· 44 下一页
摘要: 这个节点的在对应时间底层有没异常cpu,mem 以及磁盘io ,网络 抛出探针失败的时间如果业务测的日志也没有异常的信息抛出,可以调整下超时时间 容器抓包分析 1 可以先执行kubectl get pods $PodName -n $NameSpace -o wide看看pod运行的节点 2 登录到 阅读全文
posted @ 2024-03-30 11:23 西门运维 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 1.常用监控工具 1.1 cerebro⼯具 地址:https://github.com/lmenezes/cerebro 1.2 Kibana Stack Monitoring 地址: https://www.elastic.co/guide/en/kibana/current/xpack-mon 阅读全文
posted @ 2024-03-20 14:44 西门运维 阅读(41) 评论(0) 推荐(0) 编辑
摘要: Go 官方文档 Go by Example Web框架 一个经典的Gin Web项目结构 Gin框架 Gorm--数据库连接 Go redis Viper作为配置管理工具 Logrus作为日志记录工具 阅读全文
posted @ 2024-02-16 14:57 西门运维 阅读(24) 评论(0) 推荐(0) 编辑
摘要: Google Go 编程规范 Golang 备忘清单 该备忘单提供了帮助您使用 Golang 的基本语法和方法。 入门 hello.go package main import "fmt" func main() { fmt.Println("Hello, world!") } 直接运行 $ go 阅读全文
posted @ 2024-02-16 13:14 西门运维 阅读(17) 评论(0) 推荐(0) 编辑
摘要: kubectl 常用命令指北 Kubctl 命令是操作 kubernetes 集群的最直接的方式,特别是运维人员,需要对这些命令有一个详细的掌握 Kubectl 自动补全 # setup autocomplete in bash, bash-completion package should be 阅读全文
posted @ 2023-12-27 15:10 西门运维 阅读(51) 评论(0) 推荐(0) 编辑
摘要: 版本:containerd最新版本 V1.5.5 一、管理工具:ctr 名字:ctr (containerd CLI) 用法:CTR [global options] command [command options] [arguments…] 描述:CTR是一个不受支持的用于交互的调试和管理客户机 阅读全文
posted @ 2023-10-24 18:34 西门运维 阅读(456) 评论(0) 推荐(0) 编辑
摘要: 常用命令 GET _search { "query": { "match_all": {} } } GET _cat/indices GET _cat/shards PUT /server-2023.02.09/_settings { "number_of_replicas": 0 } PUT /_ 阅读全文
posted @ 2023-08-26 23:17 西门运维 阅读(72) 评论(0) 推荐(0) 编辑
摘要: 文档 镜像地址:https://hub.docker.com/r/elasticdump/elasticsearch-dump/ 数据在线导出导入 docker run --rm -ti elasticdump/elasticsearch-dump \ --input=http://elastic: 阅读全文
posted @ 2023-08-26 23:13 西门运维 阅读(192) 评论(0) 推荐(0) 编辑
摘要: top看出进程 查出关联进程 [root@test-server 7441]# systemctl status 7441 ● session-471546.scope - Session 471546 of user root Loaded: loaded (/run/systemd/system 阅读全文
posted @ 2023-03-20 11:45 西门运维 阅读(272) 评论(0) 推荐(0) 编辑
摘要: 本节重点总结 : k8s集群检查操作 新建项目 kube-mutating-webhook-inject-pod,准备工作 k8s集群检查操作 检查k8s集群否启用了准入注册 API: 执行kubectl api-versions |grep admission 如果有下面的结果说明已启用 kube 阅读全文
posted @ 2022-12-21 19:18 西门运维 阅读(144) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 44 下一页