Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/googs1025/k8s-client-go-api-demo
使用k8s自带的client-go练习写demo、周边部署与二次开发练习。
https://github.com/googs1025/k8s-client-go-api-demo
client-go client-go-sample kubernetes prometheus
Last synced: 2 months ago
JSON representation
使用k8s自带的client-go练习写demo、周边部署与二次开发练习。
- Host: GitHub
- URL: https://github.com/googs1025/k8s-client-go-api-demo
- Owner: googs1025
- Created: 2022-11-14T16:31:45.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-24T05:43:35.000Z (about 1 year ago)
- Last Synced: 2024-04-21T17:19:01.410Z (8 months ago)
- Topics: client-go, client-go-sample, kubernetes, prometheus
- Language: Go
- Homepage:
- Size: 2.91 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## client-go操作k8s资源练习demo
### 此项目使用client-go操作kubernetes资源对象
![](https://github.com/googs1025/k8s-client-go-api-demo/blob/main/image/modb_20211018_a440841c-2ff3-11ec-9bb3-fa163eb4f6be.png?raw=true)#### 资源类:
```bigquery
1. pod操作事例
2. job操作事例
3. deployment操作事例
4. statefulset操作事例
5. service操作事例
6. controller(内部资源对象)操作事例
```
#### 操作类
```bigquery
1. informer使用事例
2. fakeclient测试用例
```#### 不同字段、用法类
```bigquery
1. label字段使用方法
2. field字段使用方法
3. Unstructure使用方法
4. serialize序列使用方法
5. patch更新使用方法
```
#### 部署类
```
1. HPA自动扩缩容实践
2. prometheus部署实践
3. crd部署实践
```