<p>I am deploying multiple helm sub-charts in Kubernetes Cluster through Helm and tiller. How can I make sure that a particular chart completely installs its containers before starting to install other charts and their containers?</p>

<p>I looked into requirements.yaml and hooks, none of them look like can be the solution I am looking for.</p>

<pre><code>ParentDir/
    Chart.yaml
    requirements.yaml
    values.yaml
    charts/
    |
    |
    —- App1
        Chart.yaml
        values.yaml
        templates/
    —- App2
        Chart.yaml
        values.yaml
        templates/
    .
    .
    .
    —- AppN
        Chart.yaml
        values.yaml
        templates/
</code></pre>

<p>I have multiple sub-charts, and want to make sure containers of App1 are up and ready before helm installs other charts and its containers.</p>

<p>You should look into helmfile and split your stack into one <a href="https://github.com/roboll/helmfile" rel="nofollow noreferrer">helmfile</a> per application. Since helmfiles inside a folders are applied in an alphabetically order you can ensure the order through file naming conventions. </p>

<p>File structure:</p>

<pre><code>helmfile.d/
  00-app-1.yaml
  01-app-2.yaml
  02-app-n.yaml
</code></pre>

<p>Execute it with this command: <code>helmfile -f path/to/directory</code></p>
