05 2022 档案

vscode远程连接服务器出现Bad owner or permissions on .ssh/config
摘要:vscode远程连接服务器出现Bad owner or permissions on C:\\Users\USER\.ssh/config 过程试图写入的管道不存在, 原因是vscode的remotoe-ssh改写了.config 后,此文件的权限发生了变化,此时不仅在vscode中没权限使用con 阅读全文

posted @ 2022-05-27 17:00 MissSimple 阅读(1233) 评论(0) 推荐(0)

安装helm
摘要:直接下载一个二级制,然后解压到/usr/local下就行: 下载地址: https://github.com/helm/helm/releases Download your desired version Unpack it (tar -zxvf helm-v3.0.0-linux-amd64.t 阅读全文

posted @ 2022-05-25 16:25 MissSimple 阅读(147) 评论(0) 推荐(0)

kubebuilder入门
摘要:1、在go/src下创建一个test-builder文件夹,注意文件夹名中不能用下划线 go/src/test-kubebuilder 2、 kubebuilder init --domain test.io 3、 kubebuilder create api --group testnew --v 阅读全文

posted @ 2022-05-24 10:45 MissSimple 阅读(61) 评论(0) 推荐(0)

.bashrc不生效
摘要:.bashrc是以来.profile生效的,所以在.$HOME下需要创建一个.profile文件内容如下: # ~/.profile: executed by the command interpreter for login shells. # This file is not read by b 阅读全文

posted @ 2022-05-16 15:51 MissSimple 阅读(697) 评论(0) 推荐(0)

go升级
摘要:安装go: yum install epel-release yum install golang 设置环境变量: vim /etc/profile export GOROOT=/usr/local/go export GOPATH=you code path source /etc/profile 阅读全文

posted @ 2022-05-16 15:36 MissSimple 阅读(1003) 评论(0) 推荐(0)

vs code连接服务器卡在Downloading VS Code Server
摘要:普通用户, 这是下载时卡住了,网络原因一直下不下来,此时我们可以本地下载后,再传上去 ls /home/test/.vscode-server/bin/f80445acd5a3da24aa209168452a3d97cc32(一串很的东西,这里叫做commit_id吧)/vscode-servlet 阅读全文

posted @ 2022-05-13 09:54 MissSimple 阅读(18810) 评论(0) 推荐(1)

更新k8s资源:patch,update
摘要:update方法: 创建和更新方法: func Create() { namespace := "wm" restConfig, err := clientcmd.BuildConfigFromFlags("", "/home/wm/config") if err != nil { return } 阅读全文

posted @ 2022-05-07 18:01 MissSimple 阅读(269) 评论(0) 推荐(0)

GPU虚拟化:MIG和vGPU对比
摘要:在 vGPU 模式下,GPU 上的内存是静态分区的,但计算能力在共享 GPU 的 VM 之间分时共享。在这种模式下,当虚拟机在 GPU 上运行时,它“拥有” GPU 的所有计算能力,但只能访问其共享的 GPU 内存。 在 MIG 模式下,内存和计算能力是静态划分的。当 VM 在 MIG 模式下使用 阅读全文

posted @ 2022-05-06 09:27 MissSimple 阅读(3644) 评论(0) 推荐(0)

导航