Skip to content
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

manifest/metadata: Switching to use metadata grpc server #1973

Merged
Show file tree
Hide file tree
Changes from all 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
1 change: 1 addition & 0 deletions manifests/kustomize/base/metadata/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ kind: Kustomization
resources:
- metadata-deployment.yaml
- metadata-service.yaml
- mlmd-server-configmap.yaml
19 changes: 13 additions & 6 deletions manifests/kustomize/base/metadata/metadata-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,19 @@ spec:
spec:
containers:
- name: container
image: gcr.io/kubeflow-images-public/metadata:v0.1.8
command: ["./server/server",
"--http_port=8080",
"--mysql_service_host=mysql",
"--mysql_service_port=3306",
"--mlmd_db_name=metadb"]
image: gcr.io/tfx-oss-public/ml_metadata_store_server:0.14.0
env:
- name: GRPC_PORT
value: "8080"
- name: METADATA_STORE_SERVER_CONFIG_FILE
value: "/etc/config/mlmd_config.prototxt"
ports:
- name: md-backendapi
containerPort: 8080
volumeMounts:
- name: mlmd-server-config-volume
mountPath: /etc/config
volumes:
- name: mlmd-server-config-volume
configMap:
name: mlmd-service-configmap
17 changes: 17 additions & 0 deletions manifests/kustomize/base/metadata/mlmd-server-configmap.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: mlmd-service-configmap
labels:
component: metadata-server
data:
mlmd_config.prototxt: |
connection_config: <
mysql: <
host: "mysql"
port: 3306
database: "metadb"
user: "root"
password: ""
>
>