Skip to content

Automatic restart when changing definitions.json #1862

Answered by mkuratczyk
hfskappel asked this question in Q&A
Discussion options

You must be logged in to vote

ArgoCD could either:

  • perform kubectl rollout restart statefulset ... after generating the new JSON file
  • or execute a command to import the definitions

Alternatively, you can use imports over HTTP and modify RabbitmqCluster resource definition with the updated file (eg the JSON filename could contain a version/timestamp that you'd update when it changes). Changes to RabbitmqCluster resource trigger a restart automatically.

You can also consider using https://github.com/rabbitmq/messaging-topology-operator.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MirahImage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants