feat(deployment): Add env/platform-agnostic-pns standalone deployment option (#4278)

Add containerRuntimeExecutor explicit type on the configMap
configuration. Set `docker` as default.
Add platform-agnostic type configuration needed by Kind, K3s and
Minikube.
Part of https://github.com/kubeflow/pipelines/issues/4256
This commit is contained in:
Gabriele Santomaggio 2020-08-04 04:24:18 +02:00 committed by GitHub
parent 8014a44229
commit dac5a9433c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 37 additions and 0 deletions

View File

@ -7,6 +7,7 @@ data:
{
namespace: $(kfp-namespace),
executorImage: gcr.io/ml-pipeline/argoexec:v2.7.5-license-compliance,
containerRuntimeExecutor: $(kfp-container-runtime-executor),
artifactRepository:
{
s3: {

View File

@ -46,5 +46,12 @@ vars:
apiVersion: v1
fieldref:
fieldpath: data.bucketName
- name: kfp-container-runtime-executor
objref:
kind: ConfigMap
name: pipeline-install-config
apiVersion: v1
fieldref:
fieldpath: data.containerRuntimeExecutor
configurations:
- params.yaml

View File

@ -6,3 +6,10 @@ mlmdDb=metadb
cacheDb=cachedb
pipelineDb=mlpipeline
bucketName=mlpipeline
## containerRuntimeExecutor: A workflow executor is a process
## that allows Argo to perform certain actions like monitoring pod logs,
## artifacts, container lifecycles, etc..
## Doc: https://github.com/argoproj/argo/blob/master/docs/workflow-executors.md
containerRuntimeExecutor=docker

View File

@ -0,0 +1,21 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
bases:
- ../platform-agnostic
# Identifier for application manager to apply ownerReference.
# The ownerReference ensures the resources get garbage collected
# when application is deleted.
commonLabels:
application-crd-id: kubeflow-pipelines
# !!! If you want to customize the namespace,
# please refer sample/cluster-scoped-resources to update the namespace for cluster-scoped-resources
namespace: kubeflow
# Used by Kustomize
configMapGenerator:
- name: pipeline-install-config
env: params.env
behavior: merge

View File

@ -0,0 +1 @@
containerRuntimeExecutor=pns