-
Notifications
You must be signed in to change notification settings - Fork 596
Kubernetes Job service #5113
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
Open
javanlacerda
wants to merge
38
commits into
master
Choose a base branch
from
pr/dependencies
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+3,237
−1,080
Open
Kubernetes Job service #5113
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
f02d4a0
feat: Implement Kubernetes job client and service
javanlacerda 697cdd7
pipenv lock
javanlacerda 3310027
install kubernetes
javanlacerda 7f12a07
Update dependencies and fix linting
javanlacerda b986275
move use_batch
javanlacerda 5b7b4d5
add todo
javanlacerda ca629cd
Pr/metrics logging (#5115)
javanlacerda 234f0ac
fixes
javanlacerda 6838442
fix lint
javanlacerda eec7e6b
mock gcloud auth default
javanlacerda 110440b
feature flag
javanlacerda ef6e272
fix lint
javanlacerda 636a3bf
rename create utask main jobs
javanlacerda 7cd5067
delete out.og
javanlacerda f76c56f
fix lint
javanlacerda e9c7f7d
add ack postprocess
javanlacerda b837c06
rollback fuzz local executor
javanlacerda a498af0
fuzz
javanlacerda 2d723a8
fix
javanlacerda d531174
fix test
javanlacerda 172ee90
Fix k8s service tests to use feature flag for pending jobs limit
javanlacerda bd08a69
refactoring
javanlacerda 3075c41
add string value to feature flag
javanlacerda 81d8407
fix
javanlacerda e196477
extract k7s job templates
javanlacerda 3692699
create adapters enum
javanlacerda ae2e936
lint
javanlacerda c108e35
set ttl for the job after completion
javanlacerda 092e27f
revert Pipfile
javanlacerda 9b3a503
fix JTW
javanlacerda 941c7d1
use actions/checkout@v4
javanlacerda 2114adf
fix single quotes usage
javanlacerda 5a92336
refactor
javanlacerda 5a3a5a2
rename types
javanlacerda fcc67fe
fixes
javanlacerda 1aa9ae5
deal with circular import
javanlacerda f4e61b7
simplify k8s e2e
javanlacerda 506f583
get rid job limiter
javanlacerda File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| # Copyright 2025 Google LLC | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
|
|
||
| name: Run Kubernetes e2e tests | ||
| on: [pull_request] | ||
|
|
||
| permissions: read-all | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-24.04 | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - run: | # Needed for git diff to work. | ||
| git fetch origin master --depth 1 | ||
| git symbolic-ref refs/remotes/origin/HEAD refs/remotes/origin/master | ||
|
|
||
| - name: Setup python environment | ||
| uses: actions/setup-python@b55428b1882923874294fa556849718a1d7f2ca5 | ||
| with: | ||
| python-version: 3.11 | ||
|
|
||
| - name: Set up JDK 21 | ||
| uses: actions/setup-java@v4 | ||
| with: | ||
| java-version: '21' | ||
| distribution: 'temurin' | ||
|
|
||
| - name: Run Kubernetes e2e tests | ||
| run: ./local/tests/kubernetes_e2e_test.bash |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is only intended to be used in CI?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes!