-2

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
    
Jonathan Hall
  • 75,165
  • 16
  • 143
  • 189
  • 1
    This is a duplicate of your other comment: https://stackoverflow.com/questions/25157039/explain-about-how-the-juju-charms-hooks-files-working-life-cycle . You might want to close this one and accept the other. – lkraider Oct 01 '14 at 18:46
  • 1
    Does this answer your question? [Explain about how the juju charms hooks files working (Life Cycle)](https://stackoverflow.com/questions/25157039/explain-about-how-the-juju-charms-hooks-files-working-life-cycle) – Jonathan Hall Jan 28 '21 at 11:36

1 Answers1

1

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.

lkraider
  • 4,111
  • 3
  • 28
  • 31