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.md
file 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 ä¸ææå/äºåçåºç¨æ¶æå®ææå
注æï¼æ¬ä¹¦å 容ä¸åç»´æ¤ï¼å·²è½¬å° https://jimmysong.io/book/kubernetes-handbook/ æµè§ã
Kubernetes æ¯ Google äº 2014 å¹´ 6 æåºäºå ¶å é¨ä½¿ç¨ç Borg ç³»ç»å¼æºåºæ¥ç容å¨ç¼æè°åº¦å¼æï¼Google å°å ¶ä½ä¸ºåå§åæ ¸å¿é¡¹ç®è´¡ç®ç» CNCFï¼äºåç计ç®åºéä¼ï¼ï¼è¿å¹´æ¥éæ¸åå±åºäºäºåççæã
Kubernetes çç®æ ä¸ä» ä» æ¯ä¸ä¸ªç¼æç³»ç»ï¼èæ¯æä¾ä¸ä¸ªè§èç¨ä»¥æè¿°é群çæ¶æï¼å®ä¹æå¡çæç»ç¶æï¼ä½¿ç³»ç»èªå¨å°è¾¾å°åç»´æ该ç¶æãKubernetes ä½ä¸ºäºåçåºç¨çåºç³ï¼ç¸å½äºä¸ä¸ªäºåçæä½ç³»ç»ï¼å ¶éè¦æ§ä¸è¨èå»ã
äºåçææ¯æå©äºåç»ç»å¨å ¬æäºãç§æäºåæ··åäºçæ°åå¨æç¯å¢ä¸ï¼æ建åè¿è¡å¯å¼¹æ§æ©å±çåºç¨ãäºåçç代表ææ¯å æ¬ å®¹å¨ãæå¡ç½æ ¼ãå¾®æå¡ãä¸å¯ååºç¡è®¾æ½ å 声æå¼ APIãè¿äºææ¯è½å¤æ建容éæ§å¥½ãæäºç®¡çå便äºè§å¯çæ¾è¦åç³»ç»ãç»åå¯é çèªå¨åæ段ï¼äºåçææ¯ä½¿å·¥ç¨å¸è½å¤è½»æ¾å°å¯¹ç³»ç»ä½åºé¢ç¹åå¯é¢æµçé大åæ´ãââCNCFï¼äºåç计ç®åºéä¼ï¼ã
å ³äºæ¬ä¹¦
Kubernetes Handbook 项ç®å§äº 2016 å¹´åºï¼å¼æºäº 2017 å¹´ 3 æï¼ä½ä¸ºç¬¬ä¸æ¬ç³»ç»ä»ç» Kubernetes çä¸æçµå书ï¼å ¶åç»è¿ä¸æå®åãåä½æ¬ä¹¦çè¿ç¨ä¸ï¼ç¬è è®°å½äºä»é¶å¼å§å¦ä¹ åä½¿ç¨ Kubernetes çåç¨ï¼çéäºç»éªæ»ç»åèµæå享ï¼äº¦æ Kubernetes æ ¸å¿æ¦å¿µè§£æï¼å¸æè½å¤å¸®å©å¤§å®¶å°èµ°å¼¯è·¯ï¼ä¸ºå¤§å®¶ä»ç» Kubernetes å¨è¾¹çæï¼å¦å¾®æå¡ãDevOpsã大æ°æ®åºç¨ãæå¡ç½æ ¼ãäºåçåºç¨ãServerless çé¢åã
å¼å§ä¹å
å¨é 读æ¬ä¹¦ä¹åå¸ææ¨ææ¡ä»¥ä¸ç¥è¯ååå¤ä»¥ä¸ç¯å¢ï¼
- é 读äºåçæ°ææå
- Linux æä½ç³»ç»åç
- Linux 常ç¨å½ä»¤
- Docker 容å¨åçååºæ¬æä½
- ä¸å°å¯ä»¥ä¸ç½ççµèï¼Mac/Windows/Linux çå¯
- å®è£ Docker
æ¬ä¹¦ä¸»é¢
æ¬ä¹¦ç主é¢ä¸å±éäº Kubernetesï¼è¿å æ¬ä»¥ä¸å 大主é¢ï¼
- äºåçå¼æºç»ä»¶
- äºåçåºç¨ä¸å¾®æå¡æ¶æ
- åºäº Kubernetes çæå¡ç½æ ¼ï¼Service Meshï¼æ¶æ
æ¬ä¹¦ä¸ç说æãå®è£ çææç»ä»¶ãæç¨ç¤ºä¾åæä½è¦æ±è³å° Kubernetes 1.6+ çæ¬ã
使ç¨æ¹å¼
æ¨å¯ä»¥éè¿ä»¥ä¸æ¹å¼ä½¿ç¨æ¬ä¹¦ï¼
- GitHub
- å¨çº¿æµè§
- ä¸è½½æ¬ä¹¦çåè¡ç
- æç §è¯´æèªè¡ç¼è¯æ离线çæ¬
- Fork ä¸ä»½æ·»å ä½ èªå·±çç¬è®°èªè¡ç»´æ¤ï¼æä½åè å¯ä»¥ä¸èµ·åä¸è¿æ¥
å¿«éå¼å§
å¦ææ¨æ³è¦å¦ä¹ Kubernetes åäºåçåºç¨æ¶æä½æ¯åä¸æ³èªå·±ä»å¤´å¼å§æ建åé ç½®ä¸ä¸ªé群ï¼æ¨è以ä¸å ç§æ¹å¼ï¼
- 使ç¨èææºå®è£ çæ¥æä¸ä¸ªèç¹ç Kubernetes é群ï¼é¡¹ç®ç´æ¥å¨æ¬å°é¨ç½²ä¸ä¸ª 3 èç¹çåå¸å¼é群åå ¶ä»å¦ HeapsterãEFKãIstio çå¯éç»ä»¶
- Cloud Native Sandboxï¼æ´å è½»é级ï¼å¨ä¸ªäººçµèä¸ä½¿ç¨ Docker è¿è¡åèç¹ç KubernetesãIstio çç»ä»¶
è´¡ç®ä¸è´è°¢
æ¬é¡¹ç®å·²éæ CircleCIï¼å¨æ¯æ¬¡æ交åä¼èªå¨æ«æ书ä¸é¾æ¥å MarkDown æ ·å¼ï¼å¹¶ç¼è¯ä¸º Gitbook éè¿ GitHub Pages åå¸ãå æ¬ä¹¦åä½æ¶é´è·¨åº¦å¤§ï¼å ¶ä¸é¾å æè¿æ¶åéæ¼çå°æ¹ï¼æ谢大家çè´¡ç®åææ£ï¼
å ³äºæ¬ä¹¦æä»»ä½é®é¢ï¼æ¬¢è¿æ交 Issue æä¸ä½è èç³»ã
许å¯è¯
æ¨å¯ä»¥ä½¿ç¨ç½²å - éåä¸æ§ä½¿ç¨ - ç¸åæ¹å¼å ±äº« 4.0 (CC BY-NC-SA 4.0) åè®®å ±äº«ã
äºåç社åº
äºåç社åºæ¯ä¸å½æ大çç¬ç«ç¬¬ä¸æ¹äºåçç»ç«¯ç¨æ·åæ³å¼åè 社åºï¼ç± CNCF 大使ãå¼æºæè§é¢è¢å ±ååèµ·æç«äº 2020 å¹´ 5 æ 12 æ¥ï¼æä¾äºåçä¸ä¸èµè®¯ï¼ä¿è¿äºåç产ä¸åå±ã
å®æ¹ç½ç« https://cloudnative.toï¼å ³æ³¨äºåç社åºå¾®ä¿¡å ¬ä¼å·ï¼ç³è¯·å å ¥ç¤¾åºã
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