上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 55 下一页

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

2021年8月10日

typescript 忽略检查

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

posted @ 2021-08-10 14:58 正义的伙伴! 阅读(3053) 评论(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 正义的伙伴! 阅读(1408) 评论(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 正义的伙伴! 阅读(350) 评论(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 正义的伙伴! 阅读(21) 评论(0) 推荐(0) 编辑

2021年7月13日

linux top 排序

摘要: top 按内存列排序,使用 > 可以移动到以内存排序 top 按CPU列排序,使用 < 可以移动到以CPU排序 x高亮 z 加颜色 k 发送信号结束进程 c 显示/隐藏 全部命令行信息 e 修改显示的单位 阅读全文

posted @ 2021-07-13 16:57 正义的伙伴! 阅读(282) 评论(0) 推荐(0) 编辑

2021年7月7日

sed 相关命令

摘要: sed -i命令详解 [root@www ~]# sed [-nefr] [动作] 选项与参数: -n :使用安静(silent)模式。在一般 sed 的用法中,所有来自 STDIN 的数据一般都会被列出到终端上。但如果加上 -n 参数后,则只有经过sed 特殊处理的那一行(或者动作)才会被列出来。 阅读全文

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

docker 启动 ubuntu

摘要: docker run -dit ubuntu 不会自动退出 或者 docker run -d --name=ubt-1 --network=test ubuntu:18.04 /bin/bash -c "tail -f /dev/null" 阅读全文

posted @ 2021-07-07 13:50 正义的伙伴! 阅读(350) 评论(0) 推荐(0) 编辑

vue 配置 history 模式

摘要: 后端配置例子 注意:下列示例假设你在根目录服务这个应用。如果想部署到一个子目录,你需要使用 Vue CLI 的 publicPath 选项 (opens new window)和相关的 router base property (opens new window)。你还需要把下列示例中的根目录调整成 阅读全文

posted @ 2021-07-07 09:36 正义的伙伴! 阅读(755) 评论(0) 推荐(0) 编辑

2021年6月30日

typescript 相关

摘要: 很多时候需要用到类型 {key:value} , 以下为声明方式: //key为string , value为numbervar map: { [key: string]: number; } = { "t" : 3, "o" : 5, "g" :10};for(let k in map){ egr 阅读全文

posted @ 2021-06-30 17:03 正义的伙伴! 阅读(34) 评论(0) 推荐(0) 编辑

上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 55 下一页

导航

//增加一段JS脚本,为目录生成使用