Skip to content

Image update automation parity with Flux v1 #153

Answered by squaremo
squaremo asked this question in General
Discussion options

You must be logged in to vote

flux v1: With fluxctl release, you can update arbitrary workloads with arbitrary images (whether or not marked as automated)
flux v2: No fluxctl release equivalent at present (but could be part of a GitUpdateJob system)

Stefan pointed out in a discussion IRL that you can achieve the same goal by pinning a particular ImagePolicy and letting automation do its thing.

Pros:

  • does not involve another subsystem (jobs).
  • no "locking" mechanism needed; this was introduced in Flux v1 because otherwise fluxctl release and automation would fight

Cons:

  • would not support image and workload selection in the same way (no --all-images or whatever). This was at times a dubious feature of fluxctl release,…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@squaremo
Comment options

squaremo Aug 10, 2020
Maintainer Author

@stefanprodan
Comment options

Comment options

squaremo
Aug 20, 2020
Maintainer Author

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