From fe431517c600bd339b9ef3aa95019f9bae429337 Mon Sep 17 00:00:00 2001 From: Carlos Eduardo Arango Gutierrez Date: Tue, 2 Jul 2024 16:40:10 +0200 Subject: [PATCH 1/2] Move all NFD Prow jobs to Community cluster Signed-off-by: Carlos Eduardo Arango Gutierrez --- .../node-feature-discovery-postsubmits.yaml | 2 ++ .../node-feature-discovery-presubmits-master.yaml | 1 + .../node-feature-discovery-presubmits-release-0-16.yaml | 1 + 3 files changed, 4 insertions(+) diff --git a/config/jobs/kubernetes-sigs/node-feature-discovery/node-feature-discovery-postsubmits.yaml b/config/jobs/kubernetes-sigs/node-feature-discovery/node-feature-discovery-postsubmits.yaml index a8f2a75139e1..118911385646 100644 --- a/config/jobs/kubernetes-sigs/node-feature-discovery/node-feature-discovery-postsubmits.yaml +++ b/config/jobs/kubernetes-sigs/node-feature-discovery/node-feature-discovery-postsubmits.yaml @@ -1,6 +1,7 @@ postsubmits: kubernetes-sigs/node-feature-discovery: - name: postsubmit-node-feature-discovery-verify-master + cluster: eks-prow-build-cluster branches: - ^main$ - ^master @@ -22,6 +23,7 @@ postsubmits: name: nfd-creds key: codecov-token - name: postsubmit-node-feature-discovery-e2e-test + cluster: eks-prow-build-cluster branches: - ^main$ - ^master$ diff --git a/config/jobs/kubernetes-sigs/node-feature-discovery/node-feature-discovery-presubmits-master.yaml b/config/jobs/kubernetes-sigs/node-feature-discovery/node-feature-discovery-presubmits-master.yaml index d0745e2e0df5..4a6433eefd0e 100644 --- a/config/jobs/kubernetes-sigs/node-feature-discovery/node-feature-discovery-presubmits-master.yaml +++ b/config/jobs/kubernetes-sigs/node-feature-discovery/node-feature-discovery-presubmits-master.yaml @@ -1,6 +1,7 @@ presubmits: kubernetes-sigs/node-feature-discovery: - name: pull-node-feature-discovery-verify-master + cluster: eks-prow-build-cluster skip_if_only_changed: "^docs/|^\\.github/|\\.(md)$|^(README|LICENSE|OWNERS)$" branches: - ^master diff --git a/config/jobs/kubernetes-sigs/node-feature-discovery/node-feature-discovery-presubmits-release-0-16.yaml b/config/jobs/kubernetes-sigs/node-feature-discovery/node-feature-discovery-presubmits-release-0-16.yaml index f69cc7719e80..179806b6f24d 100644 --- a/config/jobs/kubernetes-sigs/node-feature-discovery/node-feature-discovery-presubmits-release-0-16.yaml +++ b/config/jobs/kubernetes-sigs/node-feature-discovery/node-feature-discovery-presubmits-release-0-16.yaml @@ -1,6 +1,7 @@ presubmits: kubernetes-sigs/node-feature-discovery: - name: pull-node-feature-discovery-verify-release-0-16 + cluster: eks-prow-build-cluster skip_if_only_changed: "^docs/|^\\.github/|\\.(md)$|^(README|LICENSE|OWNERS)$" branches: - ^release-0.16 From 01b99837331fed77fc78b2f06e9220651471fb4e Mon Sep 17 00:00:00 2001 From: Carlos Eduardo Arango Gutierrez Date: Tue, 2 Jul 2024 16:50:20 +0200 Subject: [PATCH 2/2] Add resource limits to NFD Postsubmit jobs Signed-off-by: Carlos Eduardo Arango Gutierrez --- .../node-feature-discovery-postsubmits.yaml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/config/jobs/kubernetes-sigs/node-feature-discovery/node-feature-discovery-postsubmits.yaml b/config/jobs/kubernetes-sigs/node-feature-discovery/node-feature-discovery-postsubmits.yaml index 118911385646..76ab6508127e 100644 --- a/config/jobs/kubernetes-sigs/node-feature-discovery/node-feature-discovery-postsubmits.yaml +++ b/config/jobs/kubernetes-sigs/node-feature-discovery/node-feature-discovery-postsubmits.yaml @@ -22,8 +22,15 @@ postsubmits: secretKeyRef: name: nfd-creds key: codecov-token + resources: + limits: + cpu: 4 + memory: 8Gi + requests: + cpu: 4 + memory: 8Gi - name: postsubmit-node-feature-discovery-e2e-test - cluster: eks-prow-build-cluster + cluster: k8s-infra-prow-build branches: - ^main$ - ^master$ @@ -61,3 +68,10 @@ postsubmits: value: '{"apiVersion":"v1","clusters":[{"cluster":{"certificate-authority-data":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMvakNDQWV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uWDEyeFB6aEpGTzArVkhGeENSMkhTOHArY1F0eC94Ym1MRTZMbzNJS3dMSisKVEVTT1F3cUNHSmxNNHNiVk9jU0ZGeFRzUURid1hpblVyN1ZqSm03UW9LVHEvcGIwWjU3Q3NlWXYzd1VTYXdWVAo3aXVVdHBMWmhrMDdxZ09XYzFNTzFoNlUyU3BNbkY1akVnSXNmSlByRUJic3RkME55STZFN0FBRzNOSGZOczJlCitHNEhDS0tRdkc0emJkdmFwWjJOSVRaM0NJaml4b0lGOXNDb3pDYWVWV0lCT0xib2lhcVp3M3hyOTZtdnlNNWIKZkNvPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==","server":"https://1AF488C80378BE347035F6704C6F0C8F.gr7.eu-west-1.eks.amazonaws.com"},"name":"aws"}],"contexts":[{"context":{"cluster":"aws","user":"prow"},"name":"aws"}],"current-context":"aws","kind":"Config","preferences":{},"users":[{"name":"prow","user":{"exec":{"apiVersion":"client.authentication.k8s.io/v1","args":["token","-i","nfd-e2e"],"command":"aws-iam-authenticator","interactiveMode":"Never"}}}]}' - name: E2E_TEST_CONFIG_DATA value: '{"kubelet":{"configPath":"/etc/kubernetes/kubelet/kubelet-config.json"},"defaultFeatures":{"labelWhitelist":["feature.node.kubernetes.io/cpu-cpuid.ADX","feature.node.kubernetes.io/cpu-cpuid.AESNI","feature.node.kubernetes.io/cpu-cpuid.AMXBF16D","feature.node.kubernetes.io/cpu-cpuid.AMXINT8","feature.node.kubernetes.io/cpu-cpuid.AMXTILE","feature.node.kubernetes.io/cpu-cpuid.AVX","feature.node.kubernetes.io/cpu-cpuid.AVX2","feature.node.kubernetes.io/cpu-cpuid.AVX512BF16","feature.node.kubernetes.io/cpu-cpuid.AVX512BITALG","feature.node.kubernetes.io/cpu-cpuid.AVX512BW","feature.node.kubernetes.io/cpu-cpuid.AVX512CD","feature.node.kubernetes.io/cpu-cpuid.AVX512DQ","feature.node.kubernetes.io/cpu-cpuid.AVX512ER","feature.node.kubernetes.io/cpu-cpuid.AVX512F","feature.node.kubernetes.io/cpu-cpuid.AVX512FP16","feature.node.kubernetes.io/cpu-cpuid.AVX512IFMA","feature.node.kubernetes.io/cpu-cpuid.AVX512PF","feature.node.kubernetes.io/cpu-cpuid.AVX512VBMI","feature.node.kubernetes.io/cpu-cpuid.AVX512VBMI2","feature.node.kubernetes.io/cpu-cpuid.AVX512VL","feature.node.kubernetes.io/cpu-cpuid.AVX512VNNI","feature.node.kubernetes.io/cpu-cpuid.AVX512VP2INTERSECT","feature.node.kubernetes.io/cpu-cpuid.AVX512VPOPCNTDQ","feature.node.kubernetes.io/cpu-cpuid.ENQCMD","feature.node.kubernetes.io/cpu-cpuid.FMA3","feature.node.kubernetes.io/cpu-cpuid.GFNI","feature.node.kubernetes.io/cpu-cpuid.HLE","feature.node.kubernetes.io/cpu-cpuid.HYPERVISOR","feature.node.kubernetes.io/cpu-cpuid.IBPB","feature.node.kubernetes.io/cpu-cpuid.MPX","feature.node.kubernetes.io/cpu-cpuid.PCONFIG","feature.node.kubernetes.io/cpu-cpuid.RTM","feature.node.kubernetes.io/cpu-cpuid.SHA","feature.node.kubernetes.io/cpu-cpuid.STIBP","feature.node.kubernetes.io/cpu-cpuid.TME","feature.node.kubernetes.io/cpu-cpuid.VAES","feature.node.kubernetes.io/cpu-cpuid.VMX","feature.node.kubernetes.io/cpu-cpuid.VPCLMULQDQ","feature.node.kubernetes.io/cpu-cstate.enabled","feature.node.kubernetes.io/cpu-hardware_multithreading","feature.node.kubernetes.io/cpu-model.family","feature.node.kubernetes.io/cpu-model.id","feature.node.kubernetes.io/cpu-model.vendor_id","feature.node.kubernetes.io/cpu-power.sst_bf.enabled","feature.node.kubernetes.io/cpu-pstate.status","feature.node.kubernetes.io/cpu-pstate.scaling_governor","feature.node.kubernetes.io/cpu-pstate.turbo","feature.node.kubernetes.io/cpu-rdt.RDTCMT","feature.node.kubernetes.io/cpu-rdt.RDTL3CA","feature.node.kubernetes.io/cpu-rdt.RDTMBA","feature.node.kubernetes.io/cpu-rdt.RDTMBM","feature.node.kubernetes.io/cpu-rdt.RDTMON","feature.node.kubernetes.io/iommu-enabled","feature.node.kubernetes.io/kernel-config.NO_HZ","feature.node.kubernetes.io/kernel-config.NO_HZ_FULL","feature.node.kubernetes.io/kernel-config.NO_HZ_IDLE","feature.node.kubernetes.io/kernel-config.PREEMPT","feature.node.kubernetes.io/kernel-selinux.enabled","feature.node.kubernetes.io/kernel-version.full","feature.node.kubernetes.io/kernel-version.major","feature.node.kubernetes.io/kernel-version.minor","feature.node.kubernetes.io/kernel-version.revision","feature.node.kubernetes.io/memory-numa","feature.node.kubernetes.io/memory-nv.dax","feature.node.kubernetes.io/memory-nv.present","feature.node.kubernetes.io/network-sriov.capable","feature.node.kubernetes.io/network-sriov.configured","feature.node.kubernetes.io/pci-0300_1a03.present","feature.node.kubernetes.io/storage-nonrotationaldisk","feature.node.kubernetes.io/system-os_release.ID","feature.node.kubernetes.io/system-os_release.VERSION_ID","feature.node.kubernetes.io/system-os_release.VERSION_ID.major","feature.node.kubernetes.io/system-os_release.VERSION_ID.minor"],"nodes":[{"name":"default","nodeNameRegexp":".","expectedLabelValues":{"feature.node.kubernetes.io/cpu-cpuid.ADX":"true","feature.node.kubernetes.io/cpu-cpuid.AESNI":"true","feature.node.kubernetes.io/cpu-cpuid.AVX":"true","feature.node.kubernetes.io/cpu-cpuid.AVX2":"true","feature.node.kubernetes.io/cpu-cpuid.AVX512BW":"true","feature.node.kubernetes.io/cpu-cpuid.AVX512CD":"true","feature.node.kubernetes.io/cpu-cpuid.AVX512DQ":"true","feature.node.kubernetes.io/cpu-cpuid.AVX512F":"true","feature.node.kubernetes.io/cpu-cpuid.AVX512VL":"true","feature.node.kubernetes.io/cpu-cpuid.FMA3":"true","feature.node.kubernetes.io/cpu-cpuid.HYPERVISOR":"true","feature.node.kubernetes.io/cpu-cpuid.MPX":"true","feature.node.kubernetes.io/cpu-hardware_multithreading":"true","feature.node.kubernetes.io/cpu-model.family":"6","feature.node.kubernetes.io/cpu-model.id":"85","feature.node.kubernetes.io/cpu-model.vendor_id":"Intel","feature.node.kubernetes.io/kernel-config.NO_HZ":"true","feature.node.kubernetes.io/kernel-config.NO_HZ_IDLE":"true","feature.node.kubernetes.io/kernel-version.major":"5","feature.node.kubernetes.io/pci-0300_1d0f.present":"true","feature.node.kubernetes.io/storage-nonrotationaldisk":"true","feature.node.kubernetes.io/system-os_release.ID":"amzn","feature.node.kubernetes.io/system-os_release.VERSION_ID.major":"2"},"expectedLabelKeys":["feature.node.kubernetes.io/kernel-version.full","feature.node.kubernetes.io/kernel-version.major","feature.node.kubernetes.io/kernel-version.minor","feature.node.kubernetes.io/kernel-version.revision","feature.node.kubernetes.io/system-os_release.VERSION_ID"],"expectedAnnotationKeys":["nfd.node.kubernetes.io/feature-labels"]}]}}' + resources: + limits: + cpu: 4 + memory: 8Gi + requests: + cpu: 4 + memory: 8Gi