-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds Metadata Artifacts to UI (#2057)
* Working, though the request seems malformed * Working with grpc-web. trying to push to cluster * WIP * With great hax come great success * Begin moving some metadata UI pages to KFP * Artifact list and details pages work! A lot of clean up is needed. Look for console.log and TODO * Clean up * Fixes filtering of artifact list * More cleanup * Revert ui deployment * Updates tests * Update envoy deployment
- Loading branch information
1 parent
fe0bc67
commit 8d196d4
Showing
48 changed files
with
28,840 additions
and
1,189 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/sh | ||
set -e | ||
|
||
# DEBUG | ||
cat /etc/envoy.yaml | ||
|
||
echo "Starting Envoy..." | ||
/usr/local/bin/envoy -c /etc/envoy.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,11 @@ | ||
FROM envoyproxy/envoy:latest | ||
|
||
COPY envoy.yaml /etc/envoy.yaml | ||
COPY envoy-entrypoint.sh / | ||
|
||
RUN chmod 500 /envoy-entrypoint.sh | ||
|
||
RUN apt-get update && \ | ||
apt-get install gettext -y | ||
|
||
ENTRYPOINT ["/envoy-entrypoint.sh"] |
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,44 @@ | ||
admin: | ||
access_log_path: /tmp/admin_access.log | ||
address: | ||
socket_address: { address: 0.0.0.0, port_value: 9901 } | ||
|
||
static_resources: | ||
listeners: | ||
- name: listener_0 | ||
address: | ||
socket_address: { address: 0.0.0.0, port_value: 9090 } | ||
filter_chains: | ||
- filters: | ||
- name: envoy.http_connection_manager | ||
config: | ||
codec_type: auto | ||
stat_prefix: ingress_http | ||
route_config: | ||
name: local_route | ||
virtual_hosts: | ||
- name: local_service | ||
domains: ["*"] | ||
routes: | ||
- match: { prefix: "/" } | ||
route: | ||
cluster: metadata-cluster | ||
max_grpc_timeout: 0s | ||
cors: | ||
allow_origin: | ||
- "*" | ||
allow_methods: GET, PUT, DELETE, POST, OPTIONS | ||
allow_headers: keep-alive,user-agent,cache-control,content-type,content-transfer-encoding,custom-header-1,x-accept-content-transfer-encoding,x-accept-response-streaming,x-user-agent,x-grpc-web,grpc-timeout | ||
max_age: "1728000" | ||
expose_headers: custom-header-1,grpc-status,grpc-message | ||
http_filters: | ||
- name: envoy.grpc_web | ||
- name: envoy.cors | ||
- name: envoy.router | ||
clusters: | ||
- name: metadata-cluster | ||
connect_timeout: 30.0s | ||
type: logical_dns | ||
http2_protocol_options: {} | ||
lb_policy: round_robin | ||
hosts: [{ socket_address: { address: "metadata-service", port_value: 8080 }}] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.