会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
whmmm
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
7
8
9
10
11
12
13
14
15
···
57
下一页
2021年8月31日
docker 删除无用镜像
摘要: docker rmi ( docker images -f "dangling=true" -q ) Docker 清理常见的包括以下几类内容:无用容器、镜像、网络、数据卷。下面是详细的命令合集: 🧹 一键清理所有无用资源 docker system prune -a -a 表示清除所有未使用的镜
阅读全文
posted @ 2021-08-31 12:25 whmmm
阅读(136)
评论(0)
推荐(0)
2021年8月26日
promise 相关
摘要: 1. promise 的 catch 并不能处理 异常!,需注意, 应该用 reject 而不是 throw 抛出异常
阅读全文
posted @ 2021-08-26 14:13 whmmm
阅读(23)
评论(0)
推荐(0)
2021年8月24日
vue 配置 tslint .
摘要: module.exports = { root: true, parser: 'vue-eslint-parser', parserOptions: { 'sourceType': 'module',// 修改这里 为 @typescript-eslint/parser...............
阅读全文
posted @ 2021-08-24 15:50 whmmm
阅读(271)
评论(0)
推荐(0)
2021年8月23日
http 协议添加用户名密码
摘要: 如下所示: http://username:password@localhost/loki/api/v1/push
阅读全文
posted @ 2021-08-23 17:59 whmmm
阅读(1285)
评论(0)
推荐(0)
2021年8月19日
shell 需要注意的项
摘要: #!/bin/bash # 这里 grep -vE 必须有, 否则会杀死全部进程.. pids=`ps -ef | grep 'prometheus'| grep -vE '(grep|/bin/bash|bash|sh)' | tr -s ' '| cut -d ' ' -f 2` echo "进
阅读全文
posted @ 2021-08-19 13:51 whmmm
阅读(40)
评论(0)
推荐(0)
2021年8月11日
k8s 使用 persistvolumncllaim
摘要: kind: Pod apiVersion: v1 metadata: name: mypod spec: containers: - name: myfrontend image: dockerfile/nginx volumeMounts: - mountPath: "/var/www/html"
阅读全文
posted @ 2021-08-11 10:26 whmmm
阅读(54)
评论(0)
推荐(0)
2021年8月10日
typescript 忽略检查
摘要: 1. 忽略文件检测 // @ts-nocheck // @ts-check 检查全文 2. 忽略单行检查 // @ts-ignore
阅读全文
posted @ 2021-08-10 14:58 whmmm
阅读(3128)
评论(0)
推荐(0)
2021年8月6日
k8s 安装 rancher
摘要: title: rancher 安装 tag: [kubernate] comments: true 参考 https://docs.rancher.cn/docs/rancher2.5/installation/install-rancher-on-k8s/_index 1. 设置 repo hel
阅读全文
posted @ 2021-08-06 12:25 whmmm
阅读(1450)
评论(0)
推荐(0)
2021年8月3日
linux 创建 service
摘要: #!/bin/bash # 安装 node_exporter 服务 # 在 centos 上测试通过 mkdir -p /usr/local/devops/exporter cd /usr/local/devops/exporter # wget https://netdisk-1253388903
阅读全文
posted @ 2021-08-03 15:46 whmmm
阅读(363)
评论(0)
推荐(0)
consul 相关
摘要: https://www.cnblogs.com/java-zhao/p/5387105.html # 启动 consul consul agent -server -bootstrap-expect 1 -data-dir=/data/ -config-dir=config/ -bind=192.1
阅读全文
posted @ 2021-08-03 11:17 whmmm
阅读(32)
评论(0)
推荐(0)
上一页
1
···
7
8
9
10
11
12
13
14
15
···
57
下一页
公告
//增加一段JS脚本,为目录生成使用