From b4ad13618caf35d8891e437c89cc24b0317b2b98 Mon Sep 17 00:00:00 2001 From: namirinz Date: Thu, 8 Aug 2024 18:23:49 +0700 Subject: [PATCH 1/3] Add Kubeflow Training Operator app --- .../300-distributed/300-training-operator.yaml | 12 ++++++++++++ helm/kubeflow-core/values.yaml | 17 +++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 helm/kubeflow-core/templates/300-distributed/300-training-operator.yaml diff --git a/helm/kubeflow-core/templates/300-distributed/300-training-operator.yaml b/helm/kubeflow-core/templates/300-distributed/300-training-operator.yaml new file mode 100644 index 0000000..93b3583 --- /dev/null +++ b/helm/kubeflow-core/templates/300-distributed/300-training-operator.yaml @@ -0,0 +1,12 @@ +{{ if .Values.trainingOperator.enabled }} +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: 300-training-operator + annotations: + argocd.argoproj.io/sync-wave: "300" + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: +{{ .Values.trainingOperator.spec | toYaml | indent 2}} +{{- end -}} \ No newline at end of file diff --git a/helm/kubeflow-core/values.yaml b/helm/kubeflow-core/values.yaml index 8d7a98b..08e88ee 100644 --- a/helm/kubeflow-core/values.yaml +++ b/helm/kubeflow-core/values.yaml @@ -656,4 +656,21 @@ sparkOperator: prune: false syncOptions: - CreateNamespace=true + - ServerSideApply=true + +trainingOperator: + enabled: false + spec: + project: default + source: + path: apps/training-operator/upstream/overlays/kubeflow + repoURL: https://github.com/kubeflow/manifests + targetRevision: 776d4f4 + destination: + namespace: argocd + name: in-cluster + syncPolicy: + automated: + prune: false + syncOptions: - ServerSideApply=true \ No newline at end of file From da00b970ea8be830be89046308970e773c038885 Mon Sep 17 00:00:00 2001 From: namirinz Date: Thu, 8 Aug 2024 20:03:22 +0700 Subject: [PATCH 2/3] Add index --- helm/index.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 helm/index.yaml diff --git a/helm/index.yaml b/helm/index.yaml new file mode 100644 index 0000000..4584708 --- /dev/null +++ b/helm/index.yaml @@ -0,0 +1,11 @@ +apiVersion: v1 +entries: + kubeflow-core: + - apiVersion: v2 + created: "2024-08-08T20:03:02.973998+07:00" + digest: a81e4721ec6b86442784c94b38f175f62f79e695a76ab21057f84e5dee2f1854 + name: kubeflow-core + urls: + - https://github.com/namirinz/kubeflow-bootstrap.git/kubeflow-core-0.1.0.tgz + version: 0.1.0 +generated: "2024-08-08T20:03:02.97191+07:00" From 1041f1b359d79ca18392a7b14454c9284f5fcbb3 Mon Sep 17 00:00:00 2001 From: namirinz Date: Thu, 8 Aug 2024 20:05:22 +0700 Subject: [PATCH 3/3] Remove index --- helm/index.yaml | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 helm/index.yaml diff --git a/helm/index.yaml b/helm/index.yaml deleted file mode 100644 index 4584708..0000000 --- a/helm/index.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: v1 -entries: - kubeflow-core: - - apiVersion: v2 - created: "2024-08-08T20:03:02.973998+07:00" - digest: a81e4721ec6b86442784c94b38f175f62f79e695a76ab21057f84e5dee2f1854 - name: kubeflow-core - urls: - - https://github.com/namirinz/kubeflow-bootstrap.git/kubeflow-core-0.1.0.tgz - version: 0.1.0 -generated: "2024-08-08T20:03:02.97191+07:00"