Skip to content

Commit

Permalink
add urls
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin85421 committed Oct 21, 2022
1 parent 550db37 commit 4406a4d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions tests/framework/prototype.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,18 +249,20 @@ def tearDown(self) -> None:
patch_list = [
jsonpatch.JsonPatch([{'op': 'replace', 'path': '/spec/headGroupSpec/template/spec/containers/0/name', 'value': 'ray-head-1'}]),
jsonpatch.JsonPatch([{'op': 'replace', 'path': '/spec/headGroupSpec/template/spec/containers/0/name', 'value': 'ray-head-2'}]),
# Reproduce #612
# Reproduce #612: https://github.com/ray-project/kuberay/issues/612
jsonpatch.JsonPatch([{'op': 'replace', 'path': '/spec/headGroupSpec/replicas', 'value': 2}]),
# Reproduce #587
# Reproduce #587: https://github.com/ray-project/kuberay/pull/587
jsonpatch.JsonPatch([
{'op': 'replace', 'path': '/spec/workerGroupSpecs/0/replicas', 'value': 2},
{'op': 'add', 'path': '/spec/workerGroupSpecs/0/template/metadata/name', 'value': 'haha'}
]),
# Reproduce #585
# Reproduce #585: https://github.com/ray-project/kuberay/pull/585
jsonpatch.JsonPatch([{'op': 'add', 'path': '/spec/headGroupSpec/rayStartParams/object-manager-port', 'value': '12345'}]),
# Reproduce #572 #530
# Reproduce
# #572: https://github.com/ray-project/kuberay/pull/572
# #530: https://github.com/ray-project/kuberay/pull/530
jsonpatch.JsonPatch([{'op': 'add', 'path': '/spec/headGroupSpec/template/metadata/labels/app.kubernetes.io~1name', 'value': 'ray'}]),
# Reproduce #529
# Reproduce #529: https://github.com/ray-project/kuberay/pull/529
jsonpatch.JsonPatch([
{'op': 'replace', 'path': '/spec/headGroupSpec/template/spec/containers/0/resources/requests/memory', 'value': '256Mi'},
{'op': 'replace', 'path': '/spec/headGroupSpec/template/spec/containers/0/resources/limits/memory', 'value': '512Mi'}
Expand Down

0 comments on commit 4406a4d

Please sign in to comment.