Convert Figma logo to code with AI

feiskyer logokubernetes-handbook

Kubernetes Handbook (Kubernetes指南) https://kubernetes.feisky.xyz

5,312
1,382
5,312
0

Top Related Projects

4,440

Kubernetes website and documentation repo:

Kubernetes中文指南/云原生应用架构实战手册

和我一步步部署 kubernetes 集群

15,866

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:

  1. Visit the repository: https://github.com/feiskyer/kubernetes-handbook
  2. Choose your preferred language (English or Chinese) by selecting the appropriate directory
  3. Start with the "Introduction" section to get an overview of Kubernetes
  4. Follow the table of contents to explore specific topics of interest
  5. Use the search function in GitHub to find specific information quickly
  6. Consider cloning the repository locally for offline access:
git clone https://github.com/feiskyer/kubernetes-handbook.git
cd kubernetes-handbook
  1. Contribute to the project by submitting issues or pull requests if you find areas for improvement or have additional content to share

Competitor Comparisons

4,440

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.

15,866

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 Figma logo designs to code with AI

Visual Copilot

Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.

Try Visual Copilot

README

序言

star this repo fork this repo contributions welcome

Kubernetes 是谷歌开源的容器集群管理系统,是 Google 多年大规模容器管理技术 Borg 的开源版本,也是 CNCF 最重要的项目之一,主要功能包括:

  • 基于容器的应用部署、维护和滚动升级
  • 负载均衡和服务发现
  • 跨机器和跨地区的集群调度
  • 自动伸缩
  • 无状态服务和有状态服务
  • 广泛的 Volume 支持
  • 插件机制保证扩展性

Kubernetes 发展非常迅速,已经成为容器编排领域的领导者。Kubernetes 的中文资料也非常丰富,但系统化和紧跟社区更新的则就比较少见了。《Kubernetes 指南》开源电子书旨在整理平时在开发和使用 Kubernetes 时的参考指南和实践总结,形成一个系统化的参考指南以方便查阅。欢迎大家关注和添加完善内容。

在线阅读

项目源码

项目源码存放于 Github 上,https://github.com/feiskyer/kubernetes-handbook。

本书版本更新记录

如无特殊说明,本指南所有文档仅适用于 Kubernetes v1.6 及以上版本。详细更新记录见 CHANGELOG。

微信公众号

扫码关注微信公众号,回复关键字即可在微信中查看相关章节。

贡献者

欢迎参与贡献和完善内容,贡献方法参考 CONTRIBUTING。感谢所有的贡献者,贡献者列表见 contributors。

LICENSE

LICENSE

署名-非商业性使用-相同方式共享 4.0 (CC BY-NC-SA 4.0)。