Skip to content

Conversation

@killianmuldoon
Copy link
Collaborator

No description provided.

- Create ovn-kubernetes-components directory for component extraction
- Add Dockerfile based on Dockerfile.ovn-kubernetes with OVN-K8s binaries removed
- Currently builds only ovnkubernetesresourceinjector
- ipallocator and dpucniprovisioner builds commented out for incremental extraction
- Removed OVN packages, kubectl, and ovn-kubernetes binaries/scripts
- Base image: Ubuntu 24.04 with minimal dependencies (openvswitch, netplan, systemd, dnsmasq)
- Copy cmd/ovnkubernetesresourceinjector/ with main.go
- Copy internal/ovnkubernetesresourceinjector/webhooks/ package
- Add go.mod and go.sum with minimal dependencies
- Update import paths from doca-platform to ovn-kubernetes-components
- Add .gitignore to exclude compiled binary
- Dockerfile successfully builds 57MB binary
- Tests included: webhook_test.go
- Add cmd/ipallocator/main.go with main entry point
- Add internal/readyz/readyz.go utility for readiness probes
- Update go.mod to include CNI and doca-platform dependencies
- Uncomment ipallocator build in Dockerfile
- Update .gitignore to ignore binaries but not source directories
- Dockerfile successfully builds 4.1MB ipallocator binary
- Uses github.com/nvidia/doca-platform/pkg/ipallocator as library
- Add cmd/dpucniprovisioner/main.go with Linux build constraint

- Add internal/cniprovisioner/dpu/ with provisioner logic

- Add internal/utils/ovsclient/ with OVS client wrapper

- Add internal/constants/ for shared constants

- Update import paths to ovn-kubernetes-components
- Add docker-build-dpf-utils target to build the dpf-utils container image
- Add docker-push-dpf-utils target to push the dpf-utils image
- Add lint target to run golangci-lint on dpf-utils code
- Add test target to run tests with coverage for dpf-utils
- Add golangci-lint to tool dependencies
- Targets work with: ovnkubernetesresourceinjector, ipallocator, and dpucniprovisioner
- Add build-dpf-utils job to build-images workflow for multi-arch container builds
- Add test-dpf-utils workflow to run lint and test on dpf-utils code
- Update Makefile with lint and test targets for dpf-utils
- Update Makefile to build dpf-utils Docker image
- Configure helm chart to use dpf-utils image for:
  - ovn-kubernetes-resource-injector webhook
  - dpuManifests ipallocator and cniprovisioner containers
- Remove unused nodeWithoutDPUManifests.imagedpf from helm values
@killianmuldoon killianmuldoon merged commit f073927 into Mellanox:main Oct 27, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant