Skip to content

Commit

Permalink
create ephemeral app without listen events
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandredevely committed Oct 18, 2024
1 parent 06a344e commit 9940a1b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions oc/od/orchestrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -4680,11 +4680,6 @@ def create(self, myDesktop, app, authinfo, userinfo={}, userargs=None, **kwargs

# create a thread to watch for pulling event
# self.create_thread_to_watch_for_pulling_event( myDesktop, pod_name, app_container_name, app )


pod_resource_version = pod.metadata.resource_version

send_previous_pulling_message = False
# start
data = { 'message': app.get('name'),
'name': app.get('name'),
Expand All @@ -4700,6 +4695,8 @@ def create(self, myDesktop, app, authinfo, userinfo={}, userargs=None, **kwargs
appinstancestatus.message = "Application" # default message

"""
pod_resource_version = pod.metadata.resource_version
send_previous_pulling_message = False
# field_selector=f'involvedObject.name={pod_name}'
# timeout_seconds=oc.od.settings.desktop['K8S_CREATE_POD_TIMEOUT_SECONDS'],
# send_initial_events=False,
Expand Down

0 comments on commit 9940a1b

Please sign in to comment.