21 lines
705 B
Markdown
21 lines
705 B
Markdown
# CLAUDE.md
|
|
|
|
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
|
|
|
|
## Commands
|
|
- Validate YAML: `kubectl --dry-run=client -f <filename.yaml>`
|
|
- Validate syntax with YAML linter: `yamllint <filename.yaml>`
|
|
- Check Kubernetes resources: `kubectl get <resource-type> --namespace <namespace>`
|
|
|
|
## Style Guidelines
|
|
1. YAML Formatting:
|
|
- Use 4-space indentation
|
|
|
|
2. Kubernetes Resources:
|
|
- Add appropriate labels and annotations
|
|
- Group related resources in the same file
|
|
- Use namespaces to organize resources by service
|
|
|
|
3. Documentation:
|
|
- Add comments for non-obvious configuration choices
|
|
- Document environment-specific variables clearly |