Jason Fehr has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/24372 )
Change subject: IMPALA-15043: Add Kubernetes-in-Docker E2E scripts ...................................................................... IMPALA-15043: Add Kubernetes-in-Docker E2E scripts Add Kubernetes-in-Docker support for external-cluster smoke tests by adding Jenkins orchestration, runtime selection (kind or k3d), and a service-to-pod port-forward fallback path for HS2 connectivity checks. Move the K8s E2E trigger from bin/jenkins/all-tests.sh into bin/run-all-tests.sh as an opt-in stage (K8S_E2E_TEST=false by default). Update script ergonomics: use /usr/bin/env bash shebangs, preserve an existing IMPALA_HOME, run from the repo root, use impala-python3 in the HS2 readiness probe, and reuse cleanup() for failed port-forward setup. Set ENABLE_BEESWAX=false in the K8s external-cluster runner instead of changing ImpalaTestSuite client setup semantics. Relocate the architecture guide out of docs/ into helm/impala/kubernetes-in-docker-e2e.md and update README references. Testing: - bash -n bin/jenkins/all-tests.sh - bash -n bin/run-all-tests.sh - bash -n bin/jenkins/run-k8s-e2e-tests.sh - bash -n bin/run-k8s-e2e-tests.sh - ./bin/run-k8s-e2e-tests.sh --dry-run -k TestK8sExternalCluster --maxfail=1 - ./bin/jenkins/run-k8s-e2e-tests.sh --dry-run - python3 bin/jenkins/critique-gerrit-review.py --dryrun Change-Id: I122b99c38c8c70ab535349f92212621330f2aa55 Assisted-by: GPT-5.3 (Cursor) Reviewed-on: http://gerrit.cloudera.org:8080/24372 Reviewed-by: Jason Fehr <[email protected]> Tested-by: Jason Fehr <[email protected]> --- A bin/jenkins/run-k8s-e2e-tests.sh M bin/run-all-tests.sh A bin/run-k8s-e2e-tests.sh M helm/impala/README.md A helm/impala/kubernetes-in-docker-e2e.md A tests/infra/test_k8s_external_cluster.py 6 files changed, 589 insertions(+), 0 deletions(-) Approvals: Jason Fehr: Looks good to me, approved; Verified -- To view, visit http://gerrit.cloudera.org:8080/24372 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I122b99c38c8c70ab535349f92212621330f2aa55 Gerrit-Change-Number: 24372 Gerrit-PatchSet: 53 Gerrit-Owner: Anubhav Jindal <[email protected]> Gerrit-Reviewer: Abhishek Rawat <[email protected]> Gerrit-Reviewer: Anubhav Jindal <[email protected]> Gerrit-Reviewer: Gokul Kolady <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Jason Fehr <[email protected]>
