会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
whitesky_root
博客园
首页
新随笔
联系
管理
订阅
2023年9月16日
k8s之认证文件失效,导致kubelet无法正常启动
摘要: 报错: 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
阅读(412)
评论(0)
推荐(0)
2023年7月10日
supervisor 配置 安装
摘要: #停止所有进程 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
阅读(251)
评论(0)
推荐(0)
2023年4月25日
oop坑
摘要: oop坑:在celery一个task中, 一个build对象在build过程中会不断变化, 如果在变化前获取了对象o=qs.get(id), 在build结束后,再直接更新对象o,o.save()方式,则build过程中的状态变更,全部会丢失
阅读全文
posted @ 2023-04-25 11:00 whitesky-root
阅读(18)
评论(0)
推荐(0)
2023年4月7日
jenkins打包报错:
摘要: 打包机替换.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
阅读(57)
评论(0)
推荐(0)
2023年3月24日
django jsonfield字段更新的坑
摘要: 简单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
阅读(214)
评论(0)
推荐(0)
2023年1月28日
golang 效率工具库
摘要: https://github.com/samber/lo https://github.com/thoas/go-funk
阅读全文
posted @ 2023-01-28 20:10 whitesky-root
阅读(89)
评论(0)
推荐(0)
2022年7月5日
gcc免编译安装配置
摘要: gcc环境配置 yum install centos-release-scl -yyum install devtoolset-7 -y
阅读全文
posted @ 2022-07-05 16:03 whitesky-root
阅读(60)
评论(0)
推荐(0)
2022年4月19日
运维 chroot
摘要: http://t.zoukankan.com/duanlinxiao-p-10789535.html
阅读全文
posted @ 2022-04-19 14:58 whitesky-root
阅读(17)
评论(0)
推荐(0)
2022年4月7日
mysql lost connection to mysql server during query
摘要: https://dmesg.app/python-longpoll-db.html https://www.cnblogs.com/ivictor/p/5979731.html
阅读全文
posted @ 2022-04-07 17:32 whitesky-root
阅读(32)
评论(0)
推荐(0)
2022年3月10日
jdk镜像制作
摘要: 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
阅读(69)
评论(0)
推荐(0)
下一页
公告