Top Related Projects
Kubernetes website and documentation repo:
Kubernetes Handbook (Kubernetes指南) https://kubernetes.feisky.xyz
和我一步步部署 kubernetes 集群
Deploy a Production Ready Kubernetes Cluster
Quick Overview
The kubernetes-handbook repository is a comprehensive guide to Kubernetes in Chinese. It covers various aspects of Kubernetes, including its architecture, components, and best practices for deployment and management. The handbook serves as a valuable resource for developers and administrators looking to learn about and work with Kubernetes.
Pros
- Extensive coverage of Kubernetes concepts and components
- Written in Chinese, making it accessible to a large audience
- Regularly updated with new information and best practices
- Includes practical examples and use cases
Cons
- Limited to Chinese language, which may not be accessible to non-Chinese speakers
- May require frequent updates to keep pace with rapidly evolving Kubernetes ecosystem
- Some sections might be too technical for beginners
Getting Started
To access the Kubernetes Handbook:
- Visit the GitHub repository: https://github.com/rootsongjc/kubernetes-handbook
- Clone the repository or download the content as a ZIP file
- Open the
README.mdfile to start exploring the handbook - Navigate through the various chapters and sections to learn about different Kubernetes topics
Note: This is not a code library, so there are no code examples or quick start instructions for implementation. The handbook is meant to be read and studied for learning purposes.
Competitor Comparisons
Kubernetes website and documentation repo:
Pros of website
- Official Kubernetes documentation repository, ensuring up-to-date and accurate information
- Multilingual support with translations available in various languages
- Extensive contributor base and regular updates
Cons of website
- Primarily focused on documentation, lacking in-depth tutorials or hands-on examples
- May be overwhelming for beginners due to its comprehensive nature
Code Comparison
kubernetes-handbook:
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
spec:
replicas: 3
selector:
matchLabels:
app: nginx
website:
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
labels:
app: nginx
spec:
replicas: 3
selector:
matchLabels:
app: nginx
The code snippets show similar Kubernetes Deployment manifests. The website repository's example includes additional labels in the metadata section, demonstrating a more comprehensive approach to resource labeling.
kubernetes-handbook provides a more concise Chinese-language resource for Kubernetes learning, while website offers official, multilingual documentation with a broader scope. The handbook may be more suitable for Chinese-speaking beginners, whereas website serves as a comprehensive reference for the global Kubernetes community.
Kubernetes Handbook (Kubernetes指南) https://kubernetes.feisky.xyz
Pros of kubernetes-handbook (feiskyer)
- More frequent updates and commits, indicating active maintenance
- Broader coverage of Kubernetes-related topics, including cloud-native technologies
- Includes practical examples and hands-on tutorials
Cons of kubernetes-handbook (feiskyer)
- Less structured organization compared to rootsongjc's version
- Primarily written in Chinese, which may limit accessibility for non-Chinese speakers
- Fewer contributors, potentially resulting in a narrower perspective
Code Comparison
kubernetes-handbook (rootsongjc):
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
spec:
replicas: 3
kubernetes-handbook (feiskyer):
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
labels:
app: nginx
spec:
replicas: 3
Both repositories provide similar code examples, with feiskyer's version including additional labels in the metadata section. This demonstrates a slight difference in the level of detail provided in code samples between the two handbooks.
和我一步步部署 kubernetes 集群
Pros of follow-me-install-kubernetes-cluster
- Provides step-by-step instructions for manual Kubernetes installation
- Focuses on practical implementation rather than theoretical concepts
- Regularly updated with the latest Kubernetes versions
Cons of follow-me-install-kubernetes-cluster
- Limited scope, primarily covering installation and basic setup
- Less comprehensive coverage of Kubernetes concepts and features
- Primarily in Chinese, which may limit accessibility for non-Chinese speakers
Code Comparison
follow-me-install-kubernetes-cluster:
# 创建 kubernetes 证书和私钥
cat > kubernetes-csr.json <<EOF
{
"CN": "kubernetes",
"hosts": [
"127.0.0.1",
"${MASTER_IP}",
"${CLUSTER_KUBERNETES_SVC_IP}",
"kubernetes",
"kubernetes.default",
"kubernetes.default.svc",
"kubernetes.default.svc.cluster",
"kubernetes.default.svc.cluster.local"
],
"key": {
"algo": "rsa",
"size": 2048
},
"names": [
{
"C": "CN",
"ST": "BeiJing",
"L": "BeiJing",
"O": "k8s",
"OU": "System"
}
]
}
EOF
kubernetes-handbook:
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
spec:
selector:
matchLabels:
app: nginx
replicas: 2
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.14.2
ports:
- containerPort: 80
The code snippets demonstrate the different focus areas of each repository. follow-me-install-kubernetes-cluster provides configuration files for setting up Kubernetes components, while kubernetes-handbook offers examples of Kubernetes resource definitions and usage.
Deploy a Production Ready Kubernetes Cluster
Pros of kubespray
- Automated deployment and management of Kubernetes clusters
- Supports multiple cloud providers and on-premises installations
- Regularly updated and maintained by the Kubernetes community
Cons of kubespray
- Steeper learning curve for beginners compared to the handbook
- Requires more technical knowledge to set up and configure
- Less comprehensive documentation for troubleshooting
Code comparison
kubernetes-handbook:
# Kubernetes Handbook
This is a guide for learning and using Kubernetes.
## Table of Contents
1. Introduction to Kubernetes
2. Architecture
3. Basic Concepts
...
kubespray:
# Example inventory file for kubespray
[all]
node1 ansible_host=95.54.0.12 ip=10.3.0.1
node2 ansible_host=95.54.0.13 ip=10.3.0.2
node3 ansible_host=95.54.0.14 ip=10.3.0.3
[kube_control_plane]
node1
[etcd]
node1
node2
node3
Summary
While kubernetes-handbook serves as a comprehensive guide for learning Kubernetes, kubespray is a practical tool for deploying and managing Kubernetes clusters. The handbook is more suitable for beginners and provides in-depth explanations, while kubespray is geared towards experienced users who need to automate cluster deployment across various environments.
Convert
designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual CopilotREADME
Kubernetes æå
Kubernetes åºç¡æç¨ - å ¨é¢ä»ç»å®¹å¨ç¼æææ¯ç宿æåï¼æ¶µçæ ¸å¿æ¶æãå ³é®ç»ä»¶åå®é åºç¨ã
å ³äºæ¬æç¨
æ¬æç¨å 容涵ç容å¨ãKubernetesãæå¡ç½æ ¼ãServerless çäºåççå¤ä¸ªé¢åï¼ä»¥å AI åçåºç¡è®¾æ½ã
æ¬ä¹¦éç¨ç½²å - éå䏿§ä½¿ç¨ - ç¸åæ¹å¼å ±äº« 4.0 (CC BY-NC-SA 4.0) åè®®å ±äº«ã
ä»ä¹æ¯äºåç
äºåçæ¯ä¸ç§è¡ä¸ºæ¹å¼å设计ç念ï¼å ¶æ¬è´¨æ¯éè¿ä¸ç³»åææ¯åæ¹æ³è®ºæ¥æé«äºä¸èµæºå©ç¨çååºç¨äº¤ä»æçãäºè®¡ç®çåå±å²å°±æ¯ä¸é¨äºåçåçåå²ã
仿æ¯åå±åç¨æ¥çï¼
- Kubernetes å¼å¯äºäºåççåºå¹ï¼æä¾äºå®¹å¨ç¼æçæ å
- æå¡ç½æ ¼ï¼å¦ Istioï¼ å¼é¢äºå Kubernetes æ¶ä»£çå¾®æå¡æ²»ç
- Serverless ææ¯ä½¿äºåçä»åºç¡è®¾æ½å±ååºç¨æ¶æå±æ·±å ¥åå±
- AI åç ææ¯ä½¿äºåçä»åºç¨æ¶æå±åæºè½åå¹³å°åå±
æä»¬æ£å¤äºä¸ä¸ªäºåçææ¯å¿«éæ¼è¿çæ°æ¶ä»£ã
Kubernetes ç®ä»
Kubernetes æ¯ Google äº 2014 å¹´ 6 æåºäºå ¶å é¨ä½¿ç¨ç Borg ç³»ç»å¼æºç容å¨ç¼æè°åº¦å¼æãGoogle å°å ¶ä½ä¸ºåå§åæ ¸å¿é¡¹ç®è´¡ç®ç» CNCFï¼äºåç计ç®åºéä¼ï¼ï¼ç°å·²æä¸ºäºåççæçæ ¸å¿åºç³ã
Kubernetes ç使å½
Kubernetes çç®æ ä¸ä» ä» æ¯ä¸ä¸ªç¼æç³»ç»ï¼èæ¯ï¼
- æä¾è§èæ¥æè¿°éç¾¤æ¶æ
- å®ä¹æå¡çæç»ç¶æ
- 使系ç»èªå¨è¾¾å°å¹¶ç»´æè¯¥ç¶æ
- ä½ä¸ºäºåçåºç¨çæä½ç³»ç»
äºåçææ¯æ
æ ¹æ® CNCF å®ä¹ï¼äºåçææ¯æå©äºåç»ç»å¨å ¬æäºãç§æäºåæ··åäºçæ°å卿ç¯å¢ä¸ï¼æå»ºåè¿è¡å¯å¼¹æ§æ©å±çåºç¨ã
æ ¸å¿ææ¯å æ¬ï¼
- **容å¨**ï¼åºç¨æå åè¿è¡çæ ååå
- æå¡ç½æ ¼ï¼å¾®æå¡é´éä¿¡çåºç¡è®¾æ½å±
- **å¾®æå¡**ï¼åºç¨æ¶æç设计模å¼
- ä¸å¯ååºç¡è®¾æ½ï¼åºç¡è®¾æ½ç管çç念
- 声æå¼ APIï¼ç³»ç»é ç½®å管ççæ¹å¼
è¿äºææ¯è½å¤æå»ºå®¹éæ§å¥½ãæäºç®¡çå便äºè§å¯çæ¾è¦åç³»ç»ï¼ç»åå¯é çèªå¨åææ®µï¼ä½¿å·¥ç¨å¸è½å¤è½»æ¾å°å¯¹ç³»ç»ä½åºé¢ç¹åå¯é¢æµçé大忴ã
å ³äºæ¬ä¹¦
Kubernetes Handbook 项ç®å§äº 2016 å¹´åºï¼å¼æºäº 2017 å¹´ 3 æï¼ä½ä¸ºç¬¬ä¸æ¬ç³»ç»ä»ç» Kubernetes ç䏿çµå书ï¼ç»è¿å¤å¹´æç»å®ååæ´æ°ã
æ¬ä¹¦è®°å½äºä»é¶å¼å§å¦ä¹ åä½¿ç¨ Kubernetes ç宿´åç¨ï¼å ·æä»¥ä¸ç¹ç¹ï¼
- 宿坼åï¼çéäºç»éªæ»ç»åæä½³å®è·µå享
- æ·±å ¥æµ åºï¼è¯¦ç»è§£æ Kubernetes æ ¸å¿æ¦å¿µ
- **çæå®æ´**ï¼æ¶µçå¾®æå¡ãDevOpsãæå¡ç½æ ¼ãServerlessãè¾¹ç¼è®¡ç®ãAI åççç¸å ³é¢å
- **æç»æ´æ°**ï¼è·è¿ææ°ææ¯åå±å社åºå¨æ
æ¬ä¹¦åºäº Kubernetes v1.31+ ç¼åï¼æç»æ´æ°ææ°çæ¦å¿µå APIï¼ç¡®ä¿å å®¹çæ¶ææ§ååç¡®æ§ã
å¨çº¿é 读ä¸ä¸è½½
ä½ å¯ä»¥éè¿ä»¥ä¸æ¹å¼é 读æ¬ä¹¦ï¼
- 宿¹ç½ç«ï¼https://jimmysong.io/zh/book/kubernetes-handbook/
- GitHubï¼https://github.com/rootsongjc/kubernetes-handbook
- PDF ä¸è½½ï¼Release 页é¢
åä¸è´¡ç®
æ¬¢è¿æäº¤ Issue å Pull Request æ¥æ¹è¿æ¬ä¹¦ï¼
è´¡ç®æ¹å¼ï¼
- Fork æ¬ä»åº
- åå»ºç¹æ§åæ¯ï¼
git checkout -b feature/amazing-featureï¼ - æäº¤æ´æ¹ï¼
git commit -m 'Add some amazing feature'ï¼ - æ¨éå°åæ¯ï¼
git push origin feature/amazing-featureï¼ - å建 Pull Request
ä½è
Jimmy Song
- 个人ç½ç«ï¼https://jimmysong.io
- GitHub: @rootsongjc
- å¾®ä¿¡å ¬ä¼å·ï¼å ç±³å®
许å¯è¯
æ¬é¡¹ç®éç¨ CC BY-NC-SA 4.0 许å¯è¯ã
è´è°¢
æè°¢ææä¸ºæ¬é¡¹ç®ååºè´¡ç®çæå们ï¼
Top Related Projects
Kubernetes website and documentation repo:
Kubernetes Handbook (Kubernetes指南) https://kubernetes.feisky.xyz
和我一步步部署 kubernetes 集群
Deploy a Production Ready Kubernetes Cluster
Convert
designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual Copilot