Skip to content

Commit

Permalink
pipeline-lite: Introduce metadata component to pipeline-lite (#1840)
Browse files Browse the repository at this point in the history
This change introduces the metadata component to pipeline-lite
installation. This installation:

  1. Does not include metadata-ui
  2. mysql installation is used instead of metadata-db
  3. Replica count has been reduced 1 instead of 3
  • Loading branch information
dushyanthsc authored and k8s-ci-robot committed Aug 22, 2019
1 parent 60de44b commit db6c9b4
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 1 deletion.
1 change: 1 addition & 0 deletions manifests/kustomize/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ bases:
- crds
- pipeline
- proxy
- metadata

images:
- name: argoproj/workflow-controller
Expand Down
6 changes: 6 additions & 0 deletions manifests/kustomize/base/metadata/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- metadata-deployment.yaml
- metadata-service.yaml
27 changes: 27 additions & 0 deletions manifests/kustomize/base/metadata/metadata-deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: metadata-deployment
labels:
component: metadata-server
spec:
replicas: 1
selector:
matchLabels:
component: metadata-server
template:
metadata:
labels:
component: metadata-server
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"]
ports:
- name: md-backendapi
containerPort: 8080
14 changes: 14 additions & 0 deletions manifests/kustomize/base/metadata/metadata-service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
kind: Service
apiVersion: v1
metadata:
labels:
app: metadata
name: metadata-service
spec:
selector:
component: metadata-server
type: ClusterIP
ports:
- port: 8080
protocol: TCP
name: md-backendapi
2 changes: 1 addition & 1 deletion manifests/kustomize/base/pipeline/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ resources:
- ml-pipeline-visualization-service.yaml
- pipeline-runner-role.yaml
- pipeline-runner-rolebinding.yaml
- pipeline-runner-sa.yaml
- pipeline-runner-sa.yaml

0 comments on commit db6c9b4

Please sign in to comment.