上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 51 下一页
摘要: 1、 创建命令空间 kubectl create namespace test 2、编辑 nginx-deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: name: nginx namespace: test labels: 阅读全文
posted @ 2022-08-29 16:48 代码诠释的世界 阅读(1740) 评论(0) 推荐(0)
摘要: 1、dashboard官网 https://github.com/kubernetes/dashboard/releases 2、安装(k8s-v1.23.1) kubernetes-dashboard.yaml apiVersion: v1 kind: Secret metadata: label 阅读全文
posted @ 2022-08-29 16:20 代码诠释的世界 阅读(855) 评论(0) 推荐(0)
摘要: 1、问题 在执行一键安装k8s, ssh到其他节点更新apt源, 我手动执行update的时候,报的这个错 2、处理方法 ps aux|grep apt 找出对应的进程id, 然后kill sudo kill 3374 重新执行更新即可 参考链接: https://blog.csdn.net/ABC 阅读全文
posted @ 2022-08-29 14:56 代码诠释的世界 阅读(50) 评论(0) 推荐(0)
摘要: 1、问题 配置静态IP时,报错Failed to restart network.service: Unit network.service not found. 2、解决办法 sudo apt-get install network-manager 参考链接: https://blog.csdn. 阅读全文
posted @ 2022-08-29 14:37 代码诠释的世界 阅读(4540) 评论(0) 推荐(0)
摘要: 1、设置root密码 使用具有root权限的账户执行 sudo passwd root 2、配置远程ssh访问 sudo apt-get install openssh-server 编辑配置文件 sudo vim /etc/ssh/sshd_config 修改或添加PermitRootLogin 阅读全文
posted @ 2022-08-29 12:32 代码诠释的世界 阅读(226) 评论(0) 推荐(0)
摘要: 1、官网 https://kubernetes.io/zh-cn/ 2、github https://github.com/kubernetes/kubernetes 3、文档 Kubernetes Documentation | Kubernetes 二进制下载 Download Kubernet 阅读全文
posted @ 2022-08-29 11:38 代码诠释的世界 阅读(1190) 评论(0) 推荐(0)
摘要: 1、打开要提前加注释的函数 2、双击选中函数名,右键 3、点击【show Context Actions】 4、点击【insert a documentation string sub】 5、然后添加函数说明和参数说明即可 阅读全文
posted @ 2022-08-24 20:05 代码诠释的世界 阅读(270) 评论(0) 推荐(0)
摘要: 1、pypi https://pypi.org/project/psutil/ 2、github https://github.com/giampaolo/psutil 3、doc https://psutil.readthedocs.io/en/latest/ 4、获取chromedriver.e 阅读全文
posted @ 2022-08-24 16:30 代码诠释的世界 阅读(1520) 评论(0) 推荐(0)
摘要: 1、环境 OSX 12.5 Java8 vscode 2、脚本 JavaCvCameraTest.java import javax.swing.JFrame; import org.bytedeco.ffmpeg.global.avcodec; import org.bytedeco.javacp 阅读全文
posted @ 2022-08-24 15:35 代码诠释的世界 阅读(1674) 评论(0) 推荐(0)
摘要: 1、环境 python3 OSX 12.5 vscode 2、安装ffmpeg brew install ffmpeg 3、安装cv2 pip install opencv-python # or pip --default-timeout=100 install opencv-python -i 阅读全文
posted @ 2022-08-24 14:43 代码诠释的世界 阅读(4723) 评论(0) 推荐(0)
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 51 下一页