ark-controller-development
Original:🇺🇸 English
Translated
Guidance for developing the Ark Kubernetes operator. Use when modifying Go types, CRDs, controllers, or webhooks. Helps with CRD generation and Helm chart sync issues.
14installs
Added on
NPX Install
npx skill4agent add mckinsey/agents-at-scale-ark ark-controller-developmentTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Ark Controller Development
Guidance for developing the Ark Kubernetes operator in .
ark/When to use this skill
- Modifying Go type definitions ()
api/v1alpha1/*_types.go - Fixing CRD/Helm chart sync errors
- Adding new CRD fields or resources
CRD Generation Flow
api/v1alpha1/*_types.go # Go types with markers
↓
make manifests # Generates CRDs and syncs to Helm chart
↓
config/crd/bases/*.yaml # Source CRDs (auto-generated)
dist/chart/templates/crd/ # Helm chart CRDs (auto-synced)make manifestsFixing "CRDs out of sync" Errors
When fails with CRD validation errors:
make buildbash
cd ark
make manifests
make buildKey Directories
| Directory | Purpose |
|---|---|
| Go type definitions |
| Auto-generated source CRDs |
| Helm chart CRDs (auto-synced) |
| Reconciliation logic |
| Admission webhooks |
| AI/ML execution logic |
Common Tasks
After Modifying Types or Comments
Go type comments become CRD field descriptions:
bash
cd ark
make manifests
make buildAfter Any Go Code Change
bash
make lint-fix # Format and fix linting
make build # Build and validate