Skip to content

Commit

Permalink
migrate prowjobs to the community-owned build cluster and remove
Browse files Browse the repository at this point in the history
k8s-jkns-pr-node-e2e project from jobs.

Signed-off-by: Rayan Das <rayandas91@gmail.com>
  • Loading branch information
rayandas committed Nov 9, 2021
1 parent 8345608 commit 79ab873
Show file tree
Hide file tree
Showing 2 changed files with 82 additions and 21 deletions.
1 change: 1 addition & 0 deletions config/jobs/kubernetes/sig-node/node-kubelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ periodics:
testgrid-tab-name: node-kubelet-serial

- name: ci-kubernetes-node-kubelet-serial-containerd
cluster: k8s-infra-prow-build
interval: 4h
labels:
preset-service-account: "true"
Expand Down
102 changes: 81 additions & 21 deletions config/jobs/kubernetes/sig-node/sig-node-presubmit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ presubmits:
- '--test-args=--container-runtime=remote --container-runtime-endpoint=unix:///run/containerd/containerd.sock --container-runtime-process-name=/home/containerd/usr/local/bin/containerd --container-runtime-pid-file= --kubelet-flags="--cgroups-per-qos=true --cgroup-root=/ --runtime-cgroups=/system.slice/containerd.service" --extra-log="{\"name\": \"containerd.log\", \"journalctl\": [\"-u\", \"containerd\"]}"'
- --image-config-file=/home/prow/go/src/k8s.io/test-infra/jobs/e2e_node/containerd/containerd-master/image-config.yaml
- name: pull-kubernetes-node-e2e-alpha
cluster: k8s-infra-prow-build
branches:
- master
always_run: false
Expand All @@ -382,7 +383,6 @@ presubmits:
- --scenario=kubernetes_e2e
- -- # end bootstrap args, scenario args below
- --deployment=node
- --gcp-project=k8s-jkns-pr-node-e2e
- --gcp-zone=us-west1-b
- --node-test-args=--feature-gates=AllAlpha=true,CSIMigration=false,RotateKubeletServerCertificate=false,InTreePluginGCEUnregister=false --kubelet-flags="--cgroups-per-qos=true --cgroup-root=/"
- --node-tests=true
Expand All @@ -391,11 +391,16 @@ presubmits:
- --timeout=65m
- --node-args=--image-config-file=/workspace/test-infra/jobs/e2e_node/image-config.yaml
resources:
limits:
cpu: 4
memory: 6Gi
requests:
memory: "6Gi"
cpu: 4
memory: 6Gi
annotations:
testgrid-create-test-group: 'true'
- name: pull-kubernetes-node-e2e-alpha-kubetest2
cluster: k8s-infra-prow-build
# explicitly needs /test pull-kubernetes-node-e2e-alpha-kubetest2 to run
always_run: false
# if at all it is run and fails, don't block the PR
Expand All @@ -422,8 +427,12 @@ presubmits:
# https://github.com/kubernetes/test-infra/blob/3c3d64f398a5e4f324200d25183c98a4bfa842ac/images/kubekins-e2e/variants.yaml#L8
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20211014-7ca1952a94-experimental
resources:
limits:
cpu: 4
memory: 6Gi
requests:
memory: "6Gi"
cpu: 4
memory: 6Gi
command:
- runner.sh
args:
Expand All @@ -432,7 +441,6 @@ presubmits:
- --test=node
- --
- --repo-root=.
- --gcp-project=k8s-jkns-pr-node-e2e
- --gcp-zone=us-west1-b
- --parallelism=8
- --focus-regex='\[NodeConformance\]|\[NodeAlphaFeature:.+\]|\[NodeAlphaFeature\]'
Expand Down Expand Up @@ -779,6 +787,7 @@ presubmits:
- --test-args='--feature-gates=DynamicKubeletConfig=true,LocalStorageCapacityIsolation=true --kubelet-flags="--cgroups-per-qos=true --cgroup-root=/"'
- --image-config-file=/home/prow/go/src/k8s.io/test-infra/jobs/e2e_node/image-config-serial.yaml
- name: pull-kubernetes-node-kubelet-serial-cpu-manager
cluster: k8s-infra-prow-build
always_run: false
optional: true
skip_report: false
Expand All @@ -793,6 +802,13 @@ presubmits:
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20211014-7ca1952a94-master
resources:
limits:
cpu: 4
memory: 6Gi
requests:
cpu: 4
memory: 6Gi
args:
- --repo=k8s.io/kubernetes=$(PULL_REFS)
- --repo=k8s.io/release
Expand All @@ -801,7 +817,6 @@ presubmits:
- --scenario=kubernetes_e2e
- --
- --deployment=node
- --gcp-project=k8s-jkns-pr-node-e2e
- --gcp-zone=us-west1-b
- --node-args=--image-config-file=/workspace/test-infra/jobs/e2e_node/image-config-serial-cpu-manager.yaml
- --node-test-args=--feature-gates=DynamicKubeletConfig=true --kubelet-flags="--cgroups-per-qos=true --cgroup-root=/"
Expand All @@ -813,6 +828,7 @@ presubmits:
- name: GOPATH
value: /go
- name: pull-kubernetes-node-kubelet-serial-topology-manager
cluster: k8s-infra-prow-build
always_run: false
optional: true
skip_report: false
Expand All @@ -827,6 +843,13 @@ presubmits:
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20211014-7ca1952a94-master
resources:
limits:
cpu: 4
memory: 6Gi
requests:
cpu: 4
memory: 6Gi
args:
- --repo=k8s.io/kubernetes=$(PULL_REFS)
- --repo=k8s.io/release
Expand All @@ -835,7 +858,6 @@ presubmits:
- --scenario=kubernetes_e2e
- --
- --deployment=node
- --gcp-project=k8s-jkns-pr-node-e2e
- --gcp-zone=us-west1-b
- --node-args=--image-config-file=/workspace/test-infra/jobs/e2e_node/image-config-serial-cpu-manager.yaml
- --node-test-args=--feature-gates=DynamicKubeletConfig=true --kubelet-flags="--cgroups-per-qos=true --cgroup-root=/"
Expand All @@ -847,6 +869,7 @@ presubmits:
- name: GOPATH
value: /go
- name: pull-kubernetes-node-kubelet-serial-hugepages
cluster: k8s-infra-prow-build
always_run: false
optional: true
skip_report: false
Expand All @@ -861,6 +884,13 @@ presubmits:
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20211014-7ca1952a94-master
resources:
limits:
cpu: 4
memory: 6Gi
requests:
cpu: 4
memory: 6Gi
args:
- --repo=k8s.io/kubernetes=$(PULL_REFS)
- --repo=k8s.io/release
Expand All @@ -869,7 +899,6 @@ presubmits:
- --scenario=kubernetes_e2e
- --
- --deployment=node
- --gcp-project=k8s-jkns-pr-node-e2e
- --gcp-zone=us-west1-b
- --node-args=--image-config-file=/workspace/test-infra/jobs/e2e_node/image-config-serial-hugepages.yaml
- --node-test-args=--kubelet-flags="--cgroups-per-qos=true --cgroup-root=/"
Expand All @@ -881,6 +910,7 @@ presubmits:
- name: GOPATH
value: /go
- name: pull-kubernetes-node-crio-cgrpv2-e2e
cluster: k8s-infra-prow-build
skip_branches:
- release-\d+\.\d+ # per-release image
annotations:
Expand Down Expand Up @@ -908,7 +938,6 @@ presubmits:
- -- # end bootstrap args, scenario args below
- --deployment=node
- --env=KUBE_SSH_USER=core
- --gcp-project=k8s-jkns-pr-node-e2e
- --gcp-zone=us-west1-b
- '--node-test-args=--container-runtime=remote --container-runtime-endpoint=unix:///var/run/crio/crio.sock --container-runtime-process-name=/usr/local/bin/crio --container-runtime-pid-file= --kubelet-flags="--cgroup-driver=systemd --cgroups-per-qos=true --cgroup-root=/ --runtime-cgroups=/system.slice/crio.service --kubelet-cgroups=/system.slice/kubelet.service --non-masquerade-cidr=0.0.0.0/0" --extra-log="{\"name\": \"crio.log\", \"journalctl\": [\"-u\", \"crio\"]}"'
- --node-tests=true
Expand All @@ -917,9 +946,14 @@ presubmits:
- --timeout=180m
- --node-args=--image-config-file=/workspace/test-infra/jobs/e2e_node/crio/latest/image-config-cgrpv2.yaml
resources:
limits:
cpu: 4
memory: 6Gi
requests:
memory: "6Gi"
cpu: 4
memory: 6Gi
- name: pull-kubernetes-node-kubelet-serial-crio-cgroupv1
cluster: k8s-infra-prow-build
skip_branches:
- release-\d+\.\d+ # per-release image
annotations:
Expand All @@ -946,7 +980,6 @@ presubmits:
- -- # end bootstrap args, scenario args below
- --deployment=node
- --env=KUBE_SSH_USER=core
- --gcp-project=k8s-jkns-pr-node-e2e
- --gcp-zone=us-west1-b
- '--node-test-args=--feature-gates=DynamicKubeletConfig=true,LocalStorageCapacityIsolation=true --container-runtime=remote --container-runtime-endpoint=unix:///var/run/crio/crio.sock --container-runtime-process-name=/usr/local/bin/crio --container-runtime-pid-file= --kubelet-flags="--cgroup-driver=systemd --cgroups-per-qos=true --cgroup-root=/ --runtime-cgroups=/system.slice/crio.service --kubelet-cgroups=/system.slice/kubelet.service --non-masquerade-cidr=0.0.0.0/0" --extra-log="{\"name\": \"crio.log\", \"journalctl\": [\"-u\", \"crio\"]}"'
- --node-tests=true
Expand All @@ -955,9 +988,14 @@ presubmits:
- --timeout=420m
- --node-args=--image-config-file=/workspace/test-infra/jobs/e2e_node/crio/latest/image-config-cgrpv1-serial.yaml
resources:
limits:
cpu: 4
memory: 6Gi
requests:
memory: "6Gi"
cpu: 4
memory: 6Gi
- name: pull-kubernetes-node-kubelet-serial-crio-cgroupv2
cluster: k8s-infra-prow-build
skip_branches:
- release-\d+\.\d+ # per-release image
annotations:
Expand All @@ -984,7 +1022,6 @@ presubmits:
- -- # end bootstrap args, scenario args below
- --deployment=node
- --env=KUBE_SSH_USER=core
- --gcp-project=k8s-jkns-pr-node-e2e
- --gcp-zone=us-west1-b
- '--node-test-args=--feature-gates=DynamicKubeletConfig=true,LocalStorageCapacityIsolation=true --container-runtime=remote --container-runtime-endpoint=unix:///var/run/crio/crio.sock --container-runtime-process-name=/usr/local/bin/crio --container-runtime-pid-file= --kubelet-flags="--cgroup-driver=systemd --cgroups-per-qos=true --cgroup-root=/ --runtime-cgroups=/system.slice/crio.service --kubelet-cgroups=/system.slice/kubelet.service --non-masquerade-cidr=0.0.0.0/0" --extra-log="{\"name\": \"crio.log\", \"journalctl\": [\"-u\", \"crio\"]}"'
- --node-tests=true
Expand All @@ -996,6 +1033,7 @@ presubmits:
requests:
memory: "6Gi"
- name: pull-kubernetes-node-crio-e2e
cluster: k8s-infra-prow-build
skip_branches:
- release-\d+\.\d+ # per-release image
annotations:
Expand Down Expand Up @@ -1024,7 +1062,6 @@ presubmits:
- -- # end bootstrap args, scenario args below
- --deployment=node
- --env=KUBE_SSH_USER=core
- --gcp-project=k8s-jkns-pr-node-e2e
- --gcp-zone=us-west1-b
- '--node-test-args=--container-runtime=remote --container-runtime-endpoint=unix:///var/run/crio/crio.sock --container-runtime-process-name=/usr/local/bin/crio --container-runtime-pid-file= --kubelet-flags="--cgroup-driver=systemd --cgroups-per-qos=true --cgroup-root=/ --runtime-cgroups=/system.slice/crio.service --kubelet-cgroups=/system.slice/kubelet.service --non-masquerade-cidr=0.0.0.0/0" --extra-log="{\"name\": \"crio.log\", \"journalctl\": [\"-u\", \"crio\"]}"'
- --node-tests=true
Expand All @@ -1033,10 +1070,15 @@ presubmits:
- --timeout=180m
- --node-args=--image-config-file=/workspace/test-infra/jobs/e2e_node/crio/latest/image-config-cgrpv1.yaml
resources:
limits:
cpu: 4
memory: 6Gi
requests:
memory: "6Gi"
cpu: 4
memory: 6Gi

- name: pull-kubernetes-node-kubelet-serial-memory-manager
cluster: k8s-infra-prow-build
always_run: false
optional: true
skip_report: false
Expand All @@ -1052,6 +1094,13 @@ presubmits:
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20211014-7ca1952a94-master
resources:
limits:
cpu: 4
memory: 6Gi
requests:
cpu: 4
memory: 6Gi
args:
- --repo=k8s.io/kubernetes=$(PULL_REFS)
- --repo=k8s.io/release
Expand All @@ -1060,7 +1109,6 @@ presubmits:
- --scenario=kubernetes_e2e
- --
- --deployment=node
- --gcp-project=k8s-jkns-pr-node-e2e
- --gcp-zone=us-west1-b
- --node-args=--image-config-file=/workspace/test-infra/jobs/e2e_node/image-config-serial-cpu-manager.yaml
- --node-test-args=--kubelet-flags="--cgroups-per-qos=true --cgroup-root=/"
Expand All @@ -1073,6 +1121,7 @@ presubmits:
value: /go

- name: pull-kubernetes-node-memoryqos-cgrpv2
cluster: k8s-infra-prow-build
skip_branches:
- release-\d+\.\d+ # per-release image
annotations:
Expand Down Expand Up @@ -1100,7 +1149,6 @@ presubmits:
- -- # end bootstrap args, scenario args below
- --deployment=node
- --env=KUBE_SSH_USER=core
- --gcp-project=k8s-jkns-pr-node-e2e
- --gcp-zone=us-west1-b
- '--node-test-args=--feature-gates=MemoryQoS=true --container-runtime=remote --container-runtime-endpoint=unix:///var/run/crio/crio.sock --container-runtime-process-name=/usr/local/bin/crio --container-runtime-pid-file= --kubelet-flags="--cgroup-driver=systemd --cgroups-per-qos=true --cgroup-root=/ --runtime-cgroups=/system.slice/crio.service --kubelet-cgroups=/system.slice/kubelet.service --non-masquerade-cidr=0.0.0.0/0" --extra-log="{\"name\": \"crio.log\", \"journalctl\": [\"-u\", \"crio\"]}"'
- --node-tests=true
Expand All @@ -1109,9 +1157,14 @@ presubmits:
- --timeout=180m
- --node-args=--image-config-file=/workspace/test-infra/jobs/e2e_node/crio/latest/image-config-cgrpv2.yaml
resources:
limits:
cpu: 4
memory: 6Gi
requests:
memory: "6Gi"
cpu: 4
memory: 6Gi
- name: pull-kubernetes-node-swap-ubuntu
cluster: k8s-infra-prow-build
always_run: false
optional: true
skip_report: false
Expand All @@ -1136,7 +1189,6 @@ presubmits:
- --scenario=kubernetes_e2e
- --
- --deployment=node
- --gcp-project=k8s-jkns-pr-node-e2e
- --gcp-zone=us-west1-b
- --node-args=--image-config-file=/workspace/test-infra/jobs/e2e_node/swap/image-config-swap.yaml
- --node-test-args=--feature-gates=NodeSwap=true --kubelet-flags="--cgroups-per-qos=true --cgroup-root=/ --fail-swap-on=false"
Expand All @@ -1148,10 +1200,15 @@ presubmits:
- name: GOPATH
value: /go
resources:
limits:
cpu: 4
memory: 6Gi
requests:
memory: "6Gi"
cpu: 4
memory: 6Gi

- name: pull-kubernetes-node-swap-fedora
cluster: k8s-infra-prow-build
skip_branches:
- release-\d+\.\d+ # per-release image
annotations:
Expand Down Expand Up @@ -1180,7 +1237,6 @@ presubmits:
- -- # end bootstrap args, scenario args below
- --deployment=node
- --env=KUBE_SSH_USER=core
- --gcp-project=k8s-jkns-pr-node-e2e
- --gcp-zone=us-west1-b
- '--node-test-args=--feature-gates=NodeSwap=true --container-runtime=remote --container-runtime-endpoint=unix:///var/run/crio/crio.sock --container-runtime-process-name=/usr/local/bin/crio --container-runtime-pid-file= --kubelet-flags="--fail-swap-on=false --cgroup-driver=systemd --cgroups-per-qos=true --cgroup-root=/ --runtime-cgroups=/system.slice/crio.service --kubelet-cgroups=/system.slice/kubelet.service --non-masquerade-cidr=0.0.0.0/0" --extra-log="{\"name\": \"crio.log\", \"journalctl\": [\"-u\", \"crio\"]}"'
- --node-tests=true
Expand All @@ -1189,5 +1245,9 @@ presubmits:
- --timeout=180m
- --node-args=--image-config-file=/workspace/test-infra/jobs/e2e_node/swap/image-config-swap-fedora.yaml
resources:
limits:
cpu: 4
memory: 6Gi
requests:
memory: "6Gi"
cpu: 4
memory: 6Gi

0 comments on commit 79ab873

Please sign in to comment.