-
Notifications
You must be signed in to change notification settings - Fork 1
/
Devfile-7.yml
60 lines (60 loc) · 1.72 KB
/
Devfile-7.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
apiVersion: 1.0.0
metadata:
generateName: polinsar-7-
attributes:
editorFree: "true"
components:
- endpoints:
- attributes:
type: ide
discoverable: "false"
path: /
public: "true"
protocol: http
name: jupyter
port: 3100
referenceContent: |
kind: List
items:
- apiVersion: v1
kind: Pod
metadata:
name: ws
labels:
name: ws
spec:
containers:
- name: jupyter
image: 'quay.io/is3mansour/maap-sar-intro:latest'
imagePullPolicy: IfNotPresent
envFrom:
- configMapRef:
name: maap-configmap
mountSources: true
resources:
requests:
memory: 10240Mi
limits:
memory: 10240Mi
securityContext:
privileged: true
volumeMounts:
- name: s3fs
mountPath: "/etc/s3fs"
readOnly: true
imagePullSecrets:
- name: secret-docker-bimaap
volumes:
- name: s3fs
secret:
secretName: s3-credential
type: kubernetes
volumes:
- name: projects
containerPath: /projects
alias: maap-jupyterlab
env:
- value: WS_JUPYTER
name: MACHINE_NAME
- value: /projects
name: JUPYTER_NOTEBOOK_DIR