feat: configure scanner pod scheduling#1522
Conversation
|
I have read the Mondoo CLA Document and I hereby sign the CLA |
|
All contributors have signed the CLA ✍️ ✅ |
|
Thank you for your submission. We really appreciate it. Before we can accept your contribution, we ask that you sign the Mondoo Contributor License Agreement. You can sign the CLA by adding a new comment to this pull request and pasting exactly the following text. I have read the Mondoo CLA Document and I hereby sign the CLA You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot. |
|
I have read the Mondoo CLA Document and I hereby sign the CLA |
5d558c5 to
46ba4c2
Compare
|
/review |
|
recheck |
There was a problem hiding this comment.
Adds nodeSelector and tolerations scheduling controls for all scanner pod types (nodes, containers, k8s resources).
Additional findings (file/line not in diff):
- 🔵
config/crd/bases/k8s.mondoo.com_mondooauditconfigs.yaml:396— Theendpointfield additions to AKS/EKS/GKE workload identity configs appear unrelated to scanner scheduling. Consider splitting them into a separate PR to keep the changeset focused and reviewable.
842f6bd to
8a4bb5e
Compare
d8bcea9 to
44b9a8e
Compare
Summary
spec.scanner.scheduling,spec.containers.scheduling, andspec.nodes.schedulingwith KubernetesnodeSelectorandtolerationsnodeNameNotes
Tests
make generate manifestsgo test ./api/v1alpha2 ./pkg/utils/k8s ./controllers/k8s_scan ./controllers/container_image ./controllers/resource_watcher ./controllers/nodesgo test ./controllers/... ./pkg/utils/k8s ./api/v1alpha2 -count=1git -c core.fsmonitor=false diff --check