摘要:Select boot-target : – via /etc/systemd/system/default.target symlink; – appending number or systemd.unit=<target> to bootargs. root@ubuntu:/# systemc
阅读全文
摘要:Failed to restart app.service: Unit app.service is not loaded properly: Exec format error [Unit] Description=Openvmi Xvfb Manger service [Service] Exe
阅读全文
摘要:root@ubuntu:/# journalctl -r -t Openvmi-Container-Manager No journal files were found. -- No entries -- root@ubuntu:/# systemctl restart systemd-journ
阅读全文
摘要:惠春阳, Intel 软件工程师, 主要从事SPDK开发和存储软件性能优化的工作。 文章转载自DPDK与SPDK开源社区 随着存储技术的发展, 对存储性能的不懈追求, 高性能存储开始探索向内存通道的迁移。 在这样的情况下, NVDIMM 技术便应运而生了。 NVDIMM (Non-Volatile
阅读全文
摘要:Introduction In general, Docker containers are ephemeral, running just as long as it takes for the command issued in the container to complete. By def
阅读全文
摘要:perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "en_HK:en", LC_ALL = (unset), LANG = "en_HK.UT
阅读全文
摘要:AEP简介 AEP是Intel推出的一种新型的非易失Optane Memory设备,又被称作Apache Pass,所以一般习惯称作AEP。在这之前也有类似的设备称作NVDIMM或PMEM,目前Linux创建的AEP设备节点也是叫做pmem(如/dev/pmem0),所以本文中NVDIMM或PMEM
阅读全文
摘要:I: Configuring libip6tc0:arm64... I: Configuring libapt-pkg5.0:arm64... I: Configuring libnetfilter-conntrack3:arm64... I: Configuring libnss3:arm64..
阅读全文
摘要:ip link add link eth0 name macvtap0 type macvtap mode bridge qemu-kvm -nographic -kernel /boot/vmlinuz-guest \ -append "console=ttyS0 root=/dev/vda" \
阅读全文
摘要:root@ubuntu:/opt/gopath/src/github.com/kata-containers/runtime# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES d36cbb25f4ff debian "/
阅读全文
摘要:{ “device”:”tap1”, “name”:”eth1”, “IPAddresses”:[{“address”:”172.17.1.10”,”mask”:”24”}], “mtu”:1300, “hwAddr”:”02:42:20:6f:a2:80” “vhostUserSocket”:”/
阅读全文
摘要:https://github.com/kata-containers/runtime/issues/1876 插件扩展 https://m.php.cn/manual/view/36157.html 网络驱动插件与群模式 Docker 1.12增加了对群集管理和编排的支持,称为群集模式。以群集模式运
阅读全文
摘要:func (q *qemu) virtiofsdArgs(fd uintptr) []string { // The daemon will terminate when the vhost-user socket // connection with QEMU closes. Therefore
阅读全文
摘要:agent createDeviceNode 容器侧 kata 虚拟机 Nov 25 11:31:21 pcl-01 kata-runtime[2103926]: time="2020-11-25T11:31:21.185001827+08:00" level=info msg="Device ha
阅读全文
摘要:--device挂载的设备,容器内的进程通常没有权限操作,需要使用--cap-add开放相应的权限,如下 Kubernetes下使用device Kubernetes支持--device问题在社区上讨论了很久,感兴趣的可以看下#5607。当前的解决方案是使用device plugins机制来注册要访
阅读全文
摘要:func (r *runner) run(config *specs.Process) (int, error) { if err := r.checkTerminal(config); err != nil { r.destroy() return -1, err } process, err :
阅读全文
摘要:// execSetns runs the process that executes C code to perform the setns calls // because setns support requires the C process to fork off a child and
阅读全文
摘要:go-nsenter https://github.com/Devatoria/go-nsenter package main import ( "fmt" "github.com/Devatoria/go-nsenter" ) func main() { config := &nsenter.Co
阅读全文
摘要:root@ubuntu:/home/ubuntu/test/learning/namespaces/Mount_001# go run Mount_001.go run ERRO[0000] no such file or directory root@nshost:/# root@nshost:/
阅读全文
摘要:package main import ( "flag" "os" "os/exec" "syscall" "github.com/sirupsen/logrus" ) func main() { var nsShell, nsHostName, rootPath string flag.Strin
阅读全文
摘要:root@ubuntu:/home/ubuntu# docker run -itd --name test ubuntu /bin/bash 86d1bf0df1c9ff0a705be14b5263473f5c2d2bbbcc01b7159494047d74a51647 root@ubuntu:/h
阅读全文
摘要:RunC 源码通读指南之 Cgroup RunC 源码通读指南之 NameSpace libcontainer/process_linux.go:282 func (p *initProcess) start() error { defer p.messageSockPair.parent.Clos
阅读全文
摘要:首先在 cpu 子系统下面创建了一个 halfapi 的子节点:cgcreate abc:abc -g cpu:halfapi。 然后在配置文件中写入配置数据:echo 50000 > /cgroup/cpu/halfapi/cpu.cfs_quota_us。cpu.cfs_quota_us中的默认
阅读全文
摘要:sharedVolume := &grpc.Storage{ Driver: kataVirtioFSDevType, Source: mountGuestTag, MountPoint: kataGuestSharedDir(), Fstype: typeVirtioFS, Options: sh
阅读全文
摘要:const ( driver9pType = "9p" driverVirtioFSType = "virtio-fs" driverBlkType = "blk" driverBlkCCWType = "blk-ccw" driverMmioBlkType = "mmioblk" driverSC
阅读全文
摘要:换成 docker export $(docker create busybox) | tar -C rootfs -xvf - 之前移植了 filesystem/initrd,用的 busybox 是 v1.25.0,但运行一个最简单的 Hello world 程序都提示 -/bin/sh: ./
阅读全文
摘要:UNIX socket that spans two different mount namespaces The “init” process can establish a communication channel between the parent namespace and the ch
阅读全文
摘要:func RecvFd(socket *os.File) (*os.File, error) { // For some reason, unix.Recvmsg uses the length rather than the capacity // when passing the msg_con
阅读全文
摘要:挂载proc文件系统 前文中已经提到,如果你在新的PID namespace中使用ps命令查看,看到的还是所有的进程,因为与PID直接相关的/proc文件系统(procfs)没有挂载到与原/proc不同的位置。所以如果你只想看到PID namespace本身应该看到的进程,需要重新挂载/proc,命
阅读全文
摘要:nsenter https://www.cnblogs.com/sparkdev/p/9400673.html 与 namespace 相关的工具 unshare 命令unshare 命令把当前进程加入到一个新建的 namespace 中,然后运行指定的程序(不指定目标程序则运行系统的默认 shel
阅读全文
摘要:kata-containers/runtime# make -j48 kata-runtime - version 1.12.0-alpha1 (commit 011c73f24a94118c74a1833fb2f27da0eaf3b576-dirty) BUILD /opt/gopath/src/
阅读全文
摘要:ubuntu@ubuntu:linux-5.4.60-89/drivers/input$ cat built-in.a !<thin> // 476 ` input.o/ input-compat.o/ input-mt.o/ input-poller.o/ ff-core.o/ mousedev.
阅读全文
摘要:qemu-system-aarch64: -usb## : invalid option 原来是kernel不支持usb
阅读全文
摘要:[root@localhost android]# gdb /usr/local/bin/qemu-system-aarch64 /data1/core/core-qemu-system-aar-75383_1605777158 GNU gdb (GDB) Red Hat Enterprise Li
阅读全文
摘要:执行命令: # /usr/libexec/qemu-kvm -device help USB devices: name "ich9-usb-ehci1", bus PCI name "ich9-usb-ehci2", bus PCI name "ich9-usb-uhci1", bus PCI n
阅读全文
摘要:qemu-system-aarch64: -device usb-host,vendorid=0x12d1,productid=0x0003a: 'usb-host' is not a valid device model name ln -sf /usr/local/lib/libusb-1.0.
阅读全文
摘要:众所周一,在Linux上使用容器有个天大的好处,就是可以把不同的系统打包运行,虽然你的宿主机可能就是CentOS,但是如果使用了容器技术,你可以同时运行alpline,Debian,Ubuntu等其他的你喜欢的发行版,关键是这些容器共享宿主的资源,因此,每个容器是非常轻量级的,不同虚拟机,这是如何做
阅读全文
摘要:There is another question related with '--privileged' in Kata: In runc, '--privileged' will translate capabilities of host dev into container. In Kata
阅读全文
摘要:// prepareRootfs sets up the devices, mount points, and filesystems for use // inside a new mount namespace. It doesn't set anything as ro. You must c
阅读全文
摘要:root@ubuntu:~# ls /dev/input/ by-id by-path event0 event1 event2 js0 mice mouse0 root@ubuntu:~# ls /dev/input/ by-id by-path event0 event1 event2 js0
阅读全文
摘要:include/config# ls 64bit auto.conf build cpusets.h dql.h fair generic inet.h kasan memfd network paravirt.h preempt rwsem slub.h swiotlb.h trace virti
阅读全文
摘要:k8s启动两个container 容器1 容器二 k8s -kata 虚拟机 两个容器和虚拟机的mac地址都一样 # # Internetworking model # Determines how the VM should be connected to the # the container
阅读全文
摘要:Linux Namespace 技术与 Docker 原理浅析 https://creaink.github.io/post/Computer/Linux/Linux-namespace/ 简介 Docker 核心技术主要从以下几个方面实现: 命名空间(namespace):通过进程命名空间,将do
阅读全文
摘要:背景 在日常的系统编程中,我们经常有这样的需求:fork 多个子进程去执行任务。例如典型的 master-slave 架构便是这样的,fork 调用之后,父进程开始作为管理进程管理子进程,而子进程则开始执行处理请求的代码。但是在Go语言中,由于Go语言屏蔽了进程、线程的概念,而只提供了 gorout
阅读全文
摘要:Build Your Own Container Using Less than 100 Lines of Go https://www.infoq.com/articles/build-a-container-golang/ Linux containers in 500 lines of cod
阅读全文
摘要:// needsSetupDev returns true if /dev needs to be set up. func needsSetupDev(config *configs.Config) bool { for _, m := range config.Mounts { if m.Dev
阅读全文
摘要:void nsexec(void) unshare(CLONE_NEWUSER) http://www.sel.zju.edu.cn/?p=840 Namespace API提供了三种系统调用接口: ● clone():创建新的进程 ● setns():允许指定进程加入特定的namespace ●
阅读全文
摘要:root@pc-01:~# docker ps | grep busybox 807e1730775a busybox "sh" 5 hours ago Up 5 hours optimistic_hermann root@pcl-01:~# docker inspect 807e1730775a
阅读全文
摘要:创建 user namespace 我们可以通过 unshare 命令的 --user 选项来创建新的 user namespace: $ unshare -user -r /bin/bash 通过 -r 参数,我们把新的 user namespace 中的 root 用户映射到了外面的 nick
阅读全文
摘要:写这个系列文章主要是对之前做项目用到的docker相关技术做一些总结,包括docker基础技术Linux命名空间,cgroups,网络等内容。这是第一篇Linux命名空间,主要参考的introduction-to-linux-namespaces和Namespaces in operation 这两
阅读全文
摘要:在 4 月 9 号结束的 OpenStack 基金会董事会议上,董事们投票批准了 Kata Containers 成为基金会旗下第一个新的顶级开放基础设施(Open Infrastructure)项目,这是该项目的一个重要里程碑。 作为 Kata Containers 的初创成员之一,华为拥有 Ka
阅读全文
摘要:Today we’ll be continuing our containerization blog series with a discussion about runC, a tool for launching containers according to Open Container I
阅读全文
摘要:systemd-cgls 2. How to use cgroups? The user can access and manage cgroups directly and indirectly (with LXC, libvirt or Docker). Install the necessar
阅读全文
摘要:https://www.cnblogs.com/passzhang/p/12918766.html CAP_SYS_RAWIO allows full access to the host systems memory with /proc/kcore, /dev/mem, and /dev/kme
阅读全文
摘要:GO_AGENT_PKG if [ -z "${AGENT_SOURCE_BIN}" ] ; then if [ "$RUST_AGENT" == "no" ]; then docker_run_args+=" --env GO_AGENT_PKG=${GO_AGENT_PKG}" else doc
阅读全文
摘要:提到虚拟化技术,我们首先想到的一定是 Docker,经过四年的快速发展 Docker 已经成为了很多公司的标配,也不再是一个只能在开发阶段使用的玩具了。作为在生产环境中广泛应用的产品,Docker 有着非常成熟的社区以及大量的使用者,代码库中的内容也变得非常庞大。 同样,由于项目的发展、功能的拆分以
阅读全文
摘要:shim/vendor/github.com/docker/docker/oci/devices_linux.go:85: return devs, devPermissions, fmt.Errorf("error gathering device information while adding
阅读全文
摘要:1. 查看config配置项 进入需要编译的目录,我的目录是 ./net/bridge, sean@sean:/media/sean/b55f4db0-2560-4807-b8bf-b29a66db54e1/home/sean/work/tmp/kernel/linux-4.8/net/bridge
阅读全文
摘要:// Set sets an endpoint type based on the input string. func (endpointType *EndpointType) Set(value string) error { switch value { case "physical": *e
阅读全文
摘要:DPDK in Containers Hands-on Lab Accelerate Clear Container Network performance Microsoft Research released FreeFlow on GitHub. https://www.microsoft.c
阅读全文
摘要:Error - no supported modules(DPDK driver) are loaded [ 45.422045] VFIO - User Level meta-driver version: 0.3 Y Error - no supported modules(DPDK drive
阅读全文
摘要:Container isolation with Kata and gVisor in Docker Overview Containers are an efficient way to build and distribute workloads free of (most) host and
阅读全文
摘要:1. $ docker network create -d macvlan macvlan1 2. $docker run -d --runtime=kata-runtime --network=macvlan --name=containerA debian sh -c "tail -f /dev
阅读全文
摘要:-netdev tap,ifname=tap1,id=network-0,vhost=on,script=no,downscript=no \ -device driver=virtio-net-pci,netdev=network-0,mac=02:42:ac:11:00:02,disable-m
阅读全文
摘要:qemu-system-aarch64: ../net/net.c:1021: net_client_init1: Assertion `nc' failed. root@cloud:/data1/core# gdb /usr/local/bin/qemu-system-aarch64 /data1
阅读全文
摘要:ip tuntap add test_tun mode tap user root ioctl(TUNSETIFF): Device or resource busy #!/bin/sh set -x switch=virbr0 if [ -n "$1" ];then ip tuntap add $
阅读全文
摘要:https://maggie262.github.io/2020/01/22/vhost/ | | | vhost client | | | | | shared memory | | | | | socket | | | | vhost backend | vhost-user 基于 C/S 的模
阅读全文
摘要:git branch --all git checkout -b remotes/origin/stable-5.0make -j64 clean 删除5.1 cd .. rm -rf build/ 不删除 有问题 root@cloud:~/qemu-system/virtio_qemu/qemu.
阅读全文
摘要:root@cloud:~# virtiofsd -o vhost_user_socket=/tmp/vhostqemu -o source=/tmp/hostShare -o cache=always virtio_session_mount: Waiting for vhost-user sock
阅读全文
摘要:OVS-DPDK 是什么 OVS-DPDK 为容器提供网络支持 基于 DPDK 的应用 基于内核协议栈的应用 OVS-DPDK 容器网络方案验证 搭建 DPDK 环境 编译运行 OVS-DPDK DPDK 应用的容器 基于内核协议栈的应用(使用 veth pair 连接 ovs-dpdk) 基于内核
阅读全文
摘要:https://www.cnblogs.com/sparkdev/p/8461576.html
阅读全文
摘要:在scripts/kconfig路径下有一个merge_config.sh,可以用于将将两个defconfig merge成一个.使用用法如下:./scripts/kconfig/merge_config.sh -m arch/arm64/configs/defconfig arch/arm64/c
阅读全文
摘要:Set up paths Naturally all of the paths below are configurable, this is just what I used. export PROJECT_PATH="/opt/qemu_android" export VIRGLRENDERER
阅读全文
摘要:qemu-system-aarch64: -netdev tap,ifname=tap1,id=network-0,vhost=on,script=../qemu-ifup,vnet_hdr=on: info: net_client_init_fun call 10 + switch=virbr0
阅读全文
摘要:How to launch QEMU from command line without libvirt with macvtap and vhost supportThis sets up a host local bridge with a macvlan interface for VM to
阅读全文
摘要:https://blog.csdn.net/whatday/article/details/88896800 sudo apt-get update $ sudo apt-get install build-essential autoconf git $ git clone https://git
阅读全文
摘要:无论是哪种设备,在 /dev 目录下都有一个对应的文件(节点),并且每个设备文件都必须有主/次设备号,主设备号相同的设备是同类设备,使用同一个驱动程序(虽然目前的内核允许多个驱动共享一个主设备号,但绝大多数设备依然遵循一个驱动对应一个主设备号的原则)。 可以通过 cat /proc/devices
阅读全文
摘要:[ 0.137372] (driver?) [ 0.137550] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 0.137762] CPU: 0 PID: 1 Comm: swapp
阅读全文
摘要:root@pcl-01:/usr/share/kata-containers# strings vmlinux-5.0.21-84 | grep "Linux version" Linux version 5.0.21 (root@pcl-01) (gcc version 7.5.0 (Ubuntu
阅读全文
摘要:netdev_dpdk_vhost_construct定义在文件openvswitch-2.9.2/lib/netdev-dpdk.c 1058 static int 1059 netdev_dpdk_vhost_construct(struct netdev *netdev) 1060 { 106
阅读全文
摘要:http://blog.chinaunix.net/uid-28541347-id-5786547.html https://zhaozhanxu.com/2017/02/16/QEMU/2017-02-16-qemu-reconnect/ qemu-system-aarch64: -netdev
阅读全文
摘要:去debuginfo.centos.org 下载相应的rpm包, cat /etc/yum.repos.d/CentOS-Debug.repo #Debug Info [debug] name=CentOS-$releasever - DebugInfo baseurl=http://debugin
阅读全文
摘要:https://community.arm.com/developer/tools-software/tools/b/tools-software-ides-blog/posts/open-vswitch-with-dpdk-setup-on-arm-for-phy-vm-phy-vhost-loo
阅读全文
摘要:1. eventfd 事件通知 eventfd 事件通知不仅可以用于线程间的事件通知,还可以用于内核和用户空间的事件通知。 2. eventfd 用户空间API #include <sys/eventfd.h> //创建事件通知句柄,可以被read 和 write 函数使用 int eventfd(
阅读全文
摘要:首先说明在2.6.36以后ioctl函数已经不再存在了,而是用unlocked_ioctl和compat_ioctl两个函数实现以前版本的ioctl函数。 ioctl 是设备驱动程序中设备控制接口函数,一个字符设备驱动通常会实现设备打开、关闭、读、写等功能,在一些需要细分的情境下,如果需要扩展新的功
阅读全文
摘要:https://dpdk-docs.readthedocs.io/en/latest/prog_guide/vhost_lib.html 1、 怎么实现vhost_dev的VhostOps的vhost_set_vring_kick和vhost_set_vring_call; vhost_net ke
阅读全文
摘要:vhost是virtio的另一种方案,用于跳过qemu,减少qemu和内核之间上下文切换的开销,对于网络IO而言提升尤其明显。vhost目前有两种实现方案,内核态和用户态,本文重点讨论内核态的vhost vhost内核模块主要处理数据面的事情,控制面上还是交给qemu,vhost的数据结构如下 st
阅读全文
摘要:qemu-system-aarch64: -chardev socket,id=char0,path=/tmp/vhost1,server: info: QEMU waiting for connection on: disconnected:unix:/tmp/vhost1,server qemu
阅读全文
摘要:[root@localhost cloud_images]# lsmod | grep vhost_net vhost_net 262144 0 vhost 262144 1 vhost_net tap 262144 1 vhost_net tun 262144 2 vhost_net [root@
阅读全文
摘要:kvm_cpu_exec --> kvm_vcpu_ioctl(cpu, KVM_RUN, 0) static void *kvm_vcpu_thread_fn(void *arg) { CPUState *cpu = arg; int r; rcu_register_thread(); qemu_
阅读全文
摘要:虚拟机安装dpdk virt-sysprep --root-password password:changeme --uninstall cloud-init --selinux-relabel -a vhuser-test1.qcow2 --network --install "dpdk,dpdk
阅读全文
摘要:https://cloud.tencent.com/developer/article/1468105 qemu) "ctrl+]" to return to telnet, (qemu)"quit" to exit qemu applicatoin. 通过网络连接到QEMU MONITO http
阅读全文
摘要:https://doc.dpdk.org/guides-18.11/howto/lm_bond_virtio_sriov.html https://doc.dpdk.org/guides-18.05/nics/intel_vf.html step 不需要echo xx > /sys/bus/pci/
阅读全文
摘要:For vhost cuse: qemu-system-x86_64 ... \ -netdev tap,id=hostnet1,vhost=on,vhostfd=<open fd> \ -device virtio-net-pci, netdev=hostnet1,id=net1 \ -netde
阅读全文
摘要:The purpose of this document is to introduce the reader to the vhost-user feature for QEMU that was developed by Virtual Open Systems for use by the S
阅读全文
摘要:https://mails.dpdk.org/archives/dts/2016-August/001780.html virt-sysprep -a vhuser-test1.qcow2 --network --install "telnet*" #qemu-system-aarch64 -nam
阅读全文
摘要:virt-customize -a $1.qcow2 --run-command 'yum install -y wget' virt-builder fedora-27 \ --hostname client.example.com \ --update \ --install puppet \
阅读全文
摘要:[root@localhost cloud_images]# guestfish -rw -a vhuser-test1.qcow2 guestfish: cannot mix --ro and --rw options [root@localhost cloud_images]# guestfis
阅读全文
摘要:[root@localhost libxml2]# patch -pn < 0001-fix-parser-termination-from-Double-hyphen-within-com.patch patch: **** strip count n is not a number [root@
阅读全文
摘要:libxml2-py.c:3:20: fatal error: Python.h: No such file or directory 1042 git clone https://gitlab.gnome.org/GNOME/libxml2.git 1043 ls 1044 cd libxml2/
阅读全文
摘要:yum install gnutls-devel yum install libxml2-devel yum install yajl-devel XDR is required for remote driver : yum install libtirpc-devel pip3 install
阅读全文
摘要:Here is the command I use to boot QEMU: qemu-system-aarch64 -M virt -m 32768 -cpu cortex-a72 \ -kernel $VMLINUZ \ -initrd $INITRD \ -append 'root=/dev
阅读全文
摘要:libvirt 編譯 https://opengers.github.io/virtualization/kvm-libvirt-qemu-1/ http://smilejay.com/2012/06/qemu-kvm_compilation_installation/ 3.4 编译和安装qemu-
阅读全文
摘要:/usr/libexec/qemu-kvm -h $ /path/to/aarch64-softmmu/qemu-system-aarch64 \ -machine virt \ -cpu cortex-a57 \ -nographic -smp 1 \ -hda /path/to/rootfs.e
阅读全文
摘要:$ qemu-system-aarch64 -M help akita Sharp SL-C1000 (Akita) PDA (PXA270) ... z2 Zipit Z2 (PXA27x) $ qemu-system-aarch64 -M virt -cpu help arm1026 ... t
阅读全文
摘要:cwd: /tmp/pip-install-3evdau32/ninja Complete output (9 lines): File "/tmp/pip-build-env-m7obrf29/overlay/lib/python3.6/site-packages/skbuild/setuptoo
阅读全文
摘要:[root@localhost ~]# virsh undefine vhuser-test1error: Failed to undefine domain vhuser-test1error: Requested operation is not valid: cannot undefine d
阅读全文
摘要:socat - UNIX-CONNECT:/tmp/vhost-user1
阅读全文
摘要:[root@localhost ~]# ps -elf | grep qemu 6 S root 49878 1 0 80 0 - 6068 poll_s 22:00 ? 00:00:00 /usr/libexec/qemu-kvm -name guest=vhuser-test1,debug-th
阅读全文
摘要:[root@localhost cloud_images]# qemu-system-aarch64 -smp 8 -m 8192 -cpu host -M virt -nographic -drive file=vhuser-test1.qcow2,id=hd0 -device virtio-bl
阅读全文
摘要:DPDK 之 Symmetric Receive-side Scaling 上篇介绍到RSS HASH默认RK是一个非对称KEY,也就是同一条数据流收、发这两个方向的数据包的RSS HASH值是不同的。在IDS/DPI等流量分析应用场景中,同一条流数据由非对称HASH计算将分流到不同的CPU,这样极
阅读全文
摘要:Logging For detailed information and analysis on obtaining logs for other system components, see the documentation for the kata-log-parser tool. For r
阅读全文
摘要:root@ubuntu:/home/ubuntu# kata-collect-data.sh > /tmp/kata-collect-data.log ERROR: kata-collect-data.sh: cannot find runtime '' 更改 typeset -r runtime_
阅读全文
摘要:https://github.com/kata-containers/runtime/issues/1876 root@ubuntu:/etc/systemd/system/docker.service.d# docker ps -a CONTAINER ID IMAGE COMMAND CREAT
阅读全文
摘要:root@pcl-01:/usr/share/defaults/kata-containers# qemu-system-aarch64 -vqemu-system-aarch64: error while loading shared libraries: librbd.so.1: cannot
阅读全文
摘要:ps -eLo ruser,pid,ppid,lwp,psr,args | awk '{if($5==3) print $0}' 还是借助于ps指令 :ps -eLo ruser,pid,ppid,lwp,psr| awk ‘{if($5==1) print $0}’。解释为:ps命令显示当前系统的
阅读全文
摘要:https://github.com/kata-containers/documentation/blob/master/design/host-cgroups.md https://zhuanlan.zhihu.com/p/105230155 https://blog.csdn.net/yuchu
阅读全文
摘要:单个容器 root@25a725e7599e:/# lsbin dev home lost+found mnt proc run srv tmp varboot etc lib media opt root sbin sys usrroot@25a725e7599e:/# ls var/backup
阅读全文
摘要:root@ubuntu:/home/ubuntu# mount | grep overlay | grep docker | grep merged | grep 761dc1b5e9093b905d4d7e23b9c7a18af36874f265860095613ff83e148d8cf3 ove
阅读全文
摘要:Update for Kata Containers 1.7 and later This HowTo is obsolete as of Kata Containers 1.7. virtio-fs has been included in Kata Containers and can be e
阅读全文
摘要:Pod 开销 FEATURE STATE: Kubernetes v1.18 [beta] 在节点上运行 Pod 时,Pod 本身占用大量系统资源。这些资源是运行 Pod 内容器所需资源的附加资源。 POD 开销 是一个特性,用于计算 Pod 基础设施在容器请求和限制之上消耗的资源。 Pod 开销
阅读全文
摘要:root@ubuntu:~# cat kata-two-nginx.yaml apiVersion: v1 kind: Pod metadata: name: two-containers spec: runtimeClassName: kata restartPolicy: Never volum
阅读全文
摘要:虚拟机rootfs root@25a725e7599e:/# ls bin dev home lost+found mnt proc run srv tmp var boot etc lib media opt root sbin sys usr root@25a725e7599e:/# ls li
阅读全文
摘要:root@ubuntu:/home/ubuntu# kata-runtime exec e12a7db6fb05df044a59a19bb03c39fe7752e4d684a8e2e58822b88606d3ac3e rpc error: code = Internal desc = Could n
阅读全文