Top Related Projects
Kubernetes website and documentation repo:
Kubernetes中文指南/云原生应用架构实战手册
和我一步步部署 kubernetes 集群
Deploy a Production Ready Kubernetes Cluster
Quick Overview
The feiskyer/kubernetes-handbook repository is a comprehensive guide to Kubernetes, covering its core concepts, components, and best practices. It serves as an in-depth resource for both beginners and experienced users, providing detailed explanations and practical examples for deploying and managing containerized applications using Kubernetes.
Pros
- Extensive coverage of Kubernetes topics, from basic concepts to advanced features
- Regularly updated with the latest Kubernetes developments and best practices
- Available in both Chinese and English, making it accessible to a wider audience
- Includes practical examples and real-world use cases
Cons
- May be overwhelming for absolute beginners due to the depth of information
- Some sections might not be fully translated or updated in both languages
- Lacks interactive elements or hands-on exercises for readers to practice
- Navigation can be challenging due to the large amount of content
Getting Started
To get started with the Kubernetes Handbook:
- Visit the repository: https://github.com/feiskyer/kubernetes-handbook
- Choose your preferred language (English or Chinese) by selecting the appropriate directory
- Start with the "Introduction" section to get an overview of Kubernetes
- Follow the table of contents to explore specific topics of interest
- Use the search function in GitHub to find specific information quickly
- Consider cloning the repository locally for offline access:
git clone https://github.com/feiskyer/kubernetes-handbook.git
cd kubernetes-handbook
- Contribute to the project by submitting issues or pull requests if you find areas for improvement or have additional content to share
Competitor Comparisons
Kubernetes website and documentation repo:
Pros of kubernetes/website
- Official Kubernetes documentation source, ensuring up-to-date and accurate information
- Multilingual support with translations available in multiple languages
- Extensive contribution guidelines and community involvement
Cons of kubernetes/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/website:
apiVersion: v1
kind: Pod
metadata:
name: nginx
spec:
containers:
- name: nginx
image: nginx:1.14.2
ports:
- containerPort: 80
kubernetes-handbook:
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
spec:
replicas: 3
selector:
matchLabels:
app: nginx
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.14.2
ports:
- containerPort: 80
The kubernetes/website example shows a basic Pod definition, while the kubernetes-handbook example demonstrates a more complex Deployment resource, showcasing the handbook's focus on practical scenarios.
Kubernetes中文指南/云原生应用架构实战手册
Pros of kubernetes-handbook (rootsongjc)
- More comprehensive coverage of Kubernetes ecosystem and related technologies
- Includes practical examples and real-world use cases
- Regularly updated with contributions from the community
Cons of kubernetes-handbook (rootsongjc)
- Primarily written in Chinese, which may limit accessibility for non-Chinese speakers
- Less focus on basic Kubernetes concepts, assuming some prior knowledge
Code Comparison
kubernetes-handbook (feiskyer):
apiVersion: v1
kind: Pod
metadata:
name: nginx
spec:
containers:
- name: nginx
image: nginx:1.14.2
kubernetes-handbook (rootsongjc):
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
spec:
replicas: 3
selector:
matchLabels:
app: nginx
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.14.2
The code examples show that rootsongjc's handbook tends to provide more complex and production-ready configurations, while feiskyer's handbook focuses on simpler, introductory examples.
Both repositories serve as valuable resources for learning Kubernetes, with feiskyer's handbook being more suitable for beginners and non-Chinese speakers, while rootsongjc's handbook offers more advanced content and is ideal for Chinese-speaking users or those looking for in-depth coverage of the Kubernetes ecosystem.
和我一步步部署 kubernetes 集群
Pros of follow-me-install-kubernetes-cluster
- Provides step-by-step instructions for manual Kubernetes cluster 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 documentation on Kubernetes concepts and advanced topics
- Mainly in Chinese, which may limit accessibility for non-Chinese speakers
Code Comparison
follow-me-install-kubernetes-cluster:
# Install Docker
yum install -y yum-utils device-mapper-persistent-data lvm2
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
yum install -y docker-ce
systemctl enable docker && systemctl start docker
kubernetes-handbook:
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
spec:
replicas: 3
selector:
matchLabels:
app: nginx
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.14.2
ports:
- containerPort: 80
The code snippets highlight the different focus areas of the two repositories. follow-me-install-kubernetes-cluster provides shell commands for setting up the environment, while kubernetes-handbook offers examples of Kubernetes resource definitions and configurations.
Deploy a Production Ready Kubernetes Cluster
Pros of kubespray
- Provides automated Kubernetes cluster deployment and management
- Supports multiple cloud providers and on-premises installations
- Actively maintained by the Kubernetes community (kubernetes-sigs)
Cons of kubespray
- Steeper learning curve for beginners
- Requires more technical knowledge to set up and configure
- Less comprehensive documentation compared to kubernetes-handbook
Code comparison
kubernetes-handbook (documentation example):
## Kubernetes Architecture
Kubernetes follows a client-server architecture. The Kubernetes cluster consists of at least one master node and multiple worker nodes.
1. Master node components:
- API Server
- Scheduler
- Controller Manager
- etcd
kubespray (deployment example):
all:
hosts:
node1:
ansible_host: 192.168.1.10
ip: 192.168.1.10
access_ip: 192.168.1.10
node2:
ansible_host: 192.168.1.11
ip: 192.168.1.11
access_ip: 192.168.1.11
children:
kube_control_plane:
hosts:
node1:
kube_node:
hosts:
node2:
The kubernetes-handbook focuses on providing comprehensive documentation and explanations of Kubernetes concepts, while kubespray is a deployment tool with configuration files for automated cluster setup.
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 æ¯è°·æå¼æºç容å¨é群管çç³»ç»ï¼æ¯ Google å¤å¹´å¤§è§æ¨¡å®¹å¨ç®¡çææ¯ Borg çå¼æºçæ¬ï¼ä¹æ¯ CNCF æéè¦ç项ç®ä¹ä¸ï¼ä¸»è¦åè½å æ¬ï¼
- åºäºå®¹å¨çåºç¨é¨ç½²ãç»´æ¤åæ»å¨å级
- è´è½½åè¡¡åæå¡åç°
- è·¨æºå¨åè·¨å°åºçé群è°åº¦
- èªå¨ä¼¸ç¼©
- æ ç¶ææå¡åæç¶ææå¡
- 广æ³ç Volume æ¯æ
- æ件æºå¶ä¿è¯æ©å±æ§
Kubernetes åå±éå¸¸è¿ éï¼å·²ç»æ为容å¨ç¼æé¢åçé¢å¯¼è ãKubernetes çä¸æèµæä¹é常丰å¯ï¼ä½ç³»ç»ååç´§è·ç¤¾åºæ´æ°çåå°±æ¯è¾å°è§äºããKubernetes æåãå¼æºçµå书æ¨å¨æ´çå¹³æ¶å¨å¼ååä½¿ç¨ Kubernetes æ¶çåèæååå®è·µæ»ç»ï¼å½¢æä¸ä¸ªç³»ç»åçåèæå以æ¹ä¾¿æ¥é ã欢è¿å¤§å®¶å ³æ³¨åæ·»å å®åå 容ã
å¨çº¿é 读
- Gitbook: kubernetes.feisky.xyz
- Github: github.com/feiskyer/kubernetes-handbook
项ç®æºç
项ç®æºç åæ¾äº Github ä¸ï¼https://github.com/feiskyer/kubernetes-handbookã
æ¬ä¹¦çæ¬æ´æ°è®°å½
å¦æ ç¹æ®è¯´æï¼æ¬æåææææ¡£ä» éç¨äº Kubernetes v1.6 å以ä¸çæ¬ã详ç»æ´æ°è®°å½è§ CHANGELOGã
å¾®ä¿¡å ¬ä¼å·
æ«ç å ³æ³¨å¾®ä¿¡å ¬ä¼å·ï¼åå¤å ³é®åå³å¯å¨å¾®ä¿¡ä¸æ¥çç¸å ³ç« èã
è´¡ç®è
欢è¿åä¸è´¡ç®åå®åå 容ï¼è´¡ç®æ¹æ³åè CONTRIBUTINGãæè°¢ææçè´¡ç®è ï¼è´¡ç®è åè¡¨è§ contributorsã
LICENSE
ç½²å-éåä¸æ§ä½¿ç¨-ç¸åæ¹å¼å ±äº« 4.0 (CC BY-NC-SA 4.0)ã
Top Related Projects
Kubernetes website and documentation repo:
Kubernetes中文指南/云原生应用架构实战手册
和我一步步部署 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