Skip to content

Add test-e2e-kind target with hack script and artifact collection#270

Merged
k8s-ci-robot merged 1 commit into
kubernetes-sigs:mainfrom
Priyankasaggu11929:setup-kind-e2e-tests
Jun 11, 2026
Merged

Add test-e2e-kind target with hack script and artifact collection#270
k8s-ci-robot merged 1 commit into
kubernetes-sigs:mainfrom
Priyankasaggu11929:setup-kind-e2e-tests

Conversation

@Priyankasaggu11929

Copy link
Copy Markdown
Member

Following the k/jobset repo's pattern - https://github.com/kubernetes/test-infra/blob/98798bcae0a846ab0c1938f81044844a7df148f3/config/jobs/kubernetes-sigs/jobset/jobset-periodics-main.yaml

PR is adding a new hack/e2e-test.sh and a test-e2e-kind makefile target, that handles Kind cluster creation, artifact collection, and log export in one place.

This is prep work for the PR kubernetes/test-infra#37165, to give us periodic e2e test signals for NRC across all latest supported Kubernetes releases.


Note:

With this, the existing test-e2e target is redundant now, but it is still in use in the GH Action workflow (we can clean it up later once all our GH actions CI jobs are migrated to Prow).

/assign @ajaysundark

@netlify

netlify Bot commented Jun 2, 2026

Copy link
Copy Markdown

Deploy Preview for node-readiness-controller ready!

Name Link
🔨 Latest commit e82482a
🔍 Latest deploy log https://app.netlify.com/projects/node-readiness-controller/deploys/6a2abccc7bb5c80008bb9b1a
😎 Deploy Preview https://deploy-preview-270--node-readiness-controller.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Jun 2, 2026
@ajaysundark

Copy link
Copy Markdown
Contributor

Id also consider this to be Reliability improvement on, so cc @vitorfloriano when you find time to get to this.

@vitorfloriano vitorfloriano left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Overall, looks good! Just a few inquiries.

/lgtm

Comment thread hack/e2e-test.sh
KIND_CLUSTER="${KIND_CLUSTER:-nrr-test}"
USE_EXISTING_CLUSTER="${USE_EXISTING_CLUSTER:-false}"
ARTIFACTS="${ARTIFACTS:-.}"
E2E_KIND_VERSION="${E2E_KIND_VERSION:-v1.36}"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm wondering if there could be a way to not have v1.36 hardcoded here.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

this is a fall back value (to latest k8s version)

i think we can keep it as it is (unless you mean something else?)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I mean, the latest version is always a moving target and having any value hardcoded in here is something more we need to remember to update when we change to the next version.

But since it's a fallback value, that's fine. We can try to automate the version bump later with the release automation, check every places where k8s version is hardcoded and update.

Comment thread test/e2e/e2e_test.go Outdated
Comment thread hack/e2e-test.sh Outdated
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 10, 2026
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 11, 2026
@Priyankasaggu11929

Copy link
Copy Markdown
Member Author

Thanks for the review @vitorfloriano. Addressed all comments and left explanation for one.

@vitorfloriano vitorfloriano left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good! Thanks!

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 11, 2026
@ajaysundark

Copy link
Copy Markdown
Contributor

@Priyankasaggu11929 Thanks! when you find time can you also get to our TEST/README files if they need an update for this?

/approve

@k8s-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ajaysundark, Priyankasaggu11929, vitorfloriano

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 11, 2026
@k8s-ci-robot k8s-ci-robot merged commit 201324b into kubernetes-sigs:main Jun 11, 2026
11 checks passed
@Priyankasaggu11929

Copy link
Copy Markdown
Member Author

@Priyankasaggu11929 Thanks! when you find time can you also get to our TEST/README files if they need an update for this?

/approve

kept a TODO for myself. (will address it in july 1st week)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants