Explain about juju charms hooks file execution orders

250 Views Asked by At

Can anyone explain about these juju charms hooks files working orders

  • primary charms hooks

     install, start, config-changed, stop & upgrade-charm
    
  • relationship hooks

     -relation-joined, -relation-changed, -relation-departed & -relation-broken
    
1

There are 1 best solutions below

0
On

To me it seems strange that a complete lifecycle graph is not available, so I created one below from what I understand:

Juju Lifecycle

Note that this is gathered by just reading the docs, it might not correspond 100% with how the actual code is run.