update kubeflow dip-catalog
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
labels:
|
||||
app: centraldashboard
|
||||
name: centraldashboard
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: centraldashboard
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: centraldashboard
|
||||
namespace: kubeflow
|
||||
@@ -0,0 +1,17 @@
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
labels:
|
||||
app: centraldashboard
|
||||
name: centraldashboard
|
||||
rules:
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- events
|
||||
- namespaces
|
||||
- nodes
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
@@ -0,0 +1,120 @@
|
||||
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"
|
||||
},
|
||||
{
|
||||
"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
|
||||
@@ -0,0 +1,49 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: centraldashboard
|
||||
name: centraldashboard
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: centraldashboard
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: centraldashboard
|
||||
annotations:
|
||||
sidecar.istio.io/inject: "true"
|
||||
spec:
|
||||
containers:
|
||||
- name: centraldashboard
|
||||
image: docker.io/kubeflownotebookswg/centraldashboard
|
||||
imagePullPolicy: IfNotPresent
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /healthz
|
||||
port: 8082
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 30
|
||||
ports:
|
||||
- containerPort: 8082
|
||||
protocol: TCP
|
||||
env:
|
||||
- name: USERID_HEADER
|
||||
value: CD_USERID_HEADER_PLACEHOLDER
|
||||
- name: USERID_PREFIX
|
||||
value: CD_USERID_PREFIX_PLACEHOLDER
|
||||
- name: PROFILES_KFAM_SERVICE_HOST
|
||||
value: profiles-kfam.kubeflow
|
||||
- name: REGISTRATION_FLOW
|
||||
value: CD_REGISTRATION_FLOW_PLACEHOLDER
|
||||
- name: DASHBOARD_CONFIGMAP
|
||||
value: CD_CONFIGMAP_NAME_PLACEHOLDER
|
||||
- name: LOGOUT_URL
|
||||
value: '/authservice/logout'
|
||||
- name: POD_NAMESPACE
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.namespace
|
||||
serviceAccountName: centraldashboard
|
||||
@@ -0,0 +1,83 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: kubeflow
|
||||
resources:
|
||||
- clusterrole-binding.yaml
|
||||
- clusterrole.yaml
|
||||
- deployment.yaml
|
||||
- role-binding.yaml
|
||||
- role.yaml
|
||||
- service-account.yaml
|
||||
- service.yaml
|
||||
- configmap.yaml
|
||||
images:
|
||||
- name: docker.io/kubeflownotebookswg/centraldashboard
|
||||
newName: docker.io/kubeflownotebookswg/centraldashboard
|
||||
newTag: v1.9.0
|
||||
configMapGenerator:
|
||||
- envs:
|
||||
- params.env
|
||||
name: centraldashboard-parameters
|
||||
generatorOptions:
|
||||
disableNameSuffixHash: true
|
||||
labels:
|
||||
- includeSelectors: true
|
||||
pairs:
|
||||
app: centraldashboard
|
||||
app.kubernetes.io/component: centraldashboard
|
||||
app.kubernetes.io/name: centraldashboard
|
||||
kustomize.component: centraldashboard
|
||||
|
||||
replacements:
|
||||
- source:
|
||||
fieldPath: data.CD_USERID_HEADER
|
||||
kind: ConfigMap
|
||||
name: centraldashboard-parameters
|
||||
version: v1
|
||||
targets:
|
||||
- fieldPaths:
|
||||
- spec.template.spec.containers.0.env.0.value
|
||||
select:
|
||||
group: apps
|
||||
kind: Deployment
|
||||
name: centraldashboard
|
||||
version: v1
|
||||
- source:
|
||||
fieldPath: data.CD_USERID_PREFIX
|
||||
kind: ConfigMap
|
||||
name: centraldashboard-parameters
|
||||
version: v1
|
||||
targets:
|
||||
- fieldPaths:
|
||||
- spec.template.spec.containers.0.env.1.value
|
||||
select:
|
||||
group: apps
|
||||
kind: Deployment
|
||||
name: centraldashboard
|
||||
version: v1
|
||||
- source:
|
||||
fieldPath: data.CD_REGISTRATION_FLOW
|
||||
kind: ConfigMap
|
||||
name: centraldashboard-parameters
|
||||
version: v1
|
||||
targets:
|
||||
- fieldPaths:
|
||||
- spec.template.spec.containers.0.env.3.value
|
||||
select:
|
||||
group: apps
|
||||
kind: Deployment
|
||||
name: centraldashboard
|
||||
version: v1
|
||||
- source:
|
||||
fieldPath: metadata.name
|
||||
kind: ConfigMap
|
||||
name: centraldashboard-config
|
||||
version: v1
|
||||
targets:
|
||||
- fieldPaths:
|
||||
- spec.template.spec.containers.0.env.4.value
|
||||
select:
|
||||
group: apps
|
||||
kind: Deployment
|
||||
name: centraldashboard
|
||||
version: v1
|
||||
@@ -0,0 +1,4 @@
|
||||
CD_CLUSTER_DOMAIN=cluster.local
|
||||
CD_USERID_HEADER=kubeflow-userid
|
||||
CD_USERID_PREFIX=
|
||||
CD_REGISTRATION_FLOW=false
|
||||
@@ -0,0 +1,14 @@
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: RoleBinding
|
||||
metadata:
|
||||
labels:
|
||||
app: centraldashboard
|
||||
name: centraldashboard
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: Role
|
||||
name: centraldashboard
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: centraldashboard
|
||||
namespace: kubeflow
|
||||
@@ -0,0 +1,26 @@
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: Role
|
||||
metadata:
|
||||
labels:
|
||||
app: centraldashboard
|
||||
name: centraldashboard
|
||||
rules:
|
||||
- apiGroups:
|
||||
- ""
|
||||
- "app.k8s.io"
|
||||
resources:
|
||||
- applications
|
||||
- pods
|
||||
- pods/exec
|
||||
- pods/log
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- secrets
|
||||
- configmaps
|
||||
verbs:
|
||||
- get
|
||||
@@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: centraldashboard
|
||||
@@ -0,0 +1,15 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app: centraldashboard
|
||||
name: centraldashboard
|
||||
spec:
|
||||
ports:
|
||||
- port: 80
|
||||
protocol: TCP
|
||||
targetPort: 8082
|
||||
selector:
|
||||
app: centraldashboard
|
||||
sessionAffinity: None
|
||||
type: ClusterIP
|
||||
Reference in New Issue
Block a user