上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 57 下一页
摘要: docker rmi ( docker images -f "dangling=true" -q ) Docker 清理常见的包括以下几类内容:无用容器、镜像、网络、数据卷。下面是详细的命令合集: 🧹 一键清理所有无用资源 docker system prune -a -a 表示清除所有未使用的镜 阅读全文
posted @ 2021-08-31 12:25 whmmm 阅读(136) 评论(0) 推荐(0)
摘要: 1. promise 的 catch 并不能处理 异常!,需注意, 应该用 reject 而不是 throw 抛出异常 阅读全文
posted @ 2021-08-26 14:13 whmmm 阅读(23) 评论(0) 推荐(0)
摘要: module.exports = { root: true, parser: 'vue-eslint-parser', parserOptions: { 'sourceType': 'module',// 修改这里 为 @typescript-eslint/parser............... 阅读全文
posted @ 2021-08-24 15:50 whmmm 阅读(271) 评论(0) 推荐(0)
摘要: 如下所示: http://username:password@localhost/loki/api/v1/push 阅读全文
posted @ 2021-08-23 17:59 whmmm 阅读(1285) 评论(0) 推荐(0)
摘要: #!/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)
摘要: 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)
摘要: 1. 忽略文件检测 // @ts-nocheck // @ts-check 检查全文 2. 忽略单行检查 // @ts-ignore 阅读全文
posted @ 2021-08-10 14:58 whmmm 阅读(3128) 评论(0) 推荐(0)
摘要: 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)
摘要: #!/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)
摘要: 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脚本,为目录生成使用