Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add K8s-1.23 SR-IOV lane jobs #2477

Merged
merged 3 commits into from
Nov 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,88 @@ periodics:
path: /dev/vfio/
type: Directory
name: vfio
- annotations:
k8s.v1.cni.cncf.io/networks: multus-cni-ns/sriov-passthrough-cni,multus-cni-ns/sriov-passthrough-cni
testgrid-dashboards: kubevirt-periodics
testgrid-days-of-results: "60"
cluster: prow-workloads
cron: 0 22, 11 * * *
decorate: true
decoration_config:
grace_period: 30m0s
timeout: 4h0m0s
extra_refs:
- base_ref: main
org: kubevirt
repo: kubevirt
labels:
preset-dind-enabled: "true"
preset-docker-mirror-proxy: "true"
preset-shared-images: "true"
name: periodic-kubevirt-e2e-k8s-1.23-sriov
reporter_config:
slack:
job_states_to_report: []
spec:
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: sriov-pod
operator: In
values:
- "true"
topologyKey: kubernetes.io/hostname
- labelSelector:
matchExpressions:
- key: sriov-pod-multi
operator: In
values:
- "true"
topologyKey: kubernetes.io/hostname
containers:
- command:
- /usr/local/bin/runner.sh
- /bin/bash
- -ce
- automation/test.sh
env:
- name: KUBEVIRT_QUARANTINE
value: "true"
- name: TARGET
value: kind-1.23-sriov
image: quay.io/kubevirtci/golang-legacy:v20220810-a8f2e6c
name: ""
resources:
requests:
memory: 29Gi
securityContext:
privileged: true
volumeMounts:
- mountPath: /lib/modules
name: modules
readOnly: true
- mountPath: /sys/fs/cgroup
name: cgroup
- mountPath: /dev/vfio/
name: vfio
nodeSelector:
hardwareSupport: sriov-nic
priorityClassName: sriov
volumes:
- hostPath:
path: /lib/modules
type: Directory
name: modules
- hostPath:
path: /sys/fs/cgroup
type: Directory
name: cgroup
- hostPath:
path: /dev/vfio/
type: Directory
name: vfio
- annotations:
testgrid-create-test-group: "false"
cluster: ibm-prow-jobs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ presubmits:
path: /dev/vfio/
type: Directory
name: vfio
- always_run: true
- always_run: false
annotations:
fork-per-release: "true"
k8s.v1.cni.cncf.io/networks: multus-cni-ns/sriov-passthrough-cni,multus-cni-ns/sriov-passthrough-cni
Expand Down Expand Up @@ -617,6 +617,85 @@ presubmits:
path: /var/log/audit
type: Directory
name: audit
- always_run: true
annotations:
fork-per-release: "true"
k8s.v1.cni.cncf.io/networks: multus-cni-ns/sriov-passthrough-cni,multus-cni-ns/sriov-passthrough-cni
testgrid-dashboards: kubevirt-presubmits
cluster: prow-workloads
decorate: true
decoration_config:
grace_period: 30m0s
timeout: 4h0m0s
labels:
preset-bazel-unnested: "true"
preset-dind-enabled: "true"
preset-docker-mirror-proxy: "true"
preset-shared-images: "true"
rehearsal.allowed: "true"
sriov-pod: "true"
max_concurrency: 10
name: pull-kubevirt-e2e-kind-1.23-sriov
skip_branches:
- release-\d+\.\d+
spec:
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: sriov-pod
operator: In
values:
- "true"
topologyKey: kubernetes.io/hostname
- labelSelector:
matchExpressions:
- key: sriov-pod-multi
operator: In
values:
- "true"
topologyKey: kubernetes.io/hostname
containers:
- command:
- /usr/local/bin/runner.sh
- /bin/bash
- -ce
- automation/test.sh
env:
- name: TARGET
value: kind-1.23-sriov
image: quay.io/kubevirtci/bootstrap-legacy:v20220810-a8f2e6c
name: ""
resources:
requests:
memory: 29Gi
securityContext:
privileged: true
volumeMounts:
- mountPath: /lib/modules
name: modules
readOnly: true
- mountPath: /sys/fs/cgroup
name: cgroup
- mountPath: /dev/vfio/
name: vfio
nodeSelector:
hardwareSupport: sriov-nic
priorityClassName: sriov
volumes:
- hostPath:
path: /lib/modules
type: Directory
name: modules
- hostPath:
path: /sys/fs/cgroup
type: Directory
name: cgroup
- hostPath:
path: /dev/vfio/
type: Directory
name: vfio
- always_run: true
annotations:
fork-per-release: "true"
Expand Down