update kubeflow dip-catalog
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
---
|
||||
apiVersion: config.kubeflow.org/v1beta1
|
||||
kind: KatibConfig
|
||||
init:
|
||||
controller:
|
||||
webhookPort: 8443
|
||||
trialResources:
|
||||
- Job.v1.batch
|
||||
- TFJob.v1.kubeflow.org
|
||||
- PyTorchJob.v1.kubeflow.org
|
||||
- MPIJob.v1.kubeflow.org
|
||||
- XGBoostJob.v1.kubeflow.org
|
||||
- MXJob.v1.kubeflow.org
|
||||
runtime:
|
||||
metricsCollectors:
|
||||
- kind: StdOut
|
||||
image: docker.io/kubeflowkatib/file-metrics-collector:v0.17.0
|
||||
- kind: File
|
||||
image: docker.io/kubeflowkatib/file-metrics-collector:v0.17.0
|
||||
- kind: TensorFlowEvent
|
||||
image: docker.io/kubeflowkatib/tfevent-metrics-collector:v0.17.0
|
||||
resources:
|
||||
limits:
|
||||
memory: 1Gi
|
||||
suggestions:
|
||||
- algorithmName: random
|
||||
image: docker.io/kubeflowkatib/suggestion-hyperopt:v0.17.0
|
||||
- algorithmName: tpe
|
||||
image: docker.io/kubeflowkatib/suggestion-hyperopt:v0.17.0
|
||||
- algorithmName: grid
|
||||
image: docker.io/kubeflowkatib/suggestion-optuna:v0.17.0
|
||||
- algorithmName: hyperband
|
||||
image: docker.io/kubeflowkatib/suggestion-hyperband:v0.17.0
|
||||
- algorithmName: bayesianoptimization
|
||||
image: docker.io/kubeflowkatib/suggestion-skopt:v0.17.0
|
||||
- algorithmName: cmaes
|
||||
image: docker.io/kubeflowkatib/suggestion-goptuna:v0.17.0
|
||||
- algorithmName: sobol
|
||||
image: docker.io/kubeflowkatib/suggestion-goptuna:v0.17.0
|
||||
- algorithmName: multivariate-tpe
|
||||
image: docker.io/kubeflowkatib/suggestion-optuna:v0.17.0
|
||||
- algorithmName: enas
|
||||
image: docker.io/kubeflowkatib/suggestion-enas:v0.17.0
|
||||
resources:
|
||||
limits:
|
||||
memory: 400Mi
|
||||
- algorithmName: darts
|
||||
image: docker.io/kubeflowkatib/suggestion-darts:v0.17.0
|
||||
- algorithmName: pbt
|
||||
image: docker.io/kubeflowkatib/suggestion-pbt:v0.17.0
|
||||
persistentVolumeClaimSpec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
resources:
|
||||
requests:
|
||||
storage: 5Gi
|
||||
earlyStoppings:
|
||||
- algorithmName: medianstop
|
||||
image: docker.io/kubeflowkatib/earlystopping-medianstop:v0.17.0
|
||||
@@ -0,0 +1,72 @@
|
||||
# This kustomization copies the `katib-standalone` one with following exclusions:
|
||||
# - No Job is spawned to generate TLS key for `katib-controller` Service
|
||||
# - Instead, the Service and WebhookConfigurations linked to it are annotated
|
||||
# for OpenShift service controller to handle TLS certification.
|
||||
#
|
||||
# Requires OpenShift version: 4.4+
|
||||
#
|
||||
# To achieve this, run:
|
||||
#
|
||||
# `kustomize build ./manifests/v1beta1/installs/katib-openshift | oc apply -f - -l type!=local`
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: kubeflow
|
||||
resources:
|
||||
# Namespace.
|
||||
- ../../components/namespace/
|
||||
# Katib controller.
|
||||
- ../../components/controller/
|
||||
# Katib CRDs.
|
||||
- ../../components/crd/
|
||||
# Katib DB manager.
|
||||
- ../../components/db-manager/
|
||||
# Katib DB mysql.
|
||||
- ../../components/mysql/
|
||||
# Katib UI.
|
||||
- ../../components/ui/
|
||||
# Katib webhooks.
|
||||
- ../../components/webhook/
|
||||
images:
|
||||
- name: docker.io/kubeflowkatib/katib-controller
|
||||
newName: docker.io/kubeflowkatib/katib-controller
|
||||
newTag: v0.17.0
|
||||
- name: docker.io/kubeflowkatib/katib-db-manager
|
||||
newName: docker.io/kubeflowkatib/katib-db-manager
|
||||
newTag: v0.17.0
|
||||
- name: docker.io/kubeflowkatib/katib-ui
|
||||
newName: docker.io/kubeflowkatib/katib-ui
|
||||
newTag: v0.17.0
|
||||
|
||||
patchesJson6902:
|
||||
# Annotate Service to delegate TLS-secret generation to OpenShift service controller
|
||||
# https://docs.openshift.com/container-platform/4.6/security/certificates/service-serving-certificate.html#add-service-certificate_service-serving-certificate
|
||||
- target:
|
||||
group: ""
|
||||
version: v1
|
||||
kind: Service
|
||||
name: katib-controller
|
||||
namespace: kubeflow
|
||||
path: patches/service-serving-cert.yaml
|
||||
# Annotate WebhookConfigurations to delegate `caBundle` population to OpenShift service controller
|
||||
# https://docs.openshift.com/container-platform/4.6/security/certificates/service-serving-certificate.html#add-service-certificate-mutating-webhook_service-serving-certificate
|
||||
- target:
|
||||
group: admissionregistration.k8s.io
|
||||
version: v1
|
||||
kind: ValidatingWebhookConfiguration
|
||||
name: katib.kubeflow.org
|
||||
path: patches/webhook-inject-cabundle.yaml
|
||||
- target:
|
||||
group: admissionregistration.k8s.io
|
||||
version: v1
|
||||
kind: MutatingWebhookConfiguration
|
||||
name: katib.kubeflow.org
|
||||
path: patches/webhook-inject-cabundle.yaml
|
||||
|
||||
configMapGenerator:
|
||||
- name: katib-config
|
||||
behavior: create
|
||||
files:
|
||||
- katib-config.yaml
|
||||
options:
|
||||
disableNameSuffixHash: true
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
---
|
||||
- op: "add"
|
||||
path: "/metadata/annotations/service.beta.openshift.io~1serving-cert-secret-name"
|
||||
value: katib-webhook-cert
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
---
|
||||
- op: "add"
|
||||
path: "/metadata/annotations"
|
||||
value:
|
||||
service.beta.openshift.io/inject-cabundle: "true"
|
||||
Reference in New Issue
Block a user