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

feat(k8s): run adhoc jobs in dedicated namespace #1065

Merged
merged 2 commits into from
Aug 14, 2023
Merged

feat(k8s): run adhoc jobs in dedicated namespace #1065

merged 2 commits into from
Aug 14, 2023

Conversation

m90
Copy link
Contributor

@m90 m90 commented Aug 7, 2023

Ticket https://phabricator.wikimedia.org/T335891

This is prep work for running the ElasticSearch 7 init jobs. Instead of manually running these one by one in the default namespace, create a new namespace for all adhoc jobs which can then handle concurrency for us.

Also, move all existing jobs to run in the new namespace.

@@ -2,6 +2,7 @@ apiVersion: batch/v1
kind: Job
metadata:
generateName: change-replication-password-on-secondary-
namespace: adhoc-jobs
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Defining these here forces us to also create the namespace in production already, but I guess it won't hurt either.

@m90 m90 merged commit 7c2995d into main Aug 14, 2023
2 checks passed
@m90 m90 deleted the fr/adhoc-jobs branch August 14, 2023 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants