-
Notifications
You must be signed in to change notification settings - Fork 665
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Agent Metadata Servicer #4511
Merged
pingsutw
merged 63 commits into
flyteorg:master
from
Future-Outlier:agent-metadata-proto-service
Dec 20, 2023
Merged
Agent Metadata Servicer #4511
Changes from 51 commits
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
db7a34e
proto
f6a9e3b
update pingsu's pr
8f2869c
new generate
ccaf9f2
Merge branch 'master' of https://github.com/Future-Outlier/flyte into…
4ce0955
add supported task type
9eb72d6
change os FileMode from 511 to 420
637e13e
add test
02400ef
add initialTaskTypes
1e8b98e
list all agents
7d77df5
update config supported task type
77f0903
combineToDistinctTaskTypes
cbc8eb5
Merge branch 'master' into agent-metadata-proto-service
Future-Outlier b14da0f
support all agents supported task type
5db9e38
add all agents supported task type
8756f20
sync plugin routing mechansim
9eecd67
need refactor and add test
ada503d
Merge branch 'master' of https://github.com/Future-Outlier/flyte into…
dcff3c3
solve merge conflict
7996769
merge conflict
8f28ffd
Update flyteplugins/go/tasks/plugins/webapi/agent/plugin.go
Future-Outlier d764139
Merge branch 'master' of https://github.com/Future-Outlier/flyte into…
ef02107
refactor
aa24087
remove tags
9f14c08
add small test
100e985
Merge branch 'master' of https://github.com/Future-Outlier/flyte into…
c657e0e
Add agent registry
pingsutw ce7647f
Merge branch 'agent-metadata-proto-service' of https://github.com/Fut…
806a602
need to change supported task type to supported task types
45c1b4d
refactor agentDeployments
09daecd
change back proto
fb94d38
fileMode
b0daff8
Better annotation
37095e9
fix test
1228f15
Merge branch 'master' into agent-metadata-proto-service
Future-Outlier c8d78eb
add agent metadata test
8167f27
Merge branch 'agent-metadata-proto-service' of https://github.com/Fut…
6930543
fix load plugin bug
2bf45bd
change default agent
29a2bd4
more readable
c429e13
Merge branch 'master' into agent-metadata-proto-service
Future-Outlier 2c285c6
move back get client func
9755ab4
remove secret
7cd33d2
Merge branch 'master' into agent-metadata-proto-service
Future-Outlier 425b54a
remove secrets in agent.proto
cb7ea4c
Merge branch 'agent-metadata-proto-service' of https://github.com/Fut…
b3f7c76
extend sandbox-bundled-functional-tests timeout minutes
de33fc3
Update flyteplugins/go/tasks/plugins/webapi/agent/plugin.go
Future-Outlier 9e5f835
fix bug
9c8e3cf
test disable-agent
44d1d53
revert --disable-agent
1cd0e48
test
ef9cfe8
use grpc code status to handle case list agent method not implemented
15ec587
Merge branch 'master' into agent-metadata-proto-service
Future-Outlier e76d81f
rename grpc_status to grpcStatus
2bb181a
Merge branch 'agent-metadata-proto-service' of https://github.com/Fut…
78eeefd
remove is_sync proto
1d512e6
remove is_sync
6432585
Update complete-agent.yaml
pingsutw 9b33ccf
Merge branch 'master' into agent-metadata-proto-service
Future-Outlier 3a4ae5c
Merge branch 'master' into agent-metadata-proto-service
Future-Outlier 3b07407
change getFinalAgent implementation and interface
8f46477
Update flyteidl/protos/flyteidl/service/agent.proto
Future-Outlier c1e3492
rename ListAgent to ListAgents method
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
43 changes: 43 additions & 0 deletions
43
docker/sandbox-bundled/kustomize/complete-agent/enable-agent-service-patch.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: flyte-sandbox-config | ||
namespace: flyte | ||
data: | ||
001-plugins.yaml: | | ||
tasks: | ||
task-plugins: | ||
default-for-task-types: | ||
container: container | ||
container_array: k8s-array | ||
sidecar: sidecar | ||
enabled-plugins: | ||
- container | ||
- sidecar | ||
- k8s-array | ||
- agent-service | ||
plugins: | ||
logs: | ||
kubernetes-enabled: true | ||
kubernetes-template-uri: http://localhost:30080/kubernetes-dashboard/#/log/{{.namespace }}/{{ .podName }}/pod?namespace={{ .namespace }} | ||
cloudwatch-enabled: false | ||
stackdriver-enabled: false | ||
k8s: | ||
co-pilot: | ||
image: "cr.flyte.org/flyteorg/flytecopilot:v1.10.6" | ||
k8s-array: | ||
logs: | ||
config: | ||
kubernetes-enabled: true | ||
kubernetes-template-uri: http://localhost:30080/kubernetes-dashboard/#/log/{{.namespace }}/{{ .podName }}/pod?namespace={{ .namespace }} | ||
cloudwatch-enabled: false | ||
stackdriver-enabled: false | ||
agent-service: | ||
defaultAgent: | ||
defaultTimeout: 10s | ||
endpoint: dns:///flyteagent.flyte.svc.cluster.local:8000 | ||
insecure: true | ||
timeouts: | ||
GetTask: 10s | ||
supportedTaskTypes: | ||
- default_task |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
114 changes: 114 additions & 0 deletions
114
flyteidl/clients/go/admin/mocks/AgentMetadataServiceClient.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revert