Minimal Go project demonstrating Kai's ability to migrate deprecated Kubernetes APIs from v1.22 to v1.33.
autoscaling/v2beta1HorizontalPodAutoscaler →autoscaling/v2batch/v1beta1CronJob →batch/v1events/v1beta1Event →events/v1
# Install dependencies
go mod tidy
# Run the application
go run main.go
# Apply manifests (requires k8s cluster)
kubectl apply -f manifests/- Pre-migration: App uses deprecated APIs from k8s 1.22
- Kai Analysis: Scan for deprecated API usage
- Migration: Update to k8s 1.33 compatible APIs
- Validation: Verify functionality preserved
main.go- Go app using deprecated client-go APIsmanifests/- YAML examples with deprecated APIsgo.mod- Dependencies locked to k8s 1.25 (last version supporting deprecated APIs)
autoscaling/v2beta1→autoscaling/v2batch/v1beta1→batch/v1events/v1beta1→events/v1- Client imports updated accordingly