上一页 1 2 3 4 5 6 7 8 ··· 18 下一页
摘要: docker executor $ cat config.toml ...... [[runners]] environment = ["DOCKER_AUTH_CONFIG={\"auths\":{\"registry.xxx.com\":{\"auth\":\"dmlwZXIucm9ib3QuZ 阅读全文
posted @ 2023-12-15 17:56 yuhaohao 阅读(118) 评论(0) 推荐(0)
摘要: gitlab runner部署 部署方案可以采用gitlab runner operator部署,也可以直接使用gitlab helm charts部署。 runner配置说明 对于k8s gitlab runner的具体参数可以参考:https://docs.gitlab.com/runner/e 阅读全文
posted @ 2023-12-14 11:00 yuhaohao 阅读(65) 评论(0) 推荐(0)
摘要: # 查看ipmi的ip [root@HOST-10-198-2-62 ~]# ipmitool lan print # 首先确认非admin用户的id,选择一个ID创建root用户 [root@HOST-10-198-2-62 ~]# ipmitool user list 1 # 创建root用户 阅读全文
posted @ 2023-12-12 16:28 yuhaohao 阅读(637) 评论(0) 推荐(0)
摘要: 查看服务器内存条数 [root@test ~]# dmidecode |grep -P -A5 "Memory\s+Device" |grep Size |grep -v Range Size: 32 GB Size: 32 GB Size: 32 GB Size: 32 GB Size: 32 G 阅读全文
posted @ 2023-12-07 15:01 yuhaohao 阅读(23) 评论(0) 推荐(0)
摘要: 简单说明 这里,我们介绍一下containerd架构,以便于更好了理解containerd容器。 服务端子系统(Bundle和Runtime)和组件 下图是containerd的架构示意图: containerd是典型的C/S架构,在服务端包含Bundle和Runtime两大Subsystems(子 阅读全文
posted @ 2023-11-28 19:41 yuhaohao 阅读(362) 评论(0) 推荐(0)
摘要: 查看ns状态 root@test-10-5-2-15:~# kubectl get ns NAME STATUS AGE cert-manager Terminating 19h 查看该命名空间下的资源 kubectl api-resources -o name --verbs=list --nam 阅读全文
posted @ 2023-11-14 16:32 yuhaohao 阅读(138) 评论(0) 推荐(0)
摘要: # cat clear_k8s_ingress.sh set -e kubectl get ing -A -o=custom-columns='NAMESPACE:.metadata.namespace,NAME:.metadata.name,SVCs:..service.name' --no-he 阅读全文
posted @ 2023-11-02 16:44 yuhaohao 阅读(65) 评论(0) 推荐(0)
摘要: 问题现象 在某个集群节点上的服务访问service服务:端口,会出现偶发timeout的问题,集群有的节点不会出现访问timeout的问题 问题处理 查看bridge-nf-call-iptables参数是否开启 cat /proc/sys/net/bridge/bridge-nf-call-ipt 阅读全文
posted @ 2023-10-25 17:22 yuhaohao 阅读(545) 评论(0) 推荐(0)
摘要: k8s gpu 共享方案 1.配置环境变量实现 通过在POD的启动文件中,配置NVIDIA_VISIBLE_DEVICES的环境变量,指定显卡号。NVIDIA_VISIBLE_DEVICES可配置为具体的显卡号,也可以配置all env: - name: NVIDIA_VISIBLE_DEVICES 阅读全文
posted @ 2023-10-16 19:18 yuhaohao 阅读(827) 评论(0) 推荐(0)
摘要: 查看证书的有效期 [root@host ~]# openssl x509 -in ca.pem -noout -dates notBefore=Oct 12 07:56:37 2023 GMT notAfter=Oct 9 07:56:37 2033 GMT 打印证书的内容 [root@host ~ 阅读全文
posted @ 2023-10-16 15:51 yuhaohao 阅读(49) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 18 下一页