上一页 1 2 3 4 5 6 7 8 ··· 35 下一页
摘要: 1、首先我们要下载ubuntu的镜像 docker pull ubuntu 2、下载完之后我们创建ubuntu容器的容器名称为:ubuntu-test docker run -itd --name ubuntu-test ubuntu 3、运行容器,并且可以通过 exec 命令进入 ubuntu 容 阅读全文
posted @ 2023-08-10 14:01 年轻人——001 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 一,问题:现在要从sqlite读取wkt类型的数据,写入postgis库中 wkt在sqlite中的格式为: python直接读取的格式是: b'\x00\x01\xef\x7f\x00\x00\xf9\xff\xff\xf3\xc8\xfe*\x' pg库可以直接存的类型是wkt格式: LINES 阅读全文
posted @ 2023-08-09 18:56 年轻人——001 阅读(159) 评论(0) 推荐(0) 编辑
摘要: k8s集群使用GPU问题一,首先需要安装 nvidia-container-runtime yum install nvidia-container-runtime 1,然后修改 /etc/docker/daemon.json 文件,添加以下内容 "default-runtime": "nvidia 阅读全文
posted @ 2023-02-24 11:09 年轻人——001 阅读(398) 评论(0) 推荐(0) 编辑
摘要: 我们要进入一个pod,并且执行一条命令,得到命令的返回值: kubectl命令是: kubectl exec -it calijob-159-element-attr-7z776 --namespace=calibration -- /bin/bash -c 'python3 /workspace/ 阅读全文
posted @ 2023-02-24 10:58 年轻人——001 阅读(64) 评论(0) 推荐(0) 编辑
摘要: kubectl 常用命令指南 Kubctl 命令是操作 kubernetes 集群的最直接的方式,特别是运维人员,需要对这些命令有一个详细的掌握 Kubectl 自动补全 # setup autocomplete in bash, bash-completion package should be 阅读全文
posted @ 2023-02-24 10:49 年轻人——001 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 问题: k8s集群中,某台node节点上,dns解析失败,进入pod中 查看/etc/reslove.conf 中nameserver和kube-dns不一致,如图: pod中如下: kube-dns如下: 造成这种现象的原因,可能是重装k8s集群的时候,这台node节点上kubelet的启动参数, 阅读全文
posted @ 2022-12-22 19:30 年轻人——001 阅读(1368) 评论(0) 推荐(0) 编辑
摘要: Flannel是为Kubernetes设计的一种简单易用的容器网络解决方案,将所有的Pod都组织在同一个子网的虚拟大二层网络中。Flannel支持的后端转发方式有许多种,本文将介绍其中两种,VXLAN以及host-gw。 1.VXLAN 简介 VXLAN (Virtual Extensible LA 阅读全文
posted @ 2022-12-12 16:24 年轻人——001 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-11-30 15:29 年轻人——001 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-11-25 16:08 年轻人——001 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 今天创建pod的时候,一直不running, describe pod 后看到报错:Failed create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "bb8a1493e7c0 阅读全文
posted @ 2022-11-25 14:53 年轻人——001 阅读(689) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 35 下一页