update kubeflow dip-catalog
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: cluster-role-binding
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: cluster-role
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: service-account
|
||||
@@ -0,0 +1,114 @@
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: cluster-role
|
||||
rules:
|
||||
- apiGroups:
|
||||
- authorization.k8s.io
|
||||
resources:
|
||||
- subjectaccessreviews
|
||||
verbs:
|
||||
- create
|
||||
- apiGroups:
|
||||
- kubeflow.org
|
||||
resources:
|
||||
- notebooks
|
||||
- notebooks/finalizers
|
||||
- poddefaults
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- create
|
||||
- delete
|
||||
- patch
|
||||
- update
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- persistentvolumeclaims
|
||||
verbs:
|
||||
- create
|
||||
- delete
|
||||
- get
|
||||
- list
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- events
|
||||
- nodes
|
||||
verbs:
|
||||
- list
|
||||
- apiGroups:
|
||||
- storage.k8s.io
|
||||
resources:
|
||||
- storageclasses
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- pods
|
||||
- pods/log
|
||||
verbs:
|
||||
- list
|
||||
- get
|
||||
|
||||
---
|
||||
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: kubeflow-notebook-ui-admin
|
||||
labels:
|
||||
rbac.authorization.kubeflow.org/aggregate-to-kubeflow-admin: "true"
|
||||
rules: []
|
||||
|
||||
---
|
||||
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: kubeflow-notebook-ui-edit
|
||||
labels:
|
||||
rbac.authorization.kubeflow.org/aggregate-to-kubeflow-edit: "true"
|
||||
rules:
|
||||
- apiGroups:
|
||||
- kubeflow.org
|
||||
resources:
|
||||
- notebooks
|
||||
- notebooks/finalizers
|
||||
- poddefaults
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- create
|
||||
- delete
|
||||
|
||||
---
|
||||
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: kubeflow-notebook-ui-view
|
||||
labels:
|
||||
rbac.authorization.kubeflow.org/aggregate-to-kubeflow-view: "true"
|
||||
rules:
|
||||
- apiGroups:
|
||||
- kubeflow.org
|
||||
resources:
|
||||
- notebooks
|
||||
- notebooks/finalizers
|
||||
- poddefaults
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- apiGroups:
|
||||
- storage.k8s.io
|
||||
resources:
|
||||
- storageclasses
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
+191
@@ -0,0 +1,191 @@
|
||||
apiVersion: v1
|
||||
data:
|
||||
jupyter-icon.svg: |
|
||||
<svg width="44" height="51" viewBox="0 0 44 51" version="2.0" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:figma="http://www.figma.com/figma/ns">
|
||||
<desc>Created using Figma 0.90</desc>
|
||||
<g id="Canvas" transform="translate(-1640 -2453)" figma:type="canvas">
|
||||
<g id="Group" style="mix-blend-mode:normal;" figma:type="group">
|
||||
<g id="Group" style="mix-blend-mode:normal;" figma:type="group">
|
||||
<g id="Group" style="mix-blend-mode:normal;" figma:type="group">
|
||||
<g id="g" style="mix-blend-mode:normal;" figma:type="group">
|
||||
<g id="path" style="mix-blend-mode:normal;" figma:type="group">
|
||||
<g id="path9 fill" style="mix-blend-mode:normal;" figma:type="vector">
|
||||
<use xlink:href="#path0_fill" transform="translate(1640.54 2474.36)" fill="#4E4E4E" style="mix-blend-mode:normal;"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="path" style="mix-blend-mode:normal;" figma:type="group">
|
||||
<g id="path10 fill" style="mix-blend-mode:normal;" figma:type="vector">
|
||||
<use xlink:href="#path1_fill" transform="translate(1645.68 2474.37)" fill="#4E4E4E" style="mix-blend-mode:normal;"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="path" style="mix-blend-mode:normal;" figma:type="group">
|
||||
<g id="path11 fill" style="mix-blend-mode:normal;" figma:type="vector">
|
||||
<use xlink:href="#path2_fill" transform="translate(1653.39 2474.26)" fill="#4E4E4E" style="mix-blend-mode:normal;"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="path" style="mix-blend-mode:normal;" figma:type="group">
|
||||
<g id="path12 fill" style="mix-blend-mode:normal;" figma:type="vector">
|
||||
<use xlink:href="#path3_fill" transform="translate(1660.43 2474.39)" fill="#4E4E4E" style="mix-blend-mode:normal;"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="path" style="mix-blend-mode:normal;" figma:type="group">
|
||||
<g id="path13 fill" style="mix-blend-mode:normal;" figma:type="vector">
|
||||
<use xlink:href="#path4_fill" transform="translate(1667.55 2472.54)" fill="#4E4E4E" style="mix-blend-mode:normal;"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="path" style="mix-blend-mode:normal;" figma:type="group">
|
||||
<g id="path14 fill" style="mix-blend-mode:normal;" figma:type="vector">
|
||||
<use xlink:href="#path5_fill" transform="translate(1672.47 2474.29)" fill="#4E4E4E" style="mix-blend-mode:normal;"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="path" style="mix-blend-mode:normal;" figma:type="group">
|
||||
<g id="path15 fill" style="mix-blend-mode:normal;" figma:type="vector">
|
||||
<use xlink:href="#path6_fill" transform="translate(1679.98 2474.24)" fill="#4E4E4E" style="mix-blend-mode:normal;"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="g" style="mix-blend-mode:normal;" figma:type="group">
|
||||
<g id="path" style="mix-blend-mode:normal;" figma:type="group">
|
||||
<g id="path16 fill" style="mix-blend-mode:normal;" figma:type="vector">
|
||||
<use xlink:href="#path7_fill" transform="translate(1673.48 2453.69)" fill="#767677" style="mix-blend-mode:normal;"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="path" style="mix-blend-mode:normal;" figma:type="group">
|
||||
<g id="path17 fill" style="mix-blend-mode:normal;" figma:type="vector">
|
||||
<use xlink:href="#path8_fill" transform="translate(1643.21 2484.27)" fill="#F37726" style="mix-blend-mode:normal;"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="path" style="mix-blend-mode:normal;" figma:type="group">
|
||||
<g id="path18 fill" style="mix-blend-mode:normal;" figma:type="vector">
|
||||
<use xlink:href="#path9_fill" transform="translate(1643.21 2457.88)" fill="#F37726" style="mix-blend-mode:normal;"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="path" style="mix-blend-mode:normal;" figma:type="group">
|
||||
<g id="path19 fill" style="mix-blend-mode:normal;" figma:type="vector">
|
||||
<use xlink:href="#path10_fill" transform="translate(1643.28 2496.09)" fill="#9E9E9E" style="mix-blend-mode:normal;"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="path" style="mix-blend-mode:normal;" figma:type="group">
|
||||
<g id="path20 fill" style="mix-blend-mode:normal;" figma:type="vector">
|
||||
<use xlink:href="#path11_fill" transform="translate(1641.87 2458.43)" fill="#616262" style="mix-blend-mode:normal;"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<defs>
|
||||
<path id="path0_fill" d="M 1.74498 5.47533C 1.74498 7.03335 1.62034 7.54082 1.29983 7.91474C 0.943119 8.23595 0.480024 8.41358 0 8.41331L 0.124642 9.3036C 0.86884 9.31366 1.59095 9.05078 2.15452 8.56466C 2.45775 8.19487 2.6834 7.76781 2.818 7.30893C 2.95261 6.85005 2.99341 6.36876 2.93798 5.89377L 2.93798 0L 1.74498 0L 1.74498 5.43972L 1.74498 5.47533Z"/>
|
||||
<path id="path1_fill" d="M 5.50204 4.76309C 5.50204 5.43081 5.50204 6.02731 5.55545 6.54368L 4.496 6.54368L 4.42478 5.48423C 4.20318 5.85909 3.88627 6.16858 3.50628 6.38125C 3.12628 6.59392 2.69675 6.70219 2.26135 6.69503C 1.22861 6.69503 0 6.13415 0 3.84608L 0 0.0445149L 1.193 0.0445149L 1.193 3.6057C 1.193 4.84322 1.57583 5.67119 2.65309 5.67119C 2.87472 5.67358 3.09459 5.63168 3.29982 5.54796C 3.50505 5.46424 3.69149 5.34039 3.84822 5.18366C 4.00494 5.02694 4.1288 4.84049 4.21252 4.63527C 4.29623 4.43004 4.33813 4.21016 4.33575 3.98853L 4.33575 0L 5.52874 0L 5.52874 4.72748L 5.50204 4.76309Z"/>
|
||||
<path id="path2_fill" d="M 0.0534178 2.27264C 0.0534178 1.44466 0.0534178 0.768036 0 0.153731L 1.06836 0.153731L 1.12177 1.2666C 1.3598 0.864535 1.70247 0.534594 2.11325 0.311954C 2.52404 0.0893145 2.98754 -0.0176786 3.45435 0.00238095C 5.03908 0.00238095 6.23208 1.32892 6.23208 3.30538C 6.23208 5.63796 4.7987 6.79535 3.24958 6.79535C 2.85309 6.81304 2.45874 6.7281 2.10469 6.54874C 1.75064 6.36937 1.44888 6.10166 1.22861 5.77151L 1.22861 5.77151L 1.22861 9.33269L 0.0534178 9.33269L 0.0534178 2.29935L 0.0534178 2.27264ZM 1.22861 4.00872C 1.23184 4.17026 1.24972 4.33117 1.28203 4.48948C 1.38304 4.88479 1.61299 5.23513 1.93548 5.48506C 2.25798 5.735 2.65461 5.87026 3.06262 5.86944C 4.31794 5.86944 5.05689 4.8456 5.05689 3.3588C 5.05689 2.05897 4.36246 0.946096 3.10714 0.946096C 2.61036 0.986777 2.14548 1.20726 1.79965 1.5662C 1.45382 1.92514 1.25079 2.3979 1.22861 2.89585L 1.22861 4.00872Z"/>
|
||||
<path id="path3_fill" d="M 1.31764 0.0178059L 2.75102 3.85499C 2.90237 4.28233 3.06262 4.7987 3.16946 5.18153C 3.2941 4.7898 3.42764 4.29123 3.5879 3.82828L 4.88773 0.0178059L 6.14305 0.0178059L 4.36246 4.64735C 3.47216 6.87309 2.92908 8.02158 2.11 8.71601C 1.69745 9.09283 1.19448 9.35658 0.649917 9.48166L 0.356119 8.48453C 0.736886 8.35942 1.09038 8.16304 1.39777 7.90584C 1.8321 7.55188 2.17678 7.10044 2.4038 6.5882C 2.45239 6.49949 2.48551 6.40314 2.50173 6.3033C 2.49161 6.19586 2.46457 6.0907 2.42161 5.9917L 0 0L 1.29983 0L 1.31764 0.0178059Z"/>
|
||||
<path id="path4_fill" d="M 2.19013 0L 2.19013 1.86962L 3.8995 1.86962L 3.8995 2.75992L 2.19013 2.75992L 2.19013 6.26769C 2.19013 7.06896 2.42161 7.53191 3.08043 7.53191C 3.31442 7.53574 3.54789 7.5088 3.77486 7.45179L 3.82828 8.34208C 3.48794 8.45999 3.12881 8.51431 2.76882 8.50234C 2.53042 8.51726 2.29161 8.48043 2.06878 8.39437C 1.84595 8.30831 1.64438 8.17506 1.47789 8.00377C 1.11525 7.51873 0.949826 6.91431 1.01494 6.31221L 1.01494 2.75102L 0 2.75102L 0 1.86072L 1.03274 1.86072L 1.03274 0.275992L 2.19013 0Z"/>
|
||||
<path id="path5_fill" d="M 1.17716 3.57899C 1.153 3.88093 1.19468 4.18451 1.29933 4.46876C 1.40398 4.75301 1.5691 5.01114 1.78329 5.22532C 1.99747 5.43951 2.2556 5.60463 2.53985 5.70928C 2.8241 5.81393 3.12768 5.85561 3.42962 5.83145C 4.04033 5.84511 4.64706 5.72983 5.21021 5.49313L 5.41498 6.38343C 4.72393 6.66809 3.98085 6.80458 3.23375 6.78406C 2.79821 6.81388 2.36138 6.74914 1.95322 6.59427C 1.54505 6.43941 1.17522 6.19809 0.869071 5.88688C 0.562928 5.57566 0.327723 5.2019 0.179591 4.79125C 0.0314584 4.38059 -0.0260962 3.94276 0.0108748 3.50777C 0.0108748 1.54912 1.17716 0 3.0824 0C 5.21911 0 5.75329 1.86962 5.75329 3.06262C 5.76471 3.24644 5.76471 3.43079 5.75329 3.61461L 1.15046 3.61461L 1.17716 3.57899ZM 4.66713 2.6887C 4.70149 2.45067 4.68443 2.20805 4.61709 1.97718C 4.54976 1.74631 4.43372 1.53255 4.2768 1.35031C 4.11987 1.16808 3.92571 1.0216 3.70739 0.920744C 3.48907 0.81989 3.25166 0.767006 3.01118 0.765656C 2.52201 0.801064 2.06371 1.01788 1.72609 1.37362C 1.38847 1.72935 1.19588 2.19835 1.18607 2.6887L 4.66713 2.6887Z"/>
|
||||
<path id="path6_fill" d="M 0.0534178 2.19228C 0.0534178 1.42663 0.0534178 0.767806 0 0.162404L 1.06836 0.162404L 1.06836 1.43553L 1.12177 1.43553C 1.23391 1.04259 1.4656 0.694314 1.78468 0.439049C 2.10376 0.183783 2.4944 0.034196 2.90237 0.0110538C 3.01466 -0.00368459 3.12839 -0.00368459 3.24068 0.0110538L 3.24068 1.12393C 3.10462 1.10817 2.9672 1.10817 2.83114 1.12393C 2.427 1.13958 2.04237 1.30182 1.7491 1.58035C 1.45583 1.85887 1.27398 2.23462 1.23751 2.63743C 1.20422 2.8196 1.18635 3.00425 1.1841 3.18941L 1.1841 6.65267L 0.00890297 6.65267L 0.00890297 2.20118L 0.0534178 2.19228Z"/>
|
||||
<path id="path7_fill" d="M 6.03059 2.83565C 6.06715 3.43376 5.92485 4.02921 5.6218 4.54615C 5.31875 5.0631 4.86869 5.47813 4.32893 5.73839C 3.78917 5.99864 3.18416 6.09233 2.59097 6.00753C 1.99778 5.92272 1.44326 5.66326 0.998048 5.26219C 0.552837 4.86113 0.23709 4.33661 0.0910307 3.75546C -0.0550287 3.17431 -0.0247891 2.56283 0.177897 1.99893C 0.380583 1.43503 0.746541 0.944221 1.22915 0.589037C 1.71176 0.233853 2.28918 0.0303686 2.88784 0.00450543C 3.28035 -0.0170932 3.67326 0.0391144 4.04396 0.169896C 4.41467 0.300677 4.75587 0.503453 5.04794 0.766561C 5.34 1.02967 5.57718 1.34792 5.74582 1.70301C 5.91446 2.0581 6.01124 2.44303 6.03059 2.83565L 6.03059 2.83565Z"/>
|
||||
<path id="path8_fill" d="M 18.6962 7.12238C 10.6836 7.12238 3.64131 4.24672 0 0C 1.41284 3.82041 3.96215 7.1163 7.30479 9.44404C 10.6474 11.7718 14.623 13.0196 18.6962 13.0196C 22.7695 13.0196 26.745 11.7718 30.0877 9.44404C 33.4303 7.1163 35.9796 3.82041 37.3925 4.0486e-13C 33.7601 4.24672 26.7445 7.12238 18.6962 7.12238Z"/>
|
||||
<path id="path9_fill" d="M 18.6962 5.89725C 26.7089 5.89725 33.7512 8.77291 37.3925 13.0196C 35.9796 9.19922 33.4303 5.90333 30.0877 3.57559C 26.745 1.24785 22.7695 4.0486e-13 18.6962 0C 14.623 4.0486e-13 10.6474 1.24785 7.30479 3.57559C 3.96215 5.90333 1.41284 9.19922 0 13.0196C 3.64131 8.76401 10.648 5.89725 18.6962 5.89725Z"/>
|
||||
<path id="path10_fill" d="M 7.59576 3.56656C 7.64276 4.31992 7.46442 5.07022 7.08347 5.72186C 6.70251 6.3735 6.13619 6.89698 5.45666 7.22561C 4.77713 7.55424 4.01515 7.67314 3.26781 7.56716C 2.52046 7.46117 1.82158 7.13511 1.26021 6.63051C 0.698839 6.12591 0.300394 5.46561 0.115637 4.73375C -0.0691191 4.00188 -0.0318219 3.23159 0.222777 2.52099C 0.477376 1.8104 0.93775 1.19169 1.54524 0.743685C 2.15274 0.295678 2.87985 0.0386595 3.63394 0.00537589C 4.12793 -0.0210471 4.62229 0.0501173 5.08878 0.214803C 5.55526 0.37949 5.98473 0.63447 6.35264 0.965179C 6.72055 1.29589 7.01971 1.69584 7.233 2.1422C 7.4463 2.58855 7.56957 3.07256 7.59576 3.56656L 7.59576 3.56656Z"/>
|
||||
<path id="path11_fill" d="M 2.25061 4.37943C 1.81886 4.39135 1.39322 4.27535 1.02722 4.04602C 0.661224 3.81668 0.371206 3.48424 0.193641 3.09052C 0.0160762 2.69679 -0.0411078 2.25935 0.0292804 1.83321C 0.0996686 1.40707 0.294486 1.01125 0.589233 0.695542C 0.883981 0.37983 1.2655 0.158316 1.68581 0.0588577C 2.10611 -0.0406005 2.54644 -0.0135622 2.95143 0.136572C 3.35641 0.286707 3.70796 0.553234 3.96186 0.902636C 4.21577 1.25204 4.3607 1.66872 4.37842 2.10027C 4.39529 2.6838 4.18131 3.25044 3.78293 3.67715C 3.38455 4.10387 2.83392 4.35623 2.25061 4.37943Z"/>
|
||||
</defs>
|
||||
</svg>
|
||||
jupyterlab-logo.svg: |
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="200" viewBox="0 0 1860.8 475">
|
||||
<g class="jp-icon2" fill="#4E4E4E" transform="translate(480.136401, 64.271493)">
|
||||
<g transform="translate(0.000000, 58.875566)">
|
||||
<g transform="translate(0.087603, 0.140294)">
|
||||
<path d="M-426.9,169.8c0,48.7-3.7,64.7-13.6,76.4c-10.8,10-25,15.5-39.7,15.5l3.7,29 c22.8,0.3,44.8-7.9,61.9-23.1c17.8-18.5,24-44.1,24-83.3V0H-427v170.1L-426.9,169.8L-426.9,169.8z"/>
|
||||
</g>
|
||||
</g>
|
||||
<g transform="translate(155.045296, 56.837104)">
|
||||
<g transform="translate(1.562453, 1.799842)">
|
||||
<path d="M-312,148c0,21,0,39.5,1.7,55.4h-31.8l-2.1-33.3h-0.8c-6.7,11.6-16.4,21.3-28,27.9 c-11.6,6.6-24.8,10-38.2,9.8c-31.4,0-69-17.7-69-89V0h36.4v112.7c0,38.7,11.6,64.7,44.6,64.7c10.3-0.2,20.4-3.5,28.9-9.4 c8.5-5.9,15.1-14.3,18.9-23.9c2.2-6.1,3.3-12.5,3.3-18.9V0.2h36.4V148H-312L-312,148z"/>
|
||||
</g>
|
||||
</g>
|
||||
<g transform="translate(390.013322, 53.479638)">
|
||||
<g transform="translate(1.706458, 0.231425)">
|
||||
<path d="M-478.6,71.4c0-26-0.8-47-1.7-66.7h32.7l1.7,34.8h0.8c7.1-12.5,17.5-22.8,30.1-29.7 c12.5-7,26.7-10.3,41-9.8c48.3,0,84.7,41.7,84.7,103.3c0,73.1-43.7,109.2-91,109.2c-12.1,0.5-24.2-2.2-35-7.8 c-10.8-5.6-19.9-13.9-26.6-24.2h-0.8V291h-36v-220L-478.6,71.4L-478.6,71.4z M-442.6,125.6c0.1,5.1,0.6,10.1,1.7,15.1 c3,12.3,9.9,23.3,19.8,31.1c9.9,7.8,22.1,12.1,34.7,12.1c38.5,0,60.7-31.9,60.7-78.5c0-40.7-21.1-75.6-59.5-75.6 c-12.9,0.4-25.3,5.1-35.3,13.4c-9.9,8.3-16.9,19.7-19.6,32.4c-1.5,4.9-2.3,10-2.5,15.1V125.6L-442.6,125.6L-442.6,125.6z"/>
|
||||
</g>
|
||||
</g>
|
||||
<g transform="translate(606.740726, 56.837104)">
|
||||
<g transform="translate(0.751226, 1.989299)">
|
||||
<path d="M-440.8,0l43.7,120.1c4.5,13.4,9.5,29.4,12.8,41.7h0.8c3.7-12.2,7.9-27.7,12.8-42.4 l39.7-119.2h38.5L-346.9,145c-26,69.7-43.7,105.4-68.6,127.2c-12.5,11.7-27.9,20-44.6,23.9l-9.1-31.1 c11.7-3.9,22.5-10.1,31.8-18.1c13.2-11.1,23.7-25.2,30.6-41.2c1.5-2.8,2.5-5.7,2.9-8.8c-0.3-3.3-1.2-6.6-2.5-9.7L-480.2,0.1 h39.7L-440.8,0L-440.8,0z"/>
|
||||
</g>
|
||||
</g>
|
||||
<g transform="translate(822.748104, 0.000000)">
|
||||
<g transform="translate(1.464050, 0.378914)">
|
||||
<path d="M-413.7,0v58.3h52v28.2h-52V196c0,25,7,39.5,27.3,39.5c7.1,0.1,14.2-0.7,21.1-2.5 l1.7,27.7c-10.3,3.7-21.3,5.4-32.2,5c-7.3,0.4-14.6-0.7-21.3-3.4c-6.8-2.7-12.9-6.8-17.9-12.1c-10.3-10.9-14.1-29-14.1-52.9 V86.5h-31V58.3h31V9.6L-413.7,0L-413.7,0z"/>
|
||||
</g>
|
||||
</g>
|
||||
<g transform="translate(974.433286, 53.479638)">
|
||||
<g transform="translate(0.990034, 0.610339)">
|
||||
<path d="M-445.8,113c0.8,50,32.2,70.6,68.6,70.6c19,0.6,37.9-3,55.3-10.5l6.2,26.4 c-20.9,8.9-43.5,13.1-66.2,12.6c-61.5,0-98.3-41.2-98.3-102.5C-480.2,48.2-444.7,0-386.5,0c65.2,0,82.7,58.3,82.7,95.7 c-0.1,5.8-0.5,11.5-1.2,17.2h-140.6H-445.8L-445.8,113z M-339.2,86.6c0.4-23.5-9.5-60.1-50.4-60.1 c-36.8,0-52.8,34.4-55.7,60.1H-339.2L-339.2,86.6L-339.2,86.6z"/>
|
||||
</g>
|
||||
</g>
|
||||
<g transform="translate(1201.961058, 53.479638)">
|
||||
<g transform="translate(1.179640, 0.705068)">
|
||||
<path d="M-478.6,68c0-23.9-0.4-44.5-1.7-63.4h31.8l1.2,39.9h1.7c9.1-27.3,31-44.5,55.3-44.5 c3.5-0.1,7,0.4,10.3,1.2v34.8c-4.1-0.9-8.2-1.3-12.4-1.2c-25.6,0-43.7,19.7-48.7,47.4c-1,5.7-1.6,11.5-1.7,17.2v108.3h-36V68 L-478.6,68z"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
<g class="jp-icon-warn0" fill="#F37726">
|
||||
<path d="M1352.3,326.2h37V28h-37V326.2z M1604.8,326.2c-2.5-13.9-3.4-31.1-3.4-48.7v-76 c0-40.7-15.1-83.1-77.3-83.1c-25.6,0-50,7.1-66.8,18.1l8.4,24.4c14.3-9.2,34-15.1,53-15.1c41.6,0,46.2,30.2,46.2,47v4.2 c-78.6-0.4-122.3,26.5-122.3,75.6c0,29.4,21,58.4,62.2,58.4c29,0,50.9-14.3,62.2-30.2h1.3l2.9,25.6H1604.8z M1565.7,257.7 c0,3.8-0.8,8-2.1,11.8c-5.9,17.2-22.7,34-49.2,34c-18.9,0-34.9-11.3-34.9-35.3c0-39.5,45.8-46.6,86.2-45.8V257.7z M1698.5,326.2 l1.7-33.6h1.3c15.1,26.9,38.7,38.2,68.1,38.2c45.4,0,91.2-36.1,91.2-108.8c0.4-61.7-35.3-103.7-85.7-103.7 c-32.8,0-56.3,14.7-69.3,37.4h-0.8V28h-36.6v245.7c0,18.1-0.8,38.6-1.7,52.5H1698.5z M1704.8,208.2c0-5.9,1.3-10.9,2.1-15.1 c7.6-28.1,31.1-45.4,56.3-45.4c39.5,0,60.5,34.9,60.5,75.6c0,46.6-23.1,78.1-61.8,78.1c-26.9,0-48.3-17.6-55.5-43.3 c-0.8-4.2-1.7-8.8-1.7-13.4V208.2z"/>
|
||||
</g>
|
||||
</svg>
|
||||
group-two-icon.svg: |-
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 13.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 14948) -->
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
width="14.35px" height="42.88px" viewBox="0 0 14.35 42.88" enable-background="new 0 0 14.35 42.88" xml:space="preserve">
|
||||
<g>
|
||||
<path d="M12.583,28.057v2.027H1.228c-0.016-0.508,0.066-0.996,0.246-1.465c0.289-0.773,0.752-1.535,1.389-2.285
|
||||
s1.557-1.617,2.76-2.602c1.867-1.531,3.129-2.744,3.785-3.639s0.984-1.74,0.984-2.537c0-0.836-0.299-1.541-0.896-2.115
|
||||
s-1.377-0.861-2.338-0.861c-1.016,0-1.828,0.305-2.438,0.914s-0.918,1.453-0.926,2.531l-2.168-0.223
|
||||
c0.148-1.617,0.707-2.85,1.676-3.697s2.27-1.271,3.902-1.271c1.648,0,2.953,0.457,3.914,1.371s1.441,2.047,1.441,3.398
|
||||
c0,0.688-0.141,1.363-0.422,2.027s-0.748,1.363-1.4,2.098s-1.736,1.742-3.252,3.023c-1.266,1.063-2.078,1.783-2.438,2.162
|
||||
s-0.656,0.76-0.891,1.143H12.583z"/>
|
||||
</g>
|
||||
</svg>
|
||||
group-two-logo.svg: |-
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 13.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 14948) -->
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
width="14.35px" height="42.88px" viewBox="0 0 14.35 42.88" enable-background="new 0 0 14.35 42.88" xml:space="preserve">
|
||||
<g>
|
||||
<path d="M12.583,28.057v2.027H1.228c-0.016-0.508,0.066-0.996,0.246-1.465c0.289-0.773,0.752-1.535,1.389-2.285
|
||||
s1.557-1.617,2.76-2.602c1.867-1.531,3.129-2.744,3.785-3.639s0.984-1.74,0.984-2.537c0-0.836-0.299-1.541-0.896-2.115
|
||||
s-1.377-0.861-2.338-0.861c-1.016,0-1.828,0.305-2.438,0.914s-0.918,1.453-0.926,2.531l-2.168-0.223
|
||||
c0.148-1.617,0.707-2.85,1.676-3.697s2.27-1.271,3.902-1.271c1.648,0,2.953,0.457,3.914,1.371s1.441,2.047,1.441,3.398
|
||||
c0,0.688-0.141,1.363-0.422,2.027s-0.748,1.363-1.4,2.098s-1.736,1.742-3.252,3.023c-1.266,1.063-2.078,1.783-2.438,2.162
|
||||
s-0.656,0.76-0.891,1.143H12.583z"/>
|
||||
</g>
|
||||
</svg>
|
||||
group-one-icon.svg: |-
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 13.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 14948) -->
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
width="14.35px" height="42.88px" viewBox="0 0 14.35 42.88" enable-background="new 0 0 14.35 42.88" xml:space="preserve">
|
||||
<g>
|
||||
<path d="M9.442,30.084H7.333V16.643c-0.508,0.484-1.174,0.969-1.998,1.453s-1.564,0.848-2.221,1.09v-2.039
|
||||
c1.18-0.555,2.211-1.227,3.094-2.016s1.508-1.555,1.875-2.297h1.359V30.084z"/>
|
||||
</g>
|
||||
</svg>
|
||||
group-one-logo.svg: |-
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 13.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 14948) -->
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
width="14.35px" height="42.88px" viewBox="0 0 14.35 42.88" enable-background="new 0 0 14.35 42.88" xml:space="preserve">
|
||||
<g>
|
||||
<path d="M9.442,30.084H7.333V16.643c-0.508,0.484-1.174,0.969-1.998,1.453s-1.564,0.848-2.221,1.09v-2.039
|
||||
c1.18-0.555,2.211-1.227,3.094-2.016s1.508-1.555,1.875-2.297h1.359V30.084z"/>
|
||||
</g>
|
||||
</svg>
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: logos
|
||||
+306
@@ -0,0 +1,306 @@
|
||||
# --------------------------------------------------------------
|
||||
# Configuration file for the Kubeflow Notebooks UI.
|
||||
#
|
||||
# About the `readOnly` configs:
|
||||
# - when `readOnly` is set to "true", the respective option
|
||||
# will be disabled for users and only set by the admin
|
||||
# - when 'readOnly' is missing, it defaults to 'false'
|
||||
# --------------------------------------------------------------
|
||||
|
||||
spawnerFormDefaults:
|
||||
################################################################
|
||||
# Container Images
|
||||
################################################################
|
||||
# if users can input custom images, or only select from dropdowns
|
||||
allowCustomImage: true
|
||||
|
||||
# if the registry of the container image is hidden from display
|
||||
hideRegistry: true
|
||||
|
||||
# if the tag of the container image is hidden from display
|
||||
hideTag: false
|
||||
|
||||
# configs for the ImagePullPolicy
|
||||
imagePullPolicy:
|
||||
readOnly: false
|
||||
|
||||
# the default ImagePullPolicy
|
||||
# (possible values: "Always", "IfNotPresent", "Never")
|
||||
value: IfNotPresent
|
||||
|
||||
################################################################
|
||||
# Jupyter-like Container Images
|
||||
#
|
||||
# NOTES:
|
||||
# - the `image` section is used for "Jupyter-like" apps whose
|
||||
# HTTP path is configured by the "NB_PREFIX" environment variable
|
||||
################################################################
|
||||
image:
|
||||
# the default container image
|
||||
value: kubeflownotebookswg/jupyter-scipy:latest
|
||||
|
||||
# the list of available container images in the dropdown
|
||||
options:
|
||||
- kubeflownotebookswg/jupyter-scipy:latest
|
||||
- kubeflownotebookswg/jupyter-pytorch-full:latest
|
||||
- kubeflownotebookswg/jupyter-pytorch-cuda-full:latest
|
||||
- kubeflownotebookswg/jupyter-tensorflow-full:latest
|
||||
- kubeflownotebookswg/jupyter-tensorflow-cuda-full:latest
|
||||
|
||||
################################################################
|
||||
# VSCode-like Container Images (Group 1)
|
||||
#
|
||||
# NOTES:
|
||||
# - the `imageGroupOne` section is used for "VSCode-like" apps that
|
||||
# expose themselves under the HTTP root path "/" and support path
|
||||
# rewriting without breaking
|
||||
# - the annotation `notebooks.kubeflow.org/http-rewrite-uri: "/"` is
|
||||
# set on Notebooks spawned by this group, to make Istio rewrite
|
||||
# the path of HTTP requests to the HTTP root
|
||||
################################################################
|
||||
imageGroupOne:
|
||||
# the default container image
|
||||
value: kubeflownotebookswg/codeserver-python:latest
|
||||
|
||||
# the list of available container images in the dropdown
|
||||
options:
|
||||
- kubeflownotebookswg/codeserver-python:latest
|
||||
|
||||
################################################################
|
||||
# RStudio-like Container Images (Group 2)
|
||||
#
|
||||
# NOTES:
|
||||
# - the `imageGroupTwo` section is used for "RStudio-like" apps whose
|
||||
# HTTP path is configured by the "X-RStudio-Root-Path" header
|
||||
# - the annotation `notebooks.kubeflow.org/http-rewrite-uri: "/"` is
|
||||
# set on Notebooks spawned by this group, to make Istio rewrite
|
||||
# the path of HTTP requests to the HTTP root
|
||||
# - the annotation `notebooks.kubeflow.org/http-headers-request-set` is
|
||||
# set on Notebooks spawned by this group, such that Istio injects the
|
||||
# "X-RStudio-Root-Path" header to all request
|
||||
################################################################
|
||||
imageGroupTwo:
|
||||
# the default container image
|
||||
value: kubeflownotebookswg/rstudio-tidyverse:latest
|
||||
|
||||
# the list of available container images in the dropdown
|
||||
options:
|
||||
- kubeflownotebookswg/rstudio-tidyverse:latest
|
||||
|
||||
################################################################
|
||||
# CPU Resources
|
||||
################################################################
|
||||
cpu:
|
||||
readOnly: false
|
||||
|
||||
# the default cpu request for the container
|
||||
value: "0.5"
|
||||
|
||||
# a factor by which to multiply the CPU request calculate the cpu limit
|
||||
# (to disable cpu limits, set as "none")
|
||||
limitFactor: "1.2"
|
||||
|
||||
################################################################
|
||||
# Memory Resources
|
||||
################################################################
|
||||
memory:
|
||||
readOnly: false
|
||||
|
||||
# the default memory request for the container
|
||||
value: "1.0Gi"
|
||||
|
||||
# a factor by which to multiply the memory request calculate the memory limit
|
||||
# (to disable memory limits, set as "none")
|
||||
limitFactor: "1.2"
|
||||
|
||||
################################################################
|
||||
# GPU/Device-Plugin Resources
|
||||
################################################################
|
||||
gpus:
|
||||
readOnly: false
|
||||
|
||||
# configs for gpu/device-plugin limits of the container
|
||||
# https://kubernetes.io/docs/tasks/manage-gpus/scheduling-gpus/#using-device-plugins
|
||||
value:
|
||||
# the `limitKey` of the default vendor
|
||||
# (to have no default, set as "")
|
||||
vendor: ""
|
||||
|
||||
# the list of available vendors in the dropdown
|
||||
# `limitsKey` - what will be set as the actual limit
|
||||
# `uiName` - what will be displayed in the dropdown UI
|
||||
vendors:
|
||||
- limitsKey: "nvidia.com/gpu"
|
||||
uiName: "NVIDIA"
|
||||
- limitsKey: "amd.com/gpu"
|
||||
uiName: "AMD"
|
||||
|
||||
# the default value of the limit
|
||||
# (possible values: "none", "1", "2", "4", "8")
|
||||
num: "none"
|
||||
|
||||
################################################################
|
||||
# Workspace Volumes
|
||||
################################################################
|
||||
workspaceVolume:
|
||||
readOnly: false
|
||||
|
||||
# the default workspace volume to be created and mounted
|
||||
# (to have no default, set `value: null`)
|
||||
value:
|
||||
mount: /home/jovyan
|
||||
|
||||
# pvc configs for creating new workspace volumes
|
||||
# https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#persistentvolumeclaim-v1-core
|
||||
newPvc:
|
||||
metadata:
|
||||
# "{notebook-name}" is replaced with the Notebook name
|
||||
name: "{notebook-name}-workspace"
|
||||
spec:
|
||||
#storageClassName: my-storage-class
|
||||
resources:
|
||||
requests:
|
||||
storage: 5Gi
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
|
||||
################################################################
|
||||
# Data Volumes
|
||||
################################################################
|
||||
dataVolumes:
|
||||
readOnly: false
|
||||
|
||||
# a list of additional data volumes to be created and/or mounted
|
||||
value: []
|
||||
#value:
|
||||
# - mount: /home/jovyan/datavol-1
|
||||
# newPvc:
|
||||
# metadata:
|
||||
# name: "{notebook-name}-datavol-1"
|
||||
# spec:
|
||||
# resources:
|
||||
# requests:
|
||||
# storage: 5Gi
|
||||
# accessModes:
|
||||
# - ReadWriteOnce
|
||||
#
|
||||
# - mount: /home/jovyan/datavol-1
|
||||
# existingSource:
|
||||
# persistentVolumeClaim:
|
||||
# claimName: "test-pvc"
|
||||
|
||||
################################################################
|
||||
# Affinity
|
||||
################################################################
|
||||
affinityConfig:
|
||||
readOnly: false
|
||||
|
||||
# the `configKey` of the default affinity config
|
||||
# (to have no default, set as "")
|
||||
# (if `readOnly`, the default `value` will be the only accessible option)
|
||||
value: ""
|
||||
|
||||
# the list of available affinity configs in the dropdown
|
||||
options: []
|
||||
#options:
|
||||
# - configKey: "dedicated_node_per_notebook"
|
||||
# displayName: "Dedicated Node Per Notebook"
|
||||
# affinity:
|
||||
# # Require a Node with label `lifecycle=kubeflow-notebook`
|
||||
# nodeAffinity:
|
||||
# requiredDuringSchedulingIgnoredDuringExecution:
|
||||
# nodeSelectorTerms:
|
||||
# - matchExpressions:
|
||||
# - key: "lifecycle"
|
||||
# operator: "In"
|
||||
# values:
|
||||
# - "kubeflow-notebook"
|
||||
#
|
||||
# # Require a Node WITHOUT an existing Pod having `notebook-name` label
|
||||
# podAntiAffinity:
|
||||
# requiredDuringSchedulingIgnoredDuringExecution:
|
||||
# - labelSelector:
|
||||
# matchExpressions:
|
||||
# - key: "notebook-name"
|
||||
# operator: "Exists"
|
||||
# topologyKey: "kubernetes.io/hostname"
|
||||
# # WARNING: `namespaceSelector` is Beta in 1.22 and Stable in 1.24,
|
||||
# # setting to {} is required for affinity to work across Namespaces
|
||||
# namespaceSelector: {}
|
||||
|
||||
################################################################
|
||||
# Tolerations
|
||||
################################################################
|
||||
tolerationGroup:
|
||||
readOnly: false
|
||||
|
||||
# the `groupKey` of the default toleration group
|
||||
# (to have no default, set as "")
|
||||
# (if `readOnly`, the default `value` will be the only accessible option)
|
||||
value: ""
|
||||
|
||||
# the list of available toleration groups in the dropdown
|
||||
options: []
|
||||
#options:
|
||||
# - groupKey: "group_1"
|
||||
# displayName: "4 CPU 8Gb Mem at ~$X.XXX USD per day"
|
||||
# tolerations:
|
||||
# - key: "dedicated"
|
||||
# operator: "Equal"
|
||||
# value: "kubeflow-c5.xlarge"
|
||||
# effect: "NoSchedule"
|
||||
#
|
||||
# - groupKey: "group_2"
|
||||
# displayName: "8 CPU 16Gb Mem at ~$X.XXX USD per day"
|
||||
# tolerations:
|
||||
# - key: "dedicated"
|
||||
# operator: "Equal"
|
||||
# value: "kubeflow-c5.2xlarge"
|
||||
# effect: "NoSchedule"
|
||||
#
|
||||
# - groupKey: "group_3"
|
||||
# displayName: "16 CPU 32Gb Mem at ~$X.XXX USD per day"
|
||||
# tolerations:
|
||||
# - key: "dedicated"
|
||||
# operator: "Equal"
|
||||
# value: "kubeflow-c5.4xlarge"
|
||||
# effect: "NoSchedule"
|
||||
#
|
||||
# - groupKey: "group_4"
|
||||
# displayName: "32 CPU 256Gb Mem at ~$X.XXX USD per day"
|
||||
# tolerations:
|
||||
# - key: "dedicated"
|
||||
# operator: "Equal"
|
||||
# value: "kubeflow-r5.8xlarge"
|
||||
# effect: "NoSchedule"
|
||||
|
||||
################################################################
|
||||
# Shared Memory
|
||||
################################################################
|
||||
shm:
|
||||
readOnly: false
|
||||
|
||||
# the default state of the "Enable Shared Memory" toggle
|
||||
value: true
|
||||
|
||||
################################################################
|
||||
# PodDefaults
|
||||
################################################################
|
||||
configurations:
|
||||
readOnly: false
|
||||
|
||||
# the list of PodDefault names that are selected by default
|
||||
# (take care to ensure these PodDefaults exist in Profile Namespaces)
|
||||
value: []
|
||||
#value:
|
||||
# - my-pod-default
|
||||
|
||||
################################################################
|
||||
# Environment
|
||||
#
|
||||
# NOTE:
|
||||
# - these configs are only used by the ROK "flavor" of the UI
|
||||
################################################################
|
||||
environment:
|
||||
readOnly: false
|
||||
value: {}
|
||||
@@ -0,0 +1,37 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: deployment
|
||||
spec:
|
||||
replicas: 1
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: jupyter-web-app
|
||||
image: docker.io/kubeflownotebookswg/jupyter-web-app
|
||||
ports:
|
||||
- containerPort: 5000
|
||||
volumeMounts:
|
||||
- mountPath: /etc/config
|
||||
name: config-volume
|
||||
- mountPath: /src/apps/default/static/assets/logos
|
||||
name: logos-volume
|
||||
env:
|
||||
- name: APP_PREFIX
|
||||
value: $(JWA_PREFIX)
|
||||
- name: UI
|
||||
value: $(JWA_UI)
|
||||
- name: USERID_HEADER
|
||||
value: $(JWA_USERID_HEADER)
|
||||
- name: USERID_PREFIX
|
||||
value: $(JWA_USERID_PREFIX)
|
||||
- name: APP_SECURE_COOKIES
|
||||
value: $(JWA_APP_SECURE_COOKIES)
|
||||
serviceAccountName: service-account
|
||||
volumes:
|
||||
- configMap:
|
||||
name: config
|
||||
name: config-volume
|
||||
- configMap:
|
||||
name: jupyter-web-app-logos
|
||||
name: logos-volume
|
||||
@@ -0,0 +1,85 @@
|
||||
# TODO(https://github.com/kubeflow/manifests/issues/774):
|
||||
# This is a legacy package. Hopefully we can get rid of it once
|
||||
# 774 is complete.
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
# TODO(jlewi): We can't depend on base because of the deployment_patch.
|
||||
# but maybe if we changed that to use ConfigMapRef then the patch would correctly
|
||||
# override the patch applied in base_v3
|
||||
resources:
|
||||
- cluster-role-binding.yaml
|
||||
- cluster-role.yaml
|
||||
- deployment.yaml
|
||||
- role-binding.yaml
|
||||
- role.yaml
|
||||
- service-account.yaml
|
||||
- service.yaml
|
||||
- configs/logos-configmap.yaml
|
||||
namePrefix: jupyter-web-app-
|
||||
namespace: kubeflow
|
||||
commonLabels:
|
||||
app: jupyter-web-app
|
||||
kustomize.component: jupyter-web-app
|
||||
images:
|
||||
- name: docker.io/kubeflownotebookswg/jupyter-web-app
|
||||
newName: docker.io/kubeflownotebookswg/jupyter-web-app
|
||||
newTag: v1.9.0
|
||||
# We need the name to be unique without the suffix because the original name is what
|
||||
# gets used with patches
|
||||
configMapGenerator:
|
||||
- envs:
|
||||
- params.env
|
||||
name: parameters
|
||||
- files:
|
||||
- configs/spawner_ui_config.yaml
|
||||
name: config
|
||||
vars:
|
||||
- fieldref:
|
||||
fieldPath: data.JWA_CLUSTER_DOMAIN
|
||||
name: JWA_CLUSTER_DOMAIN
|
||||
objref:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: parameters
|
||||
- fieldref:
|
||||
fieldPath: metadata.namespace
|
||||
name: JWA_NAMESPACE
|
||||
objref:
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
name: service
|
||||
- fieldref:
|
||||
fieldPath: data.JWA_USERID_HEADER
|
||||
name: JWA_USERID_HEADER
|
||||
objref:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: parameters
|
||||
- fieldref:
|
||||
fieldPath: data.JWA_USERID_PREFIX
|
||||
name: JWA_USERID_PREFIX
|
||||
objref:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: parameters
|
||||
- fieldref:
|
||||
fieldPath: data.JWA_UI
|
||||
name: JWA_UI
|
||||
objref:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: parameters
|
||||
- fieldref:
|
||||
fieldPath: data.JWA_PREFIX
|
||||
name: JWA_PREFIX
|
||||
objref:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: parameters
|
||||
- name: JWA_APP_SECURE_COOKIES
|
||||
fieldref:
|
||||
fieldPath: data.JWA_APP_SECURE_COOKIES
|
||||
objref:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
name: parameters
|
||||
@@ -0,0 +1,6 @@
|
||||
JWA_UI=default
|
||||
JWA_PREFIX=/jupyter
|
||||
JWA_CLUSTER_DOMAIN=cluster.local
|
||||
JWA_USERID_HEADER=kubeflow-userid
|
||||
JWA_USERID_PREFIX=
|
||||
JWA_APP_SECURE_COOKIES=true
|
||||
@@ -0,0 +1,11 @@
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: RoleBinding
|
||||
metadata:
|
||||
name: jupyter-notebook-role-binding
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: Role
|
||||
name: jupyter-notebook-role
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: jupyter-notebook
|
||||
@@ -0,0 +1,48 @@
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: Role
|
||||
metadata:
|
||||
name: jupyter-notebook-role
|
||||
rules:
|
||||
- apiGroups:
|
||||
- authorization.k8s.io
|
||||
resources:
|
||||
- subjectaccessreviews
|
||||
verbs:
|
||||
- create
|
||||
- apiGroups:
|
||||
- kubeflow.org
|
||||
resources:
|
||||
- notebooks
|
||||
- notebooks/finalizers
|
||||
- poddefaults
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- create
|
||||
- delete
|
||||
- patch
|
||||
- update
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- persistentvolumeclaims
|
||||
verbs:
|
||||
- create
|
||||
- delete
|
||||
- get
|
||||
- list
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- events
|
||||
- nodes
|
||||
verbs:
|
||||
- list
|
||||
- apiGroups:
|
||||
- storage.k8s.io
|
||||
resources:
|
||||
- storageclasses
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
@@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: service-account
|
||||
@@ -0,0 +1,13 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
run: jupyter-web-app
|
||||
name: service
|
||||
spec:
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
protocol: TCP
|
||||
targetPort: 5000
|
||||
type: ClusterIP
|
||||
Reference in New Issue
Block a user