diff --git a/manifests/kustomize/base/kustomization.yaml b/manifests/kustomize/base/kustomization.yaml index 99fe9419597..0daf7b16455 100644 --- a/manifests/kustomize/base/kustomization.yaml +++ b/manifests/kustomize/base/kustomization.yaml @@ -6,6 +6,7 @@ bases: - crds - pipeline - proxy +- metadata images: - name: argoproj/workflow-controller diff --git a/manifests/kustomize/base/metadata/kustomization.yaml b/manifests/kustomize/base/metadata/kustomization.yaml new file mode 100644 index 00000000000..ac11f97c4d2 --- /dev/null +++ b/manifests/kustomize/base/metadata/kustomization.yaml @@ -0,0 +1,6 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +resources: + - metadata-deployment.yaml + - metadata-service.yaml diff --git a/manifests/kustomize/base/metadata/metadata-deployment.yaml b/manifests/kustomize/base/metadata/metadata-deployment.yaml new file mode 100644 index 00000000000..7d37aa76eb1 --- /dev/null +++ b/manifests/kustomize/base/metadata/metadata-deployment.yaml @@ -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 diff --git a/manifests/kustomize/base/metadata/metadata-service.yaml b/manifests/kustomize/base/metadata/metadata-service.yaml new file mode 100644 index 00000000000..18f9ab3de14 --- /dev/null +++ b/manifests/kustomize/base/metadata/metadata-service.yaml @@ -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 diff --git a/manifests/kustomize/base/pipeline/kustomization.yaml b/manifests/kustomize/base/pipeline/kustomization.yaml index 0f2b82b68db..a51088ef1fe 100644 --- a/manifests/kustomize/base/pipeline/kustomization.yaml +++ b/manifests/kustomize/base/pipeline/kustomization.yaml @@ -28,4 +28,4 @@ resources: - ml-pipeline-visualization-service.yaml - pipeline-runner-role.yaml - pipeline-runner-rolebinding.yaml -- pipeline-runner-sa.yaml \ No newline at end of file +- pipeline-runner-sa.yaml