上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 164 下一页

2021年6月8日

摘要: 先设置变量: NS=cali VETH=v-cali 创建 netns 和 veth, veth 一端塞进去, 射 ip: ip netns add $NS ip l add $VETH type veth peer name $VETH-peer ip l set $VETH-peer up ip 阅读全文
posted @ 2021-06-08 12:03 tycoon3 阅读(113) 评论(0) 推荐(0)

2021年6月2日

摘要: [root@cloud crds]# cat model.yaml apiVersion: devices.kubeedge.io/v1alpha2 kind: DeviceModel metadata: name: temperature-model-simulate namespace: def 阅读全文
posted @ 2021-06-02 11:52 tycoon3 阅读(463) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-06-02 11:20 tycoon3 阅读(37) 评论(0) 推荐(0)

2021年6月1日

摘要: Understanding CNI (Container Networking Interface) https://github.com/containernetworking/cni 执行 kubectl apply -f https://raw.githubusercontent.com/co 阅读全文
posted @ 2021-06-01 20:16 tycoon3 阅读(172) 评论(0) 推荐(0)

2021年5月31日

摘要: root@ubuntu:~# kubectl logs antrea-busybox root@ubuntu:~# kubectl logs antrea-busybox --previous root@ubuntu:~# kubectl get pods NAME READY STATUS RES 阅读全文
posted @ 2021-05-31 10:37 tycoon3 阅读(255) 评论(0) 推荐(0)

2021年5月28日

摘要: 暴露一个http服务的方式 service 是 k8s 暴露http服务的默认方式, 其中 NodePort 类型可以将http 服务暴露在宿主机的端口上,以便外部可以访问。 service模式的结构如下. service -> label selector -> pods 31217 -> app 阅读全文
posted @ 2021-05-28 15:48 tycoon3 阅读(582) 评论(0) 推荐(0)
摘要: root@ubuntu:~# kubectl apply -f ./antrea/build/yamls/antrea.yml customresourcedefinition.apiextensions.k8s.io/antreaagentinfos.clusterinformation.antr 阅读全文
posted @ 2021-05-28 12:02 tycoon3 阅读(332) 评论(0) 推荐(0)

2021年5月26日

摘要: Valgrind工具详解 1.Memcheck 最常用的工具,用来检测程序中出现的内存问题,所有对内存的读写都会被检测到,一切对malloc、free、new、delete的调用都会被捕获。所以,它能检测以下问题: 1、对未初始化内存的使用; 2、读/写释放后的内存块; 3、读/写超出malloc分 阅读全文
posted @ 2021-05-26 14:53 tycoon3 阅读(392) 评论(0) 推荐(0)
摘要: #include<stdio.h> #include<stdlib.h> void main() { int *ptr = (int *)0; *ptr = 100; } root@ubuntu:~/c++# gcc seg.c -o seg root@ubuntu:~/c++# ./seg Seg 阅读全文
posted @ 2021-05-26 11:42 tycoon3 阅读(175) 评论(0) 推荐(0)
摘要: root@ubuntu:~/c++# ./u_server Listener on port /tmp/echo_socket Waiting for connections ... Welcome message sent successfully Adding to list of socket 阅读全文
posted @ 2021-05-26 09:54 tycoon3 阅读(104) 评论(0) 推荐(0)
上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 164 下一页

导航