2020 年 1 月手记

Kubernetes

kubernetes dynamic client

typed client 接收固定类型的对象,只能对固定类型对象进行操作。dynamic client 我们只要告诉它 group,version,kind 信息,传入 unstructured object,便可操作“任意类型”的对象。

https://stackoverflow.com/questions/53341727/how-to-submit-generic-runtime-object-to-kubernetes-api-using-client-go

https://soggy.space/namespaced-crds-dynamic-client/

https://www.oreilly.com/library/view/programming-kubernetes/9781492047094/ch04.html

node topology manager

node topology manager 在绑核时可以感知设备拓扑(例如 NUMA Node):

https://github.com/kubernetes/kubernetes/issues/49964

https://docs.google.com/document/d/1lSwVh2ZfJ2FeLXIeyyiNqN_hKPYpahJiwN5X5cszjOk/edit#

https://upcommons.upc.edu/bitstream/handle/2117/114851/Topology-Aware%20GPU%20Scheduling%20for%20Learning%20Workloads.pdf

https://github.com/kubernetes/enhancements/blob/master/keps/sig-node/0035-20190130-topology-manager.md

sealos

一个生产环境可以使用的 Kubernetes 高可用方案

https://github.com/fanux/sealos

openebs

https://docs.openebs.io/

https://github.com/openebs/openebs

Pod Readiness Gate

第三方组件通过该接口,可以主动设置 Pod 的 Ready 状态,从而控制 endpoints 的更新。

https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-readiness-gate

https://github.com/kubernetes/enhancements/blob/master/keps/sig-network/0007-pod-ready%2B%2B.md

https://docs.google.com/document/d/1VFZbc_IqPf_Msd-jul7LKTmGjvQ5qRldYOFV0lGqxf8/edit#

client-go informer

https://blog.csdn.net/weixin_42663840/article/details/81699303

kubernetes gitlab repository

https://gitlab.cncf.ci/kubernetes/kubernetes

eBay Search On K8s - Mohnish Kodnani & Yashwanth Vempati, eBay

https://www.youtube.com/watch?v=chGN44Kqpd8

Networks

tcpdump 教程

https://danielmiessler.com/study/tcpdump/

socket 编程

https://www.geeksforgeeks.org/socket-programming-cc/

tcp server 实现

https://www.geeksforgeeks.org/tcp-server-client-implementation-in-c/

udp server 实现

https://www.geeksforgeeks.org/udp-server-client-implementation-c/

https://linuxacademy.com/blog/linux/netstat-network-analysis-and-troubleshooting-explained/

Linux

资源限制rlimit_nofile的调整细节及内部实现

https://wweir.cc/post/%E8%B5%84%E6%BA%90%E9%99%90%E5%88%B6rlimit_nofile%E7%9A%84%E8%B0%83%E6%95%B4%E7%BB%86%E8%8A%82%E5%8F%8A%E5%86%85%E9%83%A8%E5%AE%9E%E7%8E%B0/

模拟进程 d 状态

https://unix.stackexchange.com/questions/134888/simulate-an-unkillable-process-in-d-state

cfs throttling issues

https://www.youtube.com/watch?v=UE7QX98-kO0

https://github.com/kubernetes/kubernetes/issues/67577

Author

whypro

Posted on

2020-01-09

Updated on

2022-11-11

Licensed under

Comments

Your browser is out-of-date!

Update your browser to view this website correctly.&npsb;Update my browser now

×