https://github.com/zhouchaowen/k8s-tutorial
K8s learning record
https://github.com/zhouchaowen/k8s-tutorial
k8s kubernetes tutorial
Last synced: 5 months ago
JSON representation
K8s learning record
- Host: GitHub
- URL: https://github.com/zhouchaowen/k8s-tutorial
- Owner: Zhouchaowen
- License: mit
- Created: 2023-02-18T01:32:32.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-07-18T05:25:04.000Z (over 1 year ago)
- Last Synced: 2025-01-15T20:15:29.344Z (about 1 year ago)
- Topics: k8s, kubernetes, tutorial
- Language: Go
- Homepage:
- Size: 453 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# k8s-tutorial
k8s learning record
## 核心特性
- 服务发现与负载均衡
- 水平伸缩
- 容器自动恢复
- 自动发布与回滚
- 批量执行
## 安装
## 基础组件
## Yaml
创建的 Kubernetes 对象所对应的 `.yaml` 文件中,需要配置的字段如下:
- `apiVersion` - 创建该对象所使用的 Kubernetes API 的版本
- `kind` - 想要创建的对象的类别
- `metadata` - 帮助唯一标识对象的一些数据,包括一个 `name` 字符串、`UID` 和可选的 `namespace`
- `spec` - 你所期望的该对象的状态
对每个 Kubernetes 对象,其 `spec` 格式都是不同的,包含了特定于该对象的嵌套字段。
## 基础需求
- 运行一个应用
- 传递启动参数
- 持久化数据
- 访问
## 高级需求
- 启动容器前调用
- 停止容器后调用
- 设置运行环境变量
## reference
https://github.com/cncamp/101
https://blog.csdn.net/qq_20466211/article/details/124907397
https://www.jianshu.com/p/b7e0f207a7a5
https://www.ywbj.cc/?p=671
https://github.com/guangzhengli/k8s-tutorials
https://www.tutorialspoint.com/kubernetes/index.htm
https://www.aquasec.com/cloud-native-academy/kubernetes-101/kubernetes-complete-guide/
https://devopscube.com/kubernetes-tutorials-beginners/
https://devopscube.com/learn-kubernetes-complete-roadmap/
https://github.com/huweihuang/kubernetes-notes/blob/master/setup/installer/install-k8s-by-kubeadm.md
https://kubernetes.feisky.xyz/
https://github.com/stacksimplify/kubernetes-fundamentals
https://github.com/ContainerSolutions/kubernetes-examples
https://github.com/dennyzhang/kubernetes-yaml-templates
https://github.com/zhuchuangang/k8s-install-scripts
https://k8s-examples.container-solutions.com/
https://github.com/shuhongfan/DevOps