Skip to content
Draft
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/common-services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ services:
deploy:
replicas: ${FIFTYONE_DELEGATED_OPERATOR_WORKER_REPLICAS:-3}
command: >
/bin/sh -c "fiftyone delegated launch -t remote"
/bin/sh -c "fiftyone delegated launch -t remote -m"
environment:
API_URL: ${API_URL}
FIFTYONE_DATABASE_ADMIN: false
Expand Down
2 changes: 1 addition & 1 deletion docker/docs/configuring-gpu-workloads.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ services:
teams-do-with-gpu:
image: voxel51/fiftyone-teams-cv-full:v2.11.1
command: >
/bin/sh -c "fiftyone delegated launch -t remote -n 'teams-do-with-gpu'"
/bin/sh -c "fiftyone delegated launch -t remote -n 'teams-do-with-gpu' -m"
environment:
API_URL: ${API_URL}
FIFTYONE_DATABASE_ADMIN: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ spec:
{{- if ($v.description | default $defaultDescription) }}
- -d
- {{ ($v.description | default $defaultDescription) | quote }}
- -m
{{- end }}
securityContext:
{{- toYaml (merge (dict) ($v.securityContext | default dict) ($baseTpl.securityContext)) | nindent 12 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4937,6 +4937,7 @@ func (s *deploymentDelegatedOperatorInstanceTemplateTest) TestContainerCmdArgs()
"teams-do",
"-d",
"Long running operations delegated to teams-do",
"-m",
}
s.Equal(expectedArgs, args, "Args should be equal")
},
Expand All @@ -4959,6 +4960,7 @@ func (s *deploymentDelegatedOperatorInstanceTemplateTest) TestContainerCmdArgs()
"teams-do",
"-d",
"Long running operations delegated to teams-do",
"-m",
}
s.Equal(expectedArgs, args, "Args should be equal")
},
Expand All @@ -4972,6 +4974,7 @@ func (s *deploymentDelegatedOperatorInstanceTemplateTest) TestContainerCmdArgs()
"teams-do-two",
"-d",
"Long running operations delegated to teams-do-two",
"-m",
}
s.Equal(expectedArgs, args, "Args should be equal")
},
Expand All @@ -4995,6 +4998,7 @@ func (s *deploymentDelegatedOperatorInstanceTemplateTest) TestContainerCmdArgs()
"teams-do",
"-d",
"Long running operations delegated to teams-do",
"-m",
}
s.Equal(expectedArgs, args, "Args should be equal")
},
Expand All @@ -5008,6 +5012,7 @@ func (s *deploymentDelegatedOperatorInstanceTemplateTest) TestContainerCmdArgs()
"teams-do-two",
"-d",
"Long running operations delegated to teams-do-two",
"-m",
}
s.Equal(expectedArgs, args, "Args should be equal")
},
Expand All @@ -5030,6 +5035,7 @@ func (s *deploymentDelegatedOperatorInstanceTemplateTest) TestContainerCmdArgs()
"teams-do",
"-d",
"Used for non-gpu workloads",
"-m",
}
s.Equal(expectedArgs, args, "Args should be equal")
},
Expand All @@ -5043,6 +5049,7 @@ func (s *deploymentDelegatedOperatorInstanceTemplateTest) TestContainerCmdArgs()
"teams-do-two",
"-d",
"Long running operations delegated to teams-do-two",
"-m",
}
s.Equal(expectedArgs, args, "Args should be equal")
},
Expand All @@ -5066,6 +5073,7 @@ func (s *deploymentDelegatedOperatorInstanceTemplateTest) TestContainerCmdArgs()
"teams-do",
"-d",
"Used for non-gpu workloads",
"-m",
}
s.Equal(expectedArgs, args, "Args should be equal")
},
Expand All @@ -5079,6 +5087,7 @@ func (s *deploymentDelegatedOperatorInstanceTemplateTest) TestContainerCmdArgs()
"teams-do-two",
"-d",
"Long running operations delegated to teams-do-two",
"-m",
}
s.Equal(expectedArgs, args, "Args should be equal")
},
Expand Down
Loading