Skip to content

Commit

Permalink
Create pod on demand
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasHerve committed Mar 28, 2024
1 parent 439b137 commit a481139
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/app/handlers/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ def create_room():

pod_body = client.V1Pod(api_version='v1', kind='Pod', metadata=pod_metadata, spec=pod_spec)

v1.create_namespaced_pod(namespace='default', body=pod_body)

v1.create_namespaced_pod(namespace=namespace , body=pod_body)
return pod_id

@hug.post('/delete-room')
def delete_room(body):
Expand Down

0 comments on commit a481139

Please sign in to comment.