update kubeflow dip-catalog
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
apiVersion: security.istio.io/v1beta1
|
||||
kind: AuthorizationPolicy
|
||||
metadata:
|
||||
name: central-dashboard
|
||||
spec:
|
||||
action: ALLOW
|
||||
rules:
|
||||
- from:
|
||||
- source:
|
||||
principals:
|
||||
- cluster.local/ns/istio-system/sa/istio-ingressgateway-service-account
|
||||
selector:
|
||||
matchLabels:
|
||||
app: centraldashboard
|
||||
@@ -0,0 +1,49 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../../base
|
||||
- virtual-service.yaml
|
||||
- authorizationpolicy.yaml
|
||||
namespace: kubeflow
|
||||
replacements:
|
||||
- source:
|
||||
fieldPath: metadata.namespace
|
||||
kind: Service
|
||||
name: centraldashboard
|
||||
version: v1
|
||||
targets:
|
||||
- fieldPaths:
|
||||
- spec.http.0.route.0.destination.host
|
||||
options:
|
||||
delimiter: .
|
||||
index: 1
|
||||
select:
|
||||
group: networking.istio.io
|
||||
kind: VirtualService
|
||||
name: centraldashboard
|
||||
version: v1alpha3
|
||||
- source:
|
||||
fieldPath: data.CD_CLUSTER_DOMAIN
|
||||
kind: ConfigMap
|
||||
name: centraldashboard-parameters
|
||||
version: v1
|
||||
targets:
|
||||
- fieldPaths:
|
||||
- spec.http.0.route.0.destination.host
|
||||
options:
|
||||
delimiter: .
|
||||
index: 3
|
||||
select:
|
||||
group: networking.istio.io
|
||||
kind: VirtualService
|
||||
name: centraldashboard
|
||||
version: v1alpha3
|
||||
configurations:
|
||||
- params.yaml
|
||||
labels:
|
||||
- includeSelectors: true
|
||||
pairs:
|
||||
app: centraldashboard
|
||||
app.kubernetes.io/component: centraldashboard
|
||||
app.kubernetes.io/name: centraldashboard
|
||||
kustomize.component: centraldashboard
|
||||
@@ -0,0 +1,3 @@
|
||||
varReference:
|
||||
- path: spec/http/route/destination/host
|
||||
kind: VirtualService
|
||||
@@ -0,0 +1,20 @@
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: VirtualService
|
||||
metadata:
|
||||
name: centraldashboard
|
||||
spec:
|
||||
gateways:
|
||||
- kubeflow-gateway
|
||||
hosts:
|
||||
- '*'
|
||||
http:
|
||||
- match:
|
||||
- uri:
|
||||
prefix: /
|
||||
rewrite:
|
||||
uri: /
|
||||
route:
|
||||
- destination:
|
||||
host: centraldashboard.CD_NAMESPACE_PLACEHOLDER.svc.CD_CLUSTER_DOMAIN_PLACEHOLDER
|
||||
port:
|
||||
number: 80
|
||||
@@ -0,0 +1,13 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../istio
|
||||
labels:
|
||||
- includeSelectors: true
|
||||
pairs:
|
||||
app: centraldashboard
|
||||
app.kubernetes.io/component: centraldashboard
|
||||
app.kubernetes.io/name: centraldashboard
|
||||
kustomize.component: centraldashboard
|
||||
patches:
|
||||
- path: patches/configmap.yaml
|
||||
+126
@@ -0,0 +1,126 @@
|
||||
apiVersion: v1
|
||||
data:
|
||||
settings: |-
|
||||
{
|
||||
"DASHBOARD_FORCE_IFRAME": true
|
||||
}
|
||||
links: |-
|
||||
{
|
||||
"menuLinks": [
|
||||
{
|
||||
"icon": "book",
|
||||
"link": "/jupyter/",
|
||||
"text": "Notebooks",
|
||||
"type": "item"
|
||||
},
|
||||
{
|
||||
"icon": "assessment",
|
||||
"link": "/tensorboards/",
|
||||
"text": "TensorBoards",
|
||||
"type": "item"
|
||||
},
|
||||
{
|
||||
"icon": "device:storage",
|
||||
"link": "/volumes/",
|
||||
"text": "Volumes",
|
||||
"type": "item"
|
||||
},
|
||||
{
|
||||
"icon": "kubeflow:katib",
|
||||
"link": "/katib/",
|
||||
"text": "Katib Experiments",
|
||||
"type": "item"
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"link": "/kserve-endpoints/",
|
||||
"text": "KServe Endpoints",
|
||||
"icon": "kubeflow:models"
|
||||
},
|
||||
{
|
||||
"icon": "kubeflow:pipeline-centered",
|
||||
"items": [
|
||||
{
|
||||
"link": "/pipeline/#/pipelines",
|
||||
"text": "Pipelines",
|
||||
"type": "item"
|
||||
},
|
||||
{
|
||||
"link": "/pipeline/#/experiments",
|
||||
"text": "Experiments",
|
||||
"type": "item"
|
||||
},
|
||||
{
|
||||
"link": "/pipeline/#/runs",
|
||||
"text": "Runs",
|
||||
"type": "item"
|
||||
},
|
||||
{
|
||||
"link": "/pipeline/#/recurringruns",
|
||||
"text": "Recurring Runs",
|
||||
"type": "item"
|
||||
},
|
||||
{
|
||||
"link": "/pipeline/#/artifacts",
|
||||
"text": "Artifacts",
|
||||
"type": "item"
|
||||
},
|
||||
{
|
||||
"link": "/pipeline/#/executions",
|
||||
"text": "Executions",
|
||||
"type": "item"
|
||||
}
|
||||
],
|
||||
"text": "Pipelines",
|
||||
"type": "section"
|
||||
}
|
||||
],
|
||||
"externalLinks": [],
|
||||
"documentationItems": [
|
||||
{
|
||||
"desc": "The Kubeflow website",
|
||||
"link": "https://www.kubeflow.org/",
|
||||
"text": "Kubeflow Website"
|
||||
},
|
||||
{
|
||||
"desc": "Documentation for Kubeflow Pipelines",
|
||||
"link": "https://www.kubeflow.org/docs/components/pipelines/",
|
||||
"text": "Kubeflow Pipelines Documentation"
|
||||
},
|
||||
{
|
||||
"desc": "Documentation for Kubeflow Notebooks",
|
||||
"link": "https://www.kubeflow.org/docs/components/notebooks/",
|
||||
"text": "Kubeflow Notebooks Documentation"
|
||||
},
|
||||
{
|
||||
"desc": "Documentation for Kubeflow Training Operator",
|
||||
"link": "https://www.kubeflow.org/docs/components/training/",
|
||||
"text": "Kubeflow Training Operator Documentation"
|
||||
},
|
||||
{
|
||||
"desc": "Documentation for Katib",
|
||||
"link": "https://www.kubeflow.org/docs/components/katib/",
|
||||
"text": "Katib Documentation"
|
||||
}
|
||||
],
|
||||
"quickLinks": [
|
||||
{
|
||||
"desc": "Kubeflow Notebooks",
|
||||
"link": "/jupyter/new",
|
||||
"text": "Create a new Notebook"
|
||||
},
|
||||
{
|
||||
"desc": "Kubeflow Pipelines",
|
||||
"link": "/pipeline/#/pipelines",
|
||||
"text": "Upload a Pipeline"
|
||||
},
|
||||
{
|
||||
"desc": "Pipelines",
|
||||
"link": "/pipeline/#/runs",
|
||||
"text": "View Pipeline Runs"
|
||||
}
|
||||
]
|
||||
}
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: centraldashboard-config
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
# Using kserve overlay because it's also used in example installation.
|
||||
- ../kserve
|
||||
|
||||
components:
|
||||
- ../../../../../common/oidc-client/oauth2-proxy/components/central-dashboard
|
||||
Reference in New Issue
Block a user