Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stackablectl demo install should ignore Jobs #333

Open
Tracked by #148
NickLarsenNZ opened this issue Nov 14, 2024 · 0 comments
Open
Tracked by #148

stackablectl demo install should ignore Jobs #333

NickLarsenNZ opened this issue Nov 14, 2024 · 0 comments
Labels

Comments

@NickLarsenNZ
Copy link
Member

NickLarsenNZ commented Nov 14, 2024

Affected version

24.7.1

Current and expected behavior

I should be able to rerun a demo install to create any missing objects (eg: if I deleted something like a SparkApplication and want to reapply it).

Currently stackablectl fails because the Jobs are immutable (in my case because I want to upgrade from 24.7 to dev), but I don't want the setup jobs to run again.

Possible solution

I have a few ideas in mind to cater to various behaviours:

  1. Continue applying the remaining resources and display which failed to apply at the end. Let the user then decide if certain Jobs should be rerun by them manually deleting the applicable jobs.
  2. Add labels to certain jobs that are idempotent (safe to be recreated and run again), and jobs that should be ignored (initial setup jobs, eg: for Keycloak).

Additional context

See also #312

Environment

Client Version: v1.31.0
Kustomize Version: v5.4.2
Server Version: v1.31.2

Would you like to work on fixing this bug?

maybe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant