08 2021 档案

docker 删除无用镜像
摘要:docker rmi ( docker images -f "dangling=true" -q ) 阅读全文

posted @ 2021-08-31 12:25 正义的伙伴! 阅读(101) 评论(0) 推荐(0) 编辑

promise 相关
摘要:1. promise 的 catch 并不能处理 异常!,需注意, 应该用 reject 而不是 throw 抛出异常 阅读全文

posted @ 2021-08-26 14:13 正义的伙伴! 阅读(14) 评论(0) 推荐(0) 编辑

vue 配置 tslint .
摘要:module.exports = { root: true, parser: 'vue-eslint-parser', parserOptions: { 'sourceType': 'module',// 修改这里 为 @typescript-eslint/parser............... 阅读全文

posted @ 2021-08-24 15:50 正义的伙伴! 阅读(268) 评论(0) 推荐(0) 编辑

http 协议添加用户名密码
摘要:如下所示: http://username:password@localhost/loki/api/v1/push 阅读全文

posted @ 2021-08-23 17:59 正义的伙伴! 阅读(1250) 评论(0) 推荐(0) 编辑

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 正义的伙伴! 阅读(36) 评论(0) 推荐(0) 编辑

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 正义的伙伴! 阅读(47) 评论(0) 推荐(0) 编辑

typescript 忽略检查
摘要:1. 忽略文件检测 // @ts-nocheck // @ts-check 检查全文 2. 忽略单行检查 // @ts-ignore 阅读全文

posted @ 2021-08-10 14:58 正义的伙伴! 阅读(3103) 评论(0) 推荐(0) 编辑

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 正义的伙伴! 阅读(1430) 评论(0) 推荐(0) 编辑

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 正义的伙伴! 阅读(356) 评论(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 正义的伙伴! 阅读(27) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
//增加一段JS脚本,为目录生成使用
点击右上角即可分享
微信分享提示