base on The most(might be) detailed Kubernetes tutorials in Chinese. 全网(可能)最详细的Kubernetes中文教程。 ## Kubernetes 使用教程
### 文章索引
#### 核心内容
- [Kubernetes 基础教程](doc_tutorial.md)
- [Kubernetes 进阶教程](doc_tutorial_senior.md)
#### 进阶内容
- [Kubernetes 日志收集](doc_log_collection.md)
- [Kubernetes 维护指导](doc_maintaintion.md)
- [Kubernetes 安全分析](doc_security.md)
- [Kubernetes 实战指导](doc_k8s_actions_guide.md)
- [Kubernetes 技巧汇总](doc_skills.md)
- [特别篇:服务网格 | Istio 🆕](./doc_k8s_actions_guide.md#8-服务网格)
#### 快速入门指南
- [Helm 手记](doc_helm.md)
- [Elasticsearch 快速入门](doc_es_quickstart.md)
### 其他链接
- [正在维护的 Kubernetes 版本](https://kubernetes.io/releases/)
- [Kubernetes 版本发布历史](https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG)
- [kubectl 命令行教程](https://kubernetes.io/docs/reference/kubectl/cheatsheet/#zsh)
- [Kubernetes API Groups on v1.27](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#api-groups)
### 资料索引
- [Gitbook:Awesome-Kubernetes](https://ramitsurana.gitbook.io/awesome-kubernetes/docs)
- [kubectl 命令文档](https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands)
- 模板示例
- [Pod 示例集合](example_pod)
- [Job/CronJob 示例集合](example_job)
- [关于 kubectl exec 你需要知道的一切(英)](https://humalect.com/blog/kubectl-exec)
- [K8s 面试题(史上最全 + 持续更新)](https://www.cnblogs.com/crazymakercircle/p/17052058.html)
### 最佳实践
对于英文文章,你可以使用网页翻译插件(如欧路翻译、沉浸式翻译、Relingo等)来提高阅读效率。
- [(英)每个开发人员都应该知道的 15 个 Kubernetes 最佳实践](https://collabnix.com/15-kubernetes-best-practices-every-developer-should-know/)
- [(英)每个开发人员都应该知道的 17 个 Kubernetes 最佳实践](https://spacelift.io/blog/kubernetes-best-practices#3-use-autoscaling)
- [(英)Kubernetes 安全基础知识和 10 个基本最佳实践](https://www.aquasec.com/cloud-native-academy/kubernetes-in-production/kubernetes-security-best-practices-10-steps-to-securing-k8s/)
- [(英)你应该了解的 10 个 Kubernetes 安全上下文设置](https://snyk.io/blog/10-kubernetes-security-context-settings-you-should-understand/)
### 推荐的社区文章
- [InfoQ:首次部署 Kubernetes 应用,总会忽略这些事](https://www.infoq.cn/article/evv4tdg06s5y7yHV0tky)
- [InfoQ:最佳实践丨使用 Rancher 轻松管理上万资源不是梦](https://www.infoq.cn/article/alauo5jmqwyoyj7ds0le)
- [InfoQ:将 Kubernetes 扩展到超过 4k 个节点和 200k 个 Pod](https://www.infoq.cn/article/gJRYgXV0Mqj2DUugA6GU)
- [InfoQ:利用零信任原则保障 Kubernetes 环境访问安全](https://www.infoq.cn/article/ZjHZmjMXuUwSDubtjEa0)
- [InfoQ:从滴滴的(K8s 升级)故障我们能学到什么🔥](https://www.infoq.cn/article/lGzz3DULicICzvOIbPXh)
- [微信文章:万级 K8s 集群背后 etcd 稳定性及性能优化实践](https://mp.weixin.qq.com/s?__biz=MzI5ODQ2MzI3NQ%3D%3D&chksm=eca427d0dbd3aec636ef425c8f36c93d2de0666144f604723d89ac5f6b19e3e33393267f0163&idx=2&mid=2247491220&scene=27&sn=1c818ace53ed059f9cd28fac65fdecb9)
- [微信文章:K8s-apiserver 工作原理](https://mp.weixin.qq.com/s?__biz=MzI5ODQ2MzI3NQ%3D%3D&chksm=eca4246ddbd3ad7babd20232aa4dd063dfe9854a508ee9749d890bb01e4a89e9ec4e1335ca28&idx=2&mid=2247490857&scene=27&sn=ecbd558968f98f548338179bde0f649e)
- [微信文章:K8s 为什么要弃用 Docker?](https://mp.weixin.qq.com/s?__biz=MzI5ODQ2MzI3NQ%3D%3D&chksm=eca79d7adbd0146c0c286273b6da96293bb2faf22d65a798e3c777a5423501a80991517aa722&idx=1&mid=2247509054&scene=27&sn=14886df58080dbb277b3605cac041d82)
- [微信文章:2020 年 K8s 相关开源项目推荐合集](https://mp.weixin.qq.com/s?__biz=MzI5ODQ2MzI3NQ%3D%3D&chksm=eca7c8b2dbd041a4846fa8485ee8efd49087acf4abc6e4a4714c8075c68dbebdda8ce23aeb69&idx=1&mid=2247496182&scene=27&sn=488fb00e948d38a6c28f93ec097ab479)
- [(英)Kubernetes 中的 etcd 是什么](https://www.armosec.io/glossary/etcd-kubernetes/)
Kubernetes 安全:
- [官方文档:保护集群](https://kubernetes.io/zh-cn/docs/tasks/administer-cluster/securing-a-cluster/)
- [(英)了解 Kubernetes Pod 安全标准](https://snyk.io/blog/understanding-kubernetes-pod-security-standards/)
- [(英)静态加密 Kubernetes Secrets](https://4sysops.com/archives/encrypt-kubernetes-secrets-at-rest/)
- [(英)Kubernetes 安全最佳实践清单](https://ksoc.com/blog/kubernetes-security-ultimate-checklist)
- [(英)Kubernetes 安全最佳实践](https://www.mend.io/blog/kubernetes-security/#Kubernetes_security_context)
Kubernetes 网络:
- [Kubernetes 流量链路剖析 - bilibili@phoa-ldnn](https://www.bilibili.com/video/BV1fv411F7Yv)
- [(英)Kubernetes 网络讲解-初学者指南](https://spacelift.io/blog/kubernetes-networking)
- [(英)理解 Kubernetes 网络架构(深度长文)](https://cloudnativenow.com/topics/cloudnativenetworking/understanding-kubernetes-networking-architecture/)
- [(英)深入了解 Kubernetes 网络模型和通信](https://addozhang.medium.com/deep-dive-into-kubernetes-network-model-and-communication-57a2bffc852e)
- [(英)实施 Kubernetes 网络策略:全面指南](https://blog.kubesimplify.com/implementing-kubernetes-network-policies-a-comprehensive-guide)
- [(英)Kubernetes 网络策略最佳实践](https://snyk.io/blog/kubernetes-network-policy-best-practices/)
- [(英)Kubernetes 网络策略 101:简要指南](https://www.armosec.io/blog/kubernetes-network-policies-best-practices/)
- [(英)深入了解 Kubernetes 网络策略](https://www.uffizzi.com/kubernetes-multi-tenancy/kubernetes-network-policies)
Kubernetes Ingress:
- [(英)什么是 Kubernetes Ingress,它是如何工作的?](https://heffenvox.com/what-is-kubernetes-ingress-and-how-it-works/)
- [(英)Kubernetes Ingress 控制器高级指南](https://loft.sh/blog/advanced-guide-to-kubernetes-ingress-controllers/)
Kubernetes 维护&排障:
- [微信文章:搞定K8S运维常见故障处理](https://mp.weixin.qq.com/s/QsrUrtbqIRRF9ydqOAWHPg)
- [微信文章:记一次 K8s 故障处理(涉及Pod异常、kubelet日志、PID数量限制和内存泄漏)](https://mp.weixin.qq.com/s/yZZj8vB71h0bPoseKK5p5Q)
- [微信文章:Pod驱逐问题处理](https://mp.weixin.qq.com/s/rlazFRKKVlyOG2jp309isg)
- [微信文章:一次意想不到的Pod内存驱逐问题(涉及kubelet)](https://mp.weixin.qq.com/s/51BWWG1ZkVK0txetUIat4A)
- [微信文章:记一次持续三个月的 K8s DNS 排障过程⭐(涉及coreDNS、libc、alpine、conntrack)](https://mp.weixin.qq.com/s/dDfckiTaALmFYHL6Tes_SA)
### PDF&报告
- [(英)**2024** 年 Kubernetes 性能测试报告 @Fairwinds](https://www.fairwinds.com/kubernetes-config-benchmark-report)
- [(英)**2024** 年 Kubernetes 安全报告 @Red Hat](https://www.redhat.com/en/engage/state-kubernetes-security-report-2024)
- [(英)**2024** 年 Kubernetes 成本基准报告 @Cast](https://cast.ai/kubernetes-cost-benchmark/)
- [(英)**2024** 年 Kubernetes 专家之声报告 @Portworx](https://portworx.com/resources/voice-of-kubernetes-expert-report/)
- [(英)2023 年 Kubernetes 使用报告 @VMware](https://www.vmware.com/content/dam/digitalmarketing/vmware/en/pdf/docs/vmware-ebook-state-of-kubernetes.pdf)
- [(英)2023 年 Kubernetes 安全报告(23 页)](https://www.redhat.com/en/resources/state-kubernetes-security-report-2023)
- [(英)2019 年 Kubernetes 安全审查](https://github.com/trailofbits/audit-kubernetes/blob/master/reports/Kubernetes%20Security%20Review.pdf)
### License
本仓库中的 K8s 教程均在 [CC-BY-NC-SA 4.0](License.md) 下发布(转载请注明作者及来源)。
### Star History
[![Star History Chart](https://api.star-history.com/svg?repos=chaseSpace/k8s-tutorial-cn&type=Date)](https://star-history.com/#chaseSpace/k8s-tutorial-cn&Date)
### Contact
- **Author**:Leigg
- **Email**:
[email protected]
- **Programming years**:7 years
", Assign "at most 3 tags" to the expected json: {"id":"5842","tags":[]} "only from the tags list I provide: [{"id":77,"name":"3d"},{"id":89,"name":"agent"},{"id":17,"name":"ai"},{"id":54,"name":"algorithm"},{"id":24,"name":"api"},{"id":44,"name":"authentication"},{"id":3,"name":"aws"},{"id":27,"name":"backend"},{"id":60,"name":"benchmark"},{"id":72,"name":"best-practices"},{"id":39,"name":"bitcoin"},{"id":37,"name":"blockchain"},{"id":1,"name":"blog"},{"id":45,"name":"bundler"},{"id":58,"name":"cache"},{"id":21,"name":"chat"},{"id":49,"name":"cicd"},{"id":4,"name":"cli"},{"id":64,"name":"cloud-native"},{"id":48,"name":"cms"},{"id":61,"name":"compiler"},{"id":68,"name":"containerization"},{"id":92,"name":"crm"},{"id":34,"name":"data"},{"id":47,"name":"database"},{"id":8,"name":"declarative-gui "},{"id":9,"name":"deploy-tool"},{"id":53,"name":"desktop-app"},{"id":6,"name":"dev-exp-lib"},{"id":59,"name":"dev-tool"},{"id":13,"name":"ecommerce"},{"id":26,"name":"editor"},{"id":66,"name":"emulator"},{"id":62,"name":"filesystem"},{"id":80,"name":"finance"},{"id":15,"name":"firmware"},{"id":73,"name":"for-fun"},{"id":2,"name":"framework"},{"id":11,"name":"frontend"},{"id":22,"name":"game"},{"id":81,"name":"game-engine "},{"id":23,"name":"graphql"},{"id":84,"name":"gui"},{"id":91,"name":"http"},{"id":5,"name":"http-client"},{"id":51,"name":"iac"},{"id":30,"name":"ide"},{"id":78,"name":"iot"},{"id":40,"name":"json"},{"id":83,"name":"julian"},{"id":38,"name":"k8s"},{"id":31,"name":"language"},{"id":10,"name":"learning-resource"},{"id":33,"name":"lib"},{"id":41,"name":"linter"},{"id":28,"name":"lms"},{"id":16,"name":"logging"},{"id":76,"name":"low-code"},{"id":90,"name":"message-queue"},{"id":42,"name":"mobile-app"},{"id":18,"name":"monitoring"},{"id":36,"name":"networking"},{"id":7,"name":"node-version"},{"id":55,"name":"nosql"},{"id":57,"name":"observability"},{"id":46,"name":"orm"},{"id":52,"name":"os"},{"id":14,"name":"parser"},{"id":74,"name":"react"},{"id":82,"name":"real-time"},{"id":56,"name":"robot"},{"id":65,"name":"runtime"},{"id":32,"name":"sdk"},{"id":71,"name":"search"},{"id":63,"name":"secrets"},{"id":25,"name":"security"},{"id":85,"name":"server"},{"id":86,"name":"serverless"},{"id":70,"name":"storage"},{"id":75,"name":"system-design"},{"id":79,"name":"terminal"},{"id":29,"name":"testing"},{"id":12,"name":"ui"},{"id":50,"name":"ux"},{"id":88,"name":"video"},{"id":20,"name":"web-app"},{"id":35,"name":"web-server"},{"id":43,"name":"webassembly"},{"id":69,"name":"workflow"},{"id":87,"name":"yaml"}]" returns me the "expected json"