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 to community cluster #30243

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: eks-prow-build-cluster
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: "4"
memory: 9000Mi
requests:
cpu: "4"
memory: 9000Mi
annotations:
testgrid-dashboards: sig-testing-kind
testgrid-tab-name: ci unit test
Expand Down
22 changes: 22 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: eks-prow-build-cluster
decorate: true
path_alias: sigs.k8s.io/kind
always_run: true
Expand All @@ -16,6 +17,13 @@ presubmits:
# we need privileged mode in order to do docker in docker
securityContext:
privileged: true
resources:
limits:
cpu: "4"
memory: 9000Mi
requests:
cpu: "4"
memory: 9000Mi
- name: pull-kind-test
decorate: true
path_alias: sigs.k8s.io/kind
Expand All @@ -32,6 +40,13 @@ presubmits:
# we need privileged mode in order to do docker in docker
securityContext:
privileged: true
resources:
limits:
cpu: "4"
memory: 9000Mi
requests:
cpu: "4"
memory: 9000Mi
- name: pull-kind-verify
decorate: true
path_alias: sigs.k8s.io/kind
Expand All @@ -48,6 +63,13 @@ presubmits:
# we need privileged mode in order to do docker in docker
securityContext:
privileged: true
resources:
limits:
cpu: "4"
memory: 9000Mi
requests:
cpu: "4"
memory: 9000Mi
# conformance test against kubernetes master branch with `kind`, skipping
# serial tests so it runs in ~20m
# GA-only variant
Expand Down
16 changes: 12 additions & 4 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: eks-prow-build-cluster
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: "4"
memory: 9000Mi
requests:
cpu: "4"
memory: 9000Mi
annotations:
testgrid-dashboards: sig-testing-kind
testgrid-tab-name: kind-ci-unit-test
Expand All @@ -27,7 +35,7 @@ periodics:
# conformance test against kubernetes master branch with `kind`
- interval: 1h
name: ci-kubernetes-kind-conformance
cluster: k8s-infra-prow-build
cluster: eks-prow-build-cluster
Copy link
Contributor Author

@liangyuanpeng liangyuanpeng Aug 1, 2023

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Maybe we should migrate it on the next time.

labels:
preset-service-account: "true"
preset-dind-enabled: "true"
Expand Down Expand Up @@ -71,7 +79,7 @@ periodics:
# conformance test against kubernetes master branch with `kind` ipv6
- interval: 1h
name: ci-kubernetes-kind-conformance-ipv6
cluster: k8s-infra-prow-build
cluster: eks-prow-build-cluster
labels:
preset-service-account: "true"
preset-dind-enabled: "true"
Expand Down Expand Up @@ -122,7 +130,7 @@ periodics:
# serial tests so it runs in ~20m
- interval: 1h
name: ci-kubernetes-kind-conformance-parallel
cluster: k8s-infra-prow-build
cluster: eks-prow-build-cluster
labels:
preset-service-account: "true"
preset-dind-enabled: "true"
Expand Down Expand Up @@ -167,7 +175,7 @@ periodics:
# conformance test against kubernetes master branch with `kind` ipv6
- interval: 1h
name: ci-kubernetes-kind-conformance-parallel-ipv6
cluster: k8s-infra-prow-build
cluster: eks-prow-build-cluster
labels:
preset-service-account: "true"
preset-dind-enabled: "true"
Expand Down