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

migrate kind jobs to community cluster #31064

Closed
wants to merge 1 commit into from
Closed
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
8 changes: 8 additions & 0 deletions config/jobs/kubernetes-sigs/kind/kind-postsubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
postsubmits:
kubernetes-sigs/kind:
- name: ci-kind-test
cluster: k8s-infra-prow-build
decorate: true
path_alias: sigs.k8s.io/kind
always_run: true
Expand All @@ -17,6 +18,13 @@ postsubmits:
# we need privileged mode in order to do docker in docker
securityContext:
privileged: true
resources:
limits:
cpu: 2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems pretty low for unit testing?
also kind doesn't have the hack to enable GOMAXPROCS autodetection so we need to consider this when moving unit tests

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy to bump it up. Do you have any recommendations?

memory: 4Gi
requests:
cpu: 2
memory: 4Gi
annotations:
testgrid-dashboards: sig-testing-kind
testgrid-tab-name: ci unit test
Expand Down
24 changes: 24 additions & 0 deletions config/jobs/kubernetes-sigs/kind/kind-presubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
presubmits:
kubernetes-sigs/kind:
- name: pull-kind-build
cluster: k8s-infra-prow-build
decorate: true
path_alias: sigs.k8s.io/kind
always_run: true
Expand All @@ -16,7 +17,15 @@ presubmits:
# we need privileged mode in order to do docker in docker
securityContext:
privileged: true
resources:
limits:
cpu: 2
memory: 4Gi
requests:
cpu: 2
memory: 4Gi
- name: pull-kind-test
cluster: k8s-infra-prow-build
decorate: true
path_alias: sigs.k8s.io/kind
always_run: true
Expand All @@ -32,7 +41,15 @@ presubmits:
# we need privileged mode in order to do docker in docker
securityContext:
privileged: true
resources:
limits:
cpu: 2
memory: 4Gi
requests:
cpu: 2
memory: 4Gi
- name: pull-kind-verify
cluster: k8s-infra-prow-build
decorate: true
path_alias: sigs.k8s.io/kind
always_run: true
Expand All @@ -48,6 +65,13 @@ presubmits:
# we need privileged mode in order to do docker in docker
securityContext:
privileged: true
resources:
limits:
cpu: 2
memory: 4Gi
requests:
cpu: 2
memory: 4Gi
# conformance test against kubernetes master branch with `kind`, skipping
# serial tests so it runs in ~20m
# GA-only variant
Expand Down
8 changes: 8 additions & 0 deletions config/jobs/kubernetes-sigs/kind/kind.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
periodics:
- name: ci-kind-unit-test
cluster: k8s-infra-prow-build
interval: 6h
decorate: true
extra_refs:
Expand All @@ -19,6 +20,13 @@ periodics:
# we need privileged mode in order to do docker in docker
securityContext:
privileged: true
resources:
limits:
cpu: 2
memory: 4Gi
requests:
cpu: 2
memory: 4Gi
annotations:
testgrid-dashboards: sig-testing-kind
testgrid-tab-name: kind-ci-unit-test
Expand Down