Skip to content

Commit 9f2307e

Browse files
author
Misha6Sharma
committed
checking the updates
Signed-off-by: Misha6Sharma <[email protected]>
1 parent bca4ecc commit 9f2307e

File tree

15 files changed

+3920
-33
lines changed

15 files changed

+3920
-33
lines changed

after-access-management.yaml

Whitespace-only changes.

after-poddefaults.yaml

Whitespace-only changes.

after.yaml

Lines changed: 611 additions & 0 deletions
Large diffs are not rendered by default.

before.yaml

Lines changed: 602 additions & 0 deletions
Large diffs are not rendered by default.

centraldashboard.yaml

Lines changed: 365 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,365 @@
1+
apiVersion: v1
2+
kind: ServiceAccount
3+
metadata:
4+
labels:
5+
app: dashboard
6+
app.kubernetes.io/component: dashboard
7+
app.kubernetes.io/name: dashboard
8+
kustomize.component: dashboard
9+
name: dashboard
10+
namespace: kubeflow
11+
---
12+
apiVersion: rbac.authorization.k8s.io/v1
13+
kind: Role
14+
metadata:
15+
labels:
16+
app: dashboard
17+
app.kubernetes.io/component: dashboard
18+
app.kubernetes.io/name: dashboard
19+
kustomize.component: dashboard
20+
name: dashboard
21+
namespace: kubeflow
22+
rules:
23+
- apiGroups:
24+
- ""
25+
- app.k8s.io
26+
resources:
27+
- applications
28+
- pods
29+
- pods/exec
30+
- pods/log
31+
verbs:
32+
- get
33+
- list
34+
- watch
35+
- apiGroups:
36+
- ""
37+
resources:
38+
- secrets
39+
- configmaps
40+
verbs:
41+
- get
42+
---
43+
apiVersion: rbac.authorization.k8s.io/v1
44+
kind: ClusterRole
45+
metadata:
46+
labels:
47+
app: dashboard
48+
app.kubernetes.io/component: dashboard
49+
app.kubernetes.io/name: dashboard
50+
kustomize.component: dashboard
51+
name: dashboard
52+
rules:
53+
- apiGroups:
54+
- ""
55+
resources:
56+
- events
57+
- namespaces
58+
- nodes
59+
verbs:
60+
- get
61+
- list
62+
- watch
63+
---
64+
apiVersion: rbac.authorization.k8s.io/v1
65+
kind: RoleBinding
66+
metadata:
67+
labels:
68+
app: dashboard
69+
app.kubernetes.io/component: dashboard
70+
app.kubernetes.io/name: dashboard
71+
kustomize.component: dashboard
72+
name: dashboard
73+
namespace: kubeflow
74+
roleRef:
75+
apiGroup: rbac.authorization.k8s.io
76+
kind: Role
77+
name: dashboard
78+
subjects:
79+
- kind: ServiceAccount
80+
name: dashboard
81+
namespace: kubeflow
82+
---
83+
apiVersion: rbac.authorization.k8s.io/v1
84+
kind: ClusterRoleBinding
85+
metadata:
86+
labels:
87+
app: dashboard
88+
app.kubernetes.io/component: dashboard
89+
app.kubernetes.io/name: dashboard
90+
kustomize.component: dashboard
91+
name: dashboard
92+
roleRef:
93+
apiGroup: rbac.authorization.k8s.io
94+
kind: ClusterRole
95+
name: dashboard
96+
subjects:
97+
- kind: ServiceAccount
98+
name: dashboard
99+
namespace: kubeflow
100+
---
101+
apiVersion: v1
102+
data:
103+
links: |-
104+
{
105+
"menuLinks": [
106+
{
107+
"icon": "book",
108+
"link": "/jupyter/",
109+
"text": "Notebooks",
110+
"type": "item"
111+
},
112+
{
113+
"icon": "assessment",
114+
"link": "/tensorboards/",
115+
"text": "TensorBoards",
116+
"type": "item"
117+
},
118+
{
119+
"icon": "device:storage",
120+
"link": "/volumes/",
121+
"text": "Volumes",
122+
"type": "item"
123+
},
124+
{
125+
"icon": "kubeflow:katib",
126+
"link": "/katib/",
127+
"text": "Katib Experiments",
128+
"type": "item"
129+
},
130+
{
131+
"icon": "kubeflow:pipeline-centered",
132+
"items": [
133+
{
134+
"link": "/pipeline/#/pipelines",
135+
"text": "Pipelines",
136+
"type": "item"
137+
},
138+
{
139+
"link": "/pipeline/#/experiments",
140+
"text": "Experiments",
141+
"type": "item"
142+
},
143+
{
144+
"link": "/pipeline/#/runs",
145+
"text": "Runs",
146+
"type": "item"
147+
},
148+
{
149+
"link": "/pipeline/#/recurringruns",
150+
"text": "Recurring Runs",
151+
"type": "item"
152+
},
153+
{
154+
"link": "/pipeline/#/artifacts",
155+
"text": "Artifacts",
156+
"type": "item"
157+
},
158+
{
159+
"link": "/pipeline/#/executions",
160+
"text": "Executions",
161+
"type": "item"
162+
}
163+
],
164+
"text": "Pipelines",
165+
"type": "section"
166+
}
167+
],
168+
"externalLinks": [],
169+
"documentationItems": [
170+
{
171+
"desc": "The Kubeflow website",
172+
"link": "https://www.kubeflow.org/",
173+
"text": "Kubeflow Website"
174+
},
175+
{
176+
"desc": "Documentation for Kubeflow Pipelines",
177+
"link": "https://www.kubeflow.org/docs/components/pipelines/",
178+
"text": "Kubeflow Pipelines Documentation"
179+
},
180+
{
181+
"desc": "Documentation for Kubeflow Notebooks",
182+
"link": "https://www.kubeflow.org/docs/components/notebooks/",
183+
"text": "Kubeflow Notebooks Documentation"
184+
},
185+
{
186+
"desc": "Documentation for Kubeflow Training Operator",
187+
"link": "https://www.kubeflow.org/docs/components/training/",
188+
"text": "Kubeflow Training Operator Documentation"
189+
},
190+
{
191+
"desc": "Documentation for Katib",
192+
"link": "https://www.kubeflow.org/docs/components/katib/",
193+
"text": "Katib Documentation"
194+
}
195+
],
196+
"quickLinks": [
197+
{
198+
"desc": "Kubeflow Notebooks",
199+
"link": "/jupyter/new",
200+
"text": "Create a new Notebook"
201+
},
202+
{
203+
"desc": "Kubeflow Pipelines",
204+
"link": "/pipeline/#/pipelines",
205+
"text": "Upload a Pipeline"
206+
},
207+
{
208+
"desc": "Pipelines",
209+
"link": "/pipeline/#/runs",
210+
"text": "View Pipeline Runs"
211+
}
212+
]
213+
}
214+
settings: |-
215+
{
216+
"DASHBOARD_FORCE_IFRAME": true
217+
}
218+
kind: ConfigMap
219+
metadata:
220+
labels:
221+
app: dashboard
222+
app.kubernetes.io/component: dashboard
223+
app.kubernetes.io/name: dashboard
224+
kustomize.component: dashboard
225+
name: dashboard-config
226+
namespace: kubeflow
227+
---
228+
apiVersion: v1
229+
data:
230+
CD_CLUSTER_DOMAIN: cluster.local
231+
CD_COLLECT_METRICS: "true"
232+
CD_REGISTRATION_FLOW: "false"
233+
CD_USERID_HEADER: kubeflow-userid
234+
CD_USERID_PREFIX: ""
235+
kind: ConfigMap
236+
metadata:
237+
labels:
238+
app: dashboard
239+
app.kubernetes.io/component: dashboard
240+
app.kubernetes.io/name: dashboard
241+
kustomize.component: dashboard
242+
name: dashboard-parameters
243+
namespace: kubeflow
244+
---
245+
apiVersion: v1
246+
kind: Service
247+
metadata:
248+
labels:
249+
app: dashboard
250+
app.kubernetes.io/component: dashboard
251+
app.kubernetes.io/name: dashboard
252+
kustomize.component: dashboard
253+
name: dashboard
254+
namespace: kubeflow
255+
spec:
256+
ports:
257+
- port: 80
258+
protocol: TCP
259+
targetPort: 8082
260+
selector:
261+
app: dashboard
262+
app.kubernetes.io/component: dashboard
263+
app.kubernetes.io/name: dashboard
264+
kustomize.component: dashboard
265+
sessionAffinity: None
266+
type: ClusterIP
267+
---
268+
apiVersion: apps/v1
269+
kind: Deployment
270+
metadata:
271+
labels:
272+
app: dashboard
273+
app.kubernetes.io/component: dashboard
274+
app.kubernetes.io/name: dashboard
275+
kustomize.component: dashboard
276+
name: dashboard
277+
namespace: kubeflow
278+
spec:
279+
replicas: 1
280+
selector:
281+
matchLabels:
282+
app: dashboard
283+
app.kubernetes.io/component: dashboard
284+
app.kubernetes.io/name: dashboard
285+
kustomize.component: dashboard
286+
template:
287+
metadata:
288+
labels:
289+
app: dashboard
290+
app.kubernetes.io/component: dashboard
291+
app.kubernetes.io/name: dashboard
292+
kustomize.component: dashboard
293+
sidecar.istio.io/inject: "true"
294+
spec:
295+
containers:
296+
- env:
297+
- name: USERID_HEADER
298+
value: kubeflow-userid
299+
- name: USERID_PREFIX
300+
value: ""
301+
- name: PROFILES_KFAM_SERVICE_HOST
302+
value: profiles-kfam.kubeflow
303+
- name: REGISTRATION_FLOW
304+
value: "false"
305+
- name: DASHBOARD_CONFIGMAP
306+
value: dashboard-config
307+
- name: LOGOUT_URL
308+
value: /oauth2/sign_out
309+
- name: POD_NAMESPACE
310+
valueFrom:
311+
fieldRef:
312+
fieldPath: metadata.namespace
313+
- name: COLLECT_METRICS
314+
value: CD_COLLECT_METRICS
315+
image: ghcr.io/kubeflow/dashboard/dashboard:latest
316+
imagePullPolicy: IfNotPresent
317+
livenessProbe:
318+
httpGet:
319+
path: /healthz
320+
port: 8082
321+
initialDelaySeconds: 30
322+
periodSeconds: 30
323+
name: dashboard
324+
ports:
325+
- containerPort: 8082
326+
protocol: TCP
327+
securityContext:
328+
allowPrivilegeEscalation: false
329+
capabilities:
330+
drop:
331+
- ALL
332+
runAsNonRoot: true
333+
runAsUser: 1000
334+
seccompProfile:
335+
type: RuntimeDefault
336+
serviceAccountName: dashboard
337+
---
338+
apiVersion: networking.k8s.io/v1
339+
kind: NetworkPolicy
340+
metadata:
341+
labels:
342+
app: dashboard
343+
app.kubernetes.io/component: dashboard
344+
app.kubernetes.io/name: dashboard
345+
kustomize.component: dashboard
346+
name: dashboard
347+
namespace: kubeflow
348+
spec:
349+
ingress:
350+
- from:
351+
- namespaceSelector:
352+
matchExpressions:
353+
- key: kubernetes.io/metadata.name
354+
operator: In
355+
values:
356+
- istio-system
357+
- podSelector: {}
358+
podSelector:
359+
matchExpressions:
360+
- key: app
361+
operator: In
362+
values:
363+
- dashboard
364+
policyTypes:
365+
- Ingress

0 commit comments

Comments
 (0)