Skip to content

Commit

Permalink
gcp-marketplace: Updating metadata deployment to use gRPC server
Browse files Browse the repository at this point in the history
Change to update gcp marketplace helm charts to use gRPC MLMD metadata
server.
  • Loading branch information
dushyanthsc committed Sep 10, 2019
1 parent a4fa1ed commit 748ced9
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,27 @@ spec:
app.kubernetes.io/name: {{ .Release.Name }}
spec:
containers:
- command:
- ./server/server
- --http_port=8080
- --mysql_service_host=mysql
- --mysql_service_port=3306
{{ if .Values.managedstorage.databaseNamePrefix }}
- --mlmd_db_name={{ .Values.managedstorage.databaseNamePrefix }}_metadata
{{ else }}
- --mlmd_db_name={{ .Release.Name | replace "-" "_" | replace "." "_" | trunc 50 }}_metadata
{{ end }}

image: {{ .Values.images.metadataserver }}
name: container
ports:
- containerPort: 8080
name: md-backendapi
- name: container
image: {{ .Values.images.metadataserver }}
env:
- name: DBCONFIG_USER
valueFrom:
secretKeyRef:
name: mysql-credential
key: username
- name: DBCONFIG_PASSWORD
valueFrom:
secretKeyRef:
name: mysql-credential
key: password
command: ["/bin/metadata_store_server"]
args: ["--grpc_port=8080",
"--mysql_config_host=mysql",
"--mysql_config_database=metadb",
"--mysql_config_port=3306",
"--mysql_config_user=$(DBCONFIG_USER)",
"--mysql_config_password=$(DBCONFIG_PASSWORD)"
]
ports:
- containerPort: 8080
name: md-backendapi
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ images:
argoworkflowcontroller: gcr.io/ml-pipeline/workflow-controller:v2.3.0
cloudsqlproxy: gcr.io/cloudsql-docker/gce-proxy:1.14
frontend: gcr.io/ml-pipeline/frontend:0.1.27
metadataserver: gcr.io/kubeflow-images-public/metadata:v0.1.8
metadataserver: gcr.io/tfx-oss-public/ml_metadata_store_server:0.14.0
minio: gcr.io/ml-pipeline/minio:RELEASE.2019-08-14T20-37-41Z
mysql: gcr.io/ml-pipeline/mysql:5.6
persistenceagent: gcr.io/ml-pipeline/persistenceagent:0.1.27
Expand Down

0 comments on commit 748ced9

Please sign in to comment.