08 2020 档案

摘要:pipeline { agent any tools { // Install the Maven version configured as "M3" and add it to the path. maven "M3" } stages { stage('Build') { steps { // 阅读全文
posted @ 2020-08-30 23:36 leechg 阅读(488) 评论(0) 推荐(0) 编辑
摘要:docker images | grep none | awk '{print $3}' | xargs docker rmi 阅读全文
posted @ 2020-08-27 10:01 leechg 阅读(918) 评论(0) 推荐(0) 编辑
摘要:在docker中搭建Jenkins运行环境后,使用docker命令构建docker镜像,报以下错误 + docker build -f ../Dockerfile -t 192.168.190.126:5000/aa***:latest . time="2020-08-25T09:39:21Z" l 阅读全文
posted @ 2020-08-25 11:11 leechg 阅读(2787) 评论(0) 推荐(0) 编辑
摘要:rancher单节点kubernetes启动容器错误 0/1 nodes are available: 1 node(s) had taints that the pod didn't tolerate. 是由于默认的master节点不允许作为数据节点使用,需要修改master节点使之可以同时作为d 阅读全文
posted @ 2020-08-18 15:46 leechg 阅读(702) 评论(0) 推荐(0) 编辑
摘要:jenkins 在设置邮箱时报错 501 mail from address must be same as authorization user 后来才发现Jenkins Location配置中需要填写相同的邮件地址 阅读全文
posted @ 2020-08-18 14:56 leechg 阅读(424) 评论(0) 推荐(0) 编辑
摘要:允许保存密码 ``` git config --global credential.helper store ``` 配置用户信息 ``` git config user.name "userName" git config user.email "email address" ``` 下载镜像 ` 阅读全文
posted @ 2020-08-18 14:00 leechg 阅读(145) 评论(0) 推荐(0) 编辑
摘要:docker 镜像启动后需要调整容器的配置,比如修改端口配置或者修改卷映射配置。 首先在docker服务器上找到对应的容器的目录 /var/lib/docker/containers/42c6fa8f4514050f2a4129207678f1cdd81d2335824e38f047bdc135a8 阅读全文
posted @ 2020-08-18 10:13 leechg 阅读(761) 评论(0) 推荐(0) 编辑
摘要:使用describe查看pod信息,出现以下事件 Back-off restarting failed container 使用kubectl logs 发现是网络不通 关闭防火墙后重新导入,导入成功 阅读全文
posted @ 2020-08-14 18:44 leechg 阅读(1753) 评论(0) 推荐(0) 编辑
摘要:使用在线编辑工具编辑字幕文件,导出vtt文件 https://subplayer.js.org/ 使用命令把vtt转为srt文件 ffmpeg -i 集群调度_2020814145322.vtt 集群调度_2020814145322.srt 使用命令把字幕文件嵌入MP4文件中 > ffmpeg -i 阅读全文
posted @ 2020-08-14 15:37 leechg 阅读(305) 评论(0) 推荐(0) 编辑
摘要:docker pull registry:2.7.1 mkdir -p /var/docker/registry/data docker run -d -v /var/docker/registry/data:/var/lib/registry -p 5000:5000 --restart=alwa 阅读全文
posted @ 2020-08-14 09:30 leechg 阅读(452) 评论(0) 推荐(0) 编辑
摘要:首先添加新版本的repo curl --silent --location https://rpm.nodesource.com/setup_14.x | sudo bash 执行安装 yum -y install nodejs 参考 新安装NODEJS之后配置 阅读全文
posted @ 2020-08-11 14:13 leechg 阅读(142) 评论(0) 推荐(0) 编辑
摘要:在docker服务器上添加新的镜像后想在rancher中部署运行,通过docker image ls可以看到镜像存在,但是在通过rancher添加部署的时候却出现以下错误。 Failed to pull image "data-center-catalog:latest": rpc error: c 阅读全文
posted @ 2020-08-10 15:34 leechg 阅读(2359) 评论(0) 推荐(0) 编辑
摘要:1 打包springboot项目 生成 data-center-catalog-1.0-SNAPSHOT.jar 2 配置dockerfile Dockerfile FROM java:8 ADD data-center-catalog-1.0-SNAPSHOT.jar /tmp/data-cent 阅读全文
posted @ 2020-08-10 15:26 leechg 阅读(216) 评论(0) 推荐(0) 编辑
摘要:使用rancher运行镜像时报以下错误 0/1 nodes are available: 1 node(s) had taints that the pod didn't tolerate. 是因为默认kubernetes默认不让pod部署到master节点,但是我在测试环境只有一个节点也是mast 阅读全文
posted @ 2020-08-10 11:47 leechg 阅读(7402) 评论(0) 推荐(0) 编辑
摘要:注册k8s到rancher时 agent pods一直处于containercreating状态 cattle-system cattle-cluster-agent-5dfcdff98b-7b2br 0/1 ContainerCreating 0 13m <none> localhost.loca 阅读全文
posted @ 2020-08-10 10:54 leechg 阅读(984) 评论(0) 推荐(0) 编辑
摘要:查看磁盘读写速度 time dd if=/dev/zero of=/testw.dbf bs=4k count=100000 time dd if=/dev/sda of=/dev/null bs=4k 查看文件系统整体情况 df -h 查看当前目录使用情况 du -sh ./* 查看当前文件夹文件 阅读全文
posted @ 2020-08-10 10:36 leechg 阅读(332) 评论(0) 推荐(0) 编辑
摘要:[root@localhost ~]# date -s "20200807 09:38:00" Fri Aug 7 09:38:00 CST 2020 [root@localhost ~]# date Fri Aug 7 09:38:03 CST 2020保存到硬件配置 [root@localhos 阅读全文
posted @ 2020-08-07 09:46 leechg 阅读(204) 评论(0) 推荐(0) 编辑
摘要:windows 添加路由 route add 10.0.0.0 mask 255.0.0.0 172.16.1.253 -p 参数-p代表永久路由,系统重启后该路由依旧生效 查看已有路由 route print 阅读全文
posted @ 2020-08-04 10:29 leechg 阅读(832) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示