-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from OSS-MLOPS-PLATFORM/21-modular-install
21 modular install
- Loading branch information
Showing
60 changed files
with
1,677 additions
and
285 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,4 +62,5 @@ tutorials/openstack/secure.yaml | |
# Others | ||
old/ | ||
istio* | ||
temp/ | ||
temp/ | ||
.platform/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
HOST_IP="127.0.0.1" | ||
CLUSTER_NAME="kind-ep" | ||
INSTALL_LOCAL_REGISTRY="true" | ||
INSTALL_RAY="false" | ||
CLUSTER_NAME="mlops-platform" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,19 @@ | ||
## Deploy the stack | ||
|
||
Choose the deployment option that best fits your needs: | ||
1. `kubeflow-monitoring`: Full Kubeflow deployment with all components. | ||
2. `kubeflow`: Full Kubeflow deployment without monitoring components (prometheus, grafana). | ||
3. `standalone-kfp-monitoring`: Standalone KFP deployment. | ||
4. `standalone-kfp`: Standalone KFP deployment without monitoring components (prometheus, grafana). | ||
5. `standalone-kfp-kserve-monitoring`: Standalone KFP and Kserve deployment. | ||
6. `standalone-kfp-kserve`: Standalone KFP and Kserve deployment without monitoring components (prometheus, grafana). | ||
|
||
```bash | ||
export DEPLOYMENT_OPTION=kubeflow-monitoring | ||
``` | ||
|
||
Deploy to your kubernetes cluster with the following command: | ||
|
||
```bash | ||
while ! kustomize build deployment | kubectl apply -f -; do echo "Retrying to apply resources"; sleep 10; done | ||
while ! kustomize build "deployment/envs/$DEPLOYMENT_OPTION" | kubectl apply -f -; do echo "Retrying to apply resources"; sleep 10; done | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1 | |
kind: Kustomization | ||
|
||
resources: | ||
- aws-secret.yaml | ||
- kserve-sa.yaml |
7 changes: 7 additions & 0 deletions
7
deployment/custom/kserve-custom/env/kubeflow/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
namespace: kubeflow-user-example-com | ||
|
||
resources: | ||
- ../../base |
4 changes: 4 additions & 0 deletions
4
deployment/custom/kserve-custom/env/standalone-kfp/kserve-inference-namespace.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: kserve-inference |
8 changes: 8 additions & 0 deletions
8
deployment/custom/kserve-custom/env/standalone-kfp/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
namespace: kserve-inference | ||
|
||
resources: | ||
- ../../base | ||
- kserve-inference-namespace.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- aws-secret.yaml |
7 changes: 7 additions & 0 deletions
7
deployment/custom/kubeflow-custom/env/kubeflow/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
namespace: kubeflow-user-example-com | ||
|
||
resources: | ||
- ../../base |
110 changes: 110 additions & 0 deletions
110
deployment/custom/kubeflow-custom/env/standalone-kfp-kserve/kserve-deployer.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
# Required for deploy model to have the necessery permissions to create inference services | ||
|
||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: kserve-deployer | ||
rules: | ||
- verbs: | ||
- '*' | ||
apiGroups: | ||
- '' | ||
resources: | ||
- secrets | ||
- serviceaccounts | ||
- verbs: | ||
- get | ||
- watch | ||
- list | ||
apiGroups: | ||
- '' | ||
resources: | ||
- configmaps | ||
- verbs: | ||
- '*' | ||
apiGroups: | ||
- '' | ||
resources: | ||
- persistentvolumes | ||
- persistentvolumeclaims | ||
- verbs: | ||
- create | ||
- delete | ||
- get | ||
apiGroups: | ||
- snapshot.storage.k8s.io | ||
resources: | ||
- volumesnapshots | ||
- verbs: | ||
- get | ||
- list | ||
- watch | ||
- update | ||
- patch | ||
apiGroups: | ||
- argoproj.io | ||
resources: | ||
- workflows | ||
- verbs: | ||
- '*' | ||
apiGroups: | ||
- '' | ||
resources: | ||
- pods | ||
- pods/exec | ||
- pods/log | ||
- services | ||
- verbs: | ||
- '*' | ||
apiGroups: | ||
- '' | ||
- apps | ||
- extensions | ||
resources: | ||
- deployments | ||
- replicasets | ||
- verbs: | ||
- '*' | ||
apiGroups: | ||
- kubeflow.org | ||
resources: | ||
- '*' | ||
- verbs: | ||
- '*' | ||
apiGroups: | ||
- batch | ||
resources: | ||
- jobs | ||
- verbs: | ||
- '*' | ||
apiGroups: | ||
- machinelearning.seldon.io | ||
resources: | ||
- seldondeployments | ||
- verbs: | ||
- '*' | ||
apiGroups: | ||
- serving.kserve.io | ||
resources: | ||
- '*' | ||
- verbs: | ||
- '*' | ||
apiGroups: | ||
- networking.istio.io | ||
resources: | ||
- '*' | ||
--- | ||
kind: ClusterRoleBinding | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
metadata: | ||
name: pipeline-runner-binding-cluster | ||
labels: | ||
application-crd-id: kubeflow-pipelines | ||
subjects: | ||
- kind: ServiceAccount | ||
name: pipeline-runner | ||
namespace: kubeflow | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: kserve-deployer |
8 changes: 8 additions & 0 deletions
8
deployment/custom/kubeflow-custom/env/standalone-kfp-kserve/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
namespace: kubeflow | ||
|
||
resources: | ||
- ../../base | ||
- kserve-deployer.yaml |
7 changes: 7 additions & 0 deletions
7
deployment/custom/kubeflow-custom/env/standalone-kfp/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
namespace: kubeflow | ||
|
||
resources: | ||
- ../../base |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- ../../kubeflow/manifests/in-cluster-setup/kubeflow | ||
- ../../custom/kubeflow-custom/env/kubeflow | ||
- ../../custom/kserve-custom/env/kubeflow | ||
- ../../mlflow/env/local | ||
- ../../monitoring |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- ../../kubeflow/manifests/in-cluster-setup/kubeflow | ||
- ../../custom/kubeflow-custom/env/kubeflow | ||
- ../../custom/kserve-custom/env/kubeflow | ||
- ../../mlflow/env/local |
9 changes: 9 additions & 0 deletions
9
deployment/envs/standalone-kfp-kserve-monitoring/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- ../../kubeflow/manifests/in-cluster-setup/standalone-kfp-kserve | ||
- ../../custom/kubeflow-custom/env/standalone-kfp-kserve | ||
- ../../custom/kserve-custom/env/standalone-kfp | ||
- ../../mlflow/env/local | ||
- ../../monitoring |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- ../../kubeflow/manifests/in-cluster-setup/standalone-kfp-kserve | ||
- ../../custom/kubeflow-custom/env/standalone-kfp-kserve | ||
- ../../custom/kserve-custom/env/standalone-kfp | ||
- ../../mlflow/env/local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- ../../kubeflow/manifests/in-cluster-setup/standalone-kfp | ||
- ../../custom/kubeflow-custom/env/standalone-kfp | ||
- ../../mlflow/env/local | ||
- ../../monitoring |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- ../../kubeflow/manifests/in-cluster-setup/standalone-kfp | ||
- ../../custom/kubeflow-custom/env/standalone-kfp | ||
- ../../mlflow/env/local |
10 changes: 10 additions & 0 deletions
10
deployment/kubeflow/manifests/in-cluster-setup/kubeflow/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Kubeflow | ||
|
||
Components: | ||
- Multiuser isolation | ||
- Central Dashboard | ||
- Jupyter Notebooks | ||
- Kubeflow Pipelines (KFP) | ||
- Kserve | ||
- Katib | ||
- TensorBoard |
Oops, something went wrong.