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

Support kubectl replace with force option #5174

Closed
Warashi opened this issue Sep 3, 2024 · 0 comments · Fixed by #5175 or #5179
Closed

Support kubectl replace with force option #5174

Warashi opened this issue Sep 3, 2024 · 0 comments · Fixed by #5175 or #5179
Assignees

Comments

@Warashi
Copy link
Contributor

Warashi commented Sep 3, 2024

What would you like to be added:
The kubectl replace with the --force option.

Why is this needed:
We want to run a Kubernetes job during deployment.
After running a job, we have to replace it with the --force option to run the same job.
There is the sync-by-replace annotation option, but this option does not run kubectl replace with the --force option.
So we may add a force-sync-by-replace annotation option to run kubectl replace with --force.

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