test_independent_subcharts_deploy_together

✓ pass on PR2 (PR2 · resource-group sequencing (stacked on PR1)) · 9.9 s

nginx and rabbitmq (no mutual dependency) applied together before either is ready.

Same test on other tiers: PR1 ✓ passPR3 — n/aCombined ✓ pass

Requirements

R15 Subcharts with no dependency between them deploy together implemented

In this example, Helm will first install and wait for all resources of nginx and rabbitmq dependencies to be "ready" before attempting to install bar resources.HIP-0025, Chart dependencies example

Note: Read from the example text and diagram (nginx and rabbitmq side by side, installed and then waited on together). The HIP says "at the same time" explicitly only for resource groups (R21). Serializing siblings still satisfies dependency order (R05) but makes an install as slow as the sum of its independent subcharts.

The test needs these tier features: ordered, subcharts.

What the test observed

The test asserts on these facts. Times come from the kube-apiserver audit log (UTC).

apiserver timeline

18:46:12.395  apply  Deployment/nginx
18:46:12.411  apply  Deployment/rabbitmq
18:46:15.191  ready  Deployment/rabbitmq
18:46:15.200  ready  Deployment/nginx
18:46:15.228  apply  Deployment/bar
18:46:18.205  ready  Deployment/bar
18:46:18.232  apply  Deployment/foo
18:46:21.219  ready  Deployment/foo

Charts

The charts that the helm commands below read. This run did not keep chart archives, so the links go to the chart directories in the harness commit.

Chart directory
charts/hip-subcharts

Commands

Every command that the test ran, in order, with the start time, the exit code and the output. The paths are relative to the root of the repository.

18:46:12.233 $ kubectl --context kind-hip0025-e2e delete namespace e2e-pr2-independent-subcharts-deploy-together --ignore-not-found --wait=true --timeout=120s
[exit 0, 0.0s]


18:46:12.276 $ kubectl --context kind-hip0025-e2e create namespace e2e-pr2-independent-subcharts-deploy-together
[exit 0, 0.0s]
namespace/e2e-pr2-independent-subcharts-deploy-together created


18:46:12.313 $ .bin/helm-pr2 install r charts/hip-subcharts --namespace e2e-pr2-independent-subcharts-deploy-together --wait=ordered --timeout 3m --kube-context kind-hip0025-e2e
[exit 0, 8.9s]
NAME: r
LAST DEPLOYED: Mon Oct  5 14:46:12 2026
NAMESPACE: e2e-pr2-independent-subcharts-deploy-together
STATUS: deployed
REVISION: 1
DESCRIPTION: Install complete
TEST SUITE: None


18:46:22.239 $ kubectl --context kind-hip0025-e2e delete namespace e2e-pr2-independent-subcharts-deploy-together --wait=false
[exit 0, 0.0s]
namespace "e2e-pr2-independent-subcharts-deploy-together" deleted


Files

FileSizeContent
audit.jsonl 278.4 KB 52 kube-apiserver audit records for the namespace of the test
commands.log 955 B the commands above
observations.json 440 B the observations above, as JSON