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:
parent
8014a44229
commit
dac5a9433c
|
|
@ -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: {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
@ -0,0 +1 @@
|
|||
containerRuntimeExecutor=pns
|
||||
Loading…
Reference in New Issue