infrastructure
Featured云原生基础设施。Kubernetes、Helm、Kustomize、Operator、CRD、GitOps、ArgoCD、Flux、IaC、Terraform、Pulumi、CDK。当用户提到 K8s、Helm、GitOps、IaC 时路由到此。
DevOps & Infrastructure 5,847 stars
444 forks Updated today MIT
Install
Quality Score: 99/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# 云原生基础设施 · Infrastructure
## 域概览
```
GitOps 控制平面
|
+-----------------+-----------------+
| | |
ArgoCD/Flux Kubernetes IaC 层
| | |
Git Repo ------> Helm/Kustomize --> Terraform/Pulumi
| | |
声明式配置 容器编排 云资源管理
```
---
## Kubernetes 容器编排
### Helm Chart 开发
标准结构:`Chart.yaml` + `values.yaml` + `templates/` + `charts/`
核心要点:
- Chart.yaml:`apiVersion: v2`, dependencies 声明子 Chart(condition 控制启用)
- values.yaml 设计:image / replicaCount / resources / autoscaling / service / ingress / probes / env / persistence
- Deployment 模板:使用 `_helpers.tpl` 定义 `fullname` / `labels` / `selectorLabels`
- 配置校验:`checksum/config: {{ include ... | sha256sum }}` 触发滚动更新
- 安全上下文:`runAsNonRoot: true, runAsUser: 1000`
关键命令:
- `helm lint` / `helm template --debug` 验证
- `helm install -f values-prod.yaml` 部署
- `helm upgrade --reuse-values` 升级
- `helm rollback <release> <revision>` 回滚
- `helm push <chart>.tgz oci://registry` 推送 OCI
### Kustomize 配置管理
目录结构:`base/` + `overlays/{dev,staging,production}/`
核心能力:
- base/kustomization.yaml:resources / commonLabels / images / configMapGenerator / secretGenerator
- overlay:namespace / patchesStrategicMerge / patchesJson6902 / replicas / images / configMapGenerator(behavior: merge)
- 命令:`kubectl apply -k overlays...
Details
- Author
- fengshao1227
- Repository
- fengshao1227/ccg-workflow
- Created
- 7 months ago
- Last Updated
- today
- Language
- Go
- License
- MIT
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Listed
helm-ops
当用户要求"helm 命令/helm 安装/helm 升级/helm 回滚/helm chart"时触发。 提供 helm 常用命令的安全使用方式,遵循生态 Helm Chart 双 workload 模板。
1 Updated 1 weeks ago
structure-projects DevOps & Infrastructure Listed
k8s-deployment
当用户要求"写 K8s 部署/编写 K8s manifest/编写 Deployment/Service/Ingress"时触发。 按生态 Helm Chart 双 workload 模板生成 K8s manifest。 支持原生 YAML 和 Helm Chart 两种方式。
1 Updated 1 weeks ago
structure-projects DevOps & Infrastructure Listed
deploy-k8s
Kubernetes 部署配置生成
0 Updated 2 weeks ago
chengxuniucode