gitmyhub

k8s-tutorials

Go ★ 5.9k updated 7mo ago

k8s tutorials | k8s 教程

A free, hands-on Kubernetes tutorial in Chinese that walks through every core resource type step by step, from containers to Helm, with working code examples using a small Go sample app throughout.

GoKubernetesDockerHelmsetup: moderatecomplexity 3/5

This repository is a free, open-source Kubernetes tutorial written primarily in Chinese. Kubernetes (often shortened to k8s) is a system used to run and manage containerized applications at scale. The tutorial is aimed at people who want hands-on practice rather than just reading documentation.

The course is structured as a progressive series of lessons. It starts with the most basic concept, a container, and then introduces each Kubernetes resource type one at a time: pods, deployments, services, ingress, namespaces, configmaps, secrets, jobs and cronjobs, and finally Helm, which is a tool for packaging and deploying a full application. Each lesson builds on the previous one with gradually modified example code.

The README notes that the tutorial assumes you have some familiarity with containers and basic Kubernetes theory beforehand. If you are starting from zero, it recommends reading the official Kubernetes documentation first, then using this tutorial to reinforce that knowledge through practice.

The tutorial content is also published on the author's personal website at guangzhengli.com/courses/kubernetes, where the reading experience is described as better than browsing GitHub directly. The repository accepts community contributions through pull requests and issues, and hosts a discussions section for questions. A small Go application called hellok8s is used as the sample workload throughout the lessons.

Where it fits