2020 年 1 月手记
Kubernetes
kubernetes dynamic client
typed client 接收固定类型的对象,只能对固定类型对象进行操作。dynamic client 我们只要告诉它 group,version,kind 信息,传入 unstructured object,便可操作“任意类型”的对象。
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#
sealos
一个生产环境可以使用的 Kubernetes 高可用方案
https://github.com/fanux/sealos
openebs
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的调整细节及内部实现
模拟进程 d 状态
https://unix.stackexchange.com/questions/134888/simulate-an-unkillable-process-in-d-state