1 2 3 4 5 ··· 11 下一页
摘要: 报错: failed to run Kubelet: unable to load bootstrap kubeconfig: stat /etc/kubernetes/bootstrap-kubelet.conf: no such file or directory 解决: #备份并重新生成证书 阅读全文
posted @ 2023-09-16 22:06 whitesky-root 阅读(52) 评论(0) 推荐(0) 编辑
摘要: #停止所有进程 supervisorctl stop all #停止程序 func 所有进程 supervisorctl stop func:* #停止程序 func:nn_0 的进程 supervisorctl stop func:nn_0 #启动所有进程 supervisorctl start 阅读全文
posted @ 2023-07-10 10:53 whitesky-root 阅读(49) 评论(0) 推荐(0) 编辑
摘要: oop坑:在celery一个task中, 一个build对象在build过程中会不断变化, 如果在变化前获取了对象o=qs.get(id), 在build结束后,再直接更新对象o,o.save()方式,则build过程中的状态变更,全部会丢失 阅读全文
posted @ 2023-04-25 11:00 whitesky-root 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 打包机替换.ssh/gitlab_id_rsa即可/home/publish/.ssh/gitlab_id_rsa cat /home/publish/.ssh/config Host gitlab.xxx.comIdentityFile ~/.ssh/gitlab_id_rsaHostName g 阅读全文
posted @ 2023-04-07 16:47 whitesky-root 阅读(40) 评论(0) 推荐(0) 编辑
摘要: 简单json字段:{"name":"test", "age":30, "email":"tet@gmail.com"}, 可以通过obj.jsonfiledName["name"] ="test2", obj.save()方式可成功写入数据库; 复杂json字段如,更新number字段,需使用特殊的 阅读全文
posted @ 2023-03-24 12:08 whitesky-root 阅读(135) 评论(0) 推荐(0) 编辑
摘要: https://github.com/samber/lo https://github.com/thoas/go-funk 阅读全文
posted @ 2023-01-28 20:10 whitesky-root 阅读(53) 评论(0) 推荐(0) 编辑
摘要: gcc环境配置 yum install centos-release-scl -yyum install devtoolset-7 -y 阅读全文
posted @ 2022-07-05 16:03 whitesky-root 阅读(39) 评论(0) 推荐(0) 编辑
摘要: http://t.zoukankan.com/duanlinxiao-p-10789535.html 阅读全文
posted @ 2022-04-19 14:58 whitesky-root 阅读(10) 评论(0) 推荐(0) 编辑
摘要: https://dmesg.app/python-longpoll-db.html https://www.cnblogs.com/ivictor/p/5979731.html 阅读全文
posted @ 2022-04-07 17:32 whitesky-root 阅读(24) 评论(0) 推荐(0) 编辑
摘要: FROM centos:centos7.5.1804 ADD jdk-17_linux-x64_bin.tar.gz /usr/local ENV JAVA_HOME /usr/local/jdk-17.0.2 ENV JRE_HOME /usr/local/jdk-17.0.2/jre ENV P 阅读全文
posted @ 2022-03-10 10:49 whitesky-root 阅读(47) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 11 下一页