add-workload-type - Add and validate a Karta workload definition
Authors, validates, and ships Karta definitions for Kubernetes workload types, including custom operators and CRDs.
Tags
Updated: 2026-11-26Typical Inputs
Typical Outputs
What this skill does
- Gather workload facts
- Select a closest sample
- Write jq paths
- Define component mappings
- Map workload statuses
- Validate with karta-verify
- Record an end-to-end flow
- Apply definitions to clusters
Inputs
- CRD schema
- Real custom resources
- Operator source code
- Release manifests
- Controller status logic
- Karta sample definitions
- Kubernetes cluster access
- Kubeconfig
Outputs
- Karta definition YAML
- Validation results
- Catalog entry
- Recorded end-to-end flow
- Applied cluster definition
Requirements
- Go toolchain
- kubectl access
- jq
- Git access
- Karta repository for catalog shipping
