{"id":13631672,"url":"https://github.com/daniel-hutao/k8s-source-code-analysis","last_synced_at":"2025-05-16T09:05:19.641Z","repository":{"id":37675755,"uuid":"170800860","full_name":"daniel-hutao/k8s-source-code-analysis","owner":"daniel-hutao","description":"《k8s-1.13版本源码分析》","archived":false,"fork":false,"pushed_at":"2022-06-17T07:36:12.000Z","size":6400,"stargazers_count":1061,"open_issues_count":8,"forks_count":321,"subscribers_count":61,"default_branch":"master","last_synced_at":"2025-04-09T04:03:25.443Z","etag":null,"topics":["golang","k8s","kubernetes","source-code"],"latest_commit_sha":null,"homepage":"https://www.danielhu.cn/k8s-source-code-analysis/","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/daniel-hutao.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-15T04:16:18.000Z","updated_at":"2025-03-26T14:09:35.000Z","dependencies_parsed_at":"2022-08-08T21:15:44.776Z","dependency_job_id":null,"html_url":"https://github.com/daniel-hutao/k8s-source-code-analysis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel-hutao%2Fk8s-source-code-analysis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel-hutao%2Fk8s-source-code-analysis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel-hutao%2Fk8s-source-code-analysis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel-hutao%2Fk8s-source-code-analysis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daniel-hutao","download_url":"https://codeload.github.com/daniel-hutao/k8s-source-code-analysis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254501557,"owners_count":22081528,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["golang","k8s","kubernetes","source-code"],"created_at":"2024-08-01T22:02:34.004Z","updated_at":"2025-05-16T09:05:14.628Z","avatar_url":"https://github.com/daniel-hutao.png","language":null,"funding_links":[],"categories":["Others"],"sub_categories":[],"readme":"**声明：本书已经不再更新和维护，感兴趣的朋友可以选择 fork 一个版本。另外我的新书《Kubernetes Operator 开发进阶》将在2022年9月出版，大家如果感兴趣可以提前关注我的公众号“胡说云原生”，届时我会在公众号里通知，并送书十本。**\n\n![kubernetes](./image/k8s-source-code.png)\n\n# 1、关于本书\n\n本书将系统讲解kubernetes的核心组件源码，附带介绍相关的周边项目，比如client-go等。\n\n建议通过公众号`胡说云原生`（微信上直接搜索可以找到）接收更新消息，通过[\u003cu\u003egithub pages\u003c/u\u003e](https://daniel-hutao.github.io/k8s-source-code-analysis/)阅读本书。\n\n寻找组织可以加我微信（ITNT01），一句话证明自己是源码学习者，然后我会拉你进群。\n\n# 2、内容更新\n\n本项目会不定期更新，一般会在每周五更新一节；更新内容将同步发到公众号`胡说云原生`、博客园`胡说云原生`等。细微的更新，比如错别字修改等不会同步到其他所有平台。\n\n每次新章节会选择性提前发到微信群内，比如本周五要发出来的新内容周一可能就内部发到群里了，然后接受读者反馈，定稿后上传到github，然后同步到微信公众号等平台。\n\n# 3、本教程适合谁读\n\n任何对k8s源码感兴趣的人都可以看本教程，但是我建议你至少有golang项目开发经验，简单的golang开源项目的源码分析经验，k8s应用经验，对golang的基础特性和k8s的基础特性有一定的了解；不然直接上手看k8s源码会郁闷的。\n\n# 4、章节规划与负责人\n\n- [Scheduler](core/scheduler/README.md) - [daniel-hutao](https://github.com/daniel-hutao)\n- [Controller-manager](core/controller-manager/README.md)  - [daniel-hutao](https://github.com/daniel-hutao)\n- [Kube-proxy](core/kube-proxy/README.md) - [XiaoYang](https://github.com/gotoolkits)\n- [Apiserver](core/apiserver/README.md)\n- [Kubelet](core/kubelet/README.md)\n\n# 5、版本说明\n\n本书基于：v1.13版本源码讲解。\n\n# 6、协议\n\n本书使用Apache License 2.0协议，但是保留出版图书的权利。\n\n# 7、贡献\n\n欢迎参与本书编写！如果你对开源项目源码分析感兴趣，可以和我联系，如果你擅长某个项目，可以主导一个章节的编写。\n\n如果想要提交pull request，建议先开一个issue，说明你要做什么修改，一般1天内我会回复issue，告诉你是否接受修改。但是得提前告诉你我是一个有洁癖的人，包括代码洁癖，文字洁癖等，所以请不要提交太随意的风格的内容哦～\n\n另外注意：一定先更新你的仓库到最新状态，然后编辑新内容，不然冲突很尴尬～\n\n# 8、FAQ\n\n暂时我没有考虑增加评论功能，因为不可避免要增加三方插件，三方插件意味着用户需要注册登录等，体验不会太好。万一哪天这个插件倒闭了，就白忙活了。所以在每章开头我增加了一个FAQ部分，会把这一章中各个小节收到的部分问题汇总在开头的FAQ里。\n\n大家在微信里问我的问题一般我都会耐心解答，但是和go语言本身语法相关的初级问题还是不希望经常遇到，因为我认为语言本身问题是很容易通过网络资料学习掌握的。另外有问题尽量抛到群里，私信多的话有时候我要1个问题很好几个人讲，工作量比较大。\n\n# 9、支持本书\n\n微信扫一扫，鼓励作者快快更新，写出更多优质的文章～\n\n\u003cimg src=\"image/README/wx.jpg\" width=\"400\"  align=center /\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaniel-hutao%2Fk8s-source-code-analysis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaniel-hutao%2Fk8s-source-code-analysis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaniel-hutao%2Fk8s-source-code-analysis/lists"}