Skip to content

Commit

Permalink
testing hard coded reservation
Browse files Browse the repository at this point in the history
  • Loading branch information
joshua-seals committed May 22, 2024
1 parent 3390da2 commit 76dfba5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions appstore/api/v1/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ class ResourceRequest:
resources: dict = None

def __post_init__(self):

self.resources = {
"deploy": {
"resources": {
Expand All @@ -90,8 +91,8 @@ def __post_init__(self):
"ephemeralStorage": self.ephemeralStorage,
},
"reservations": {
"cpus": self.cpus,
"memory": self.memory,
"cpus": "1",
"memory": "1GiB",
"gpus": self.gpus,
"ephemeralStorage": self.ephemeralStorage,
},
Expand Down

0 comments on commit 76dfba5

Please sign in to comment.