-
Notifications
You must be signed in to change notification settings - Fork 10
/
jupyter_pod.yaml
85 lines (85 loc) · 2.4 KB
/
jupyter_pod.yaml
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
apiVersion: v1
kind: Pod
metadata:
creationTimestamp: 2018-03-01T23:22:03Z
labels:
app: jupyterhub
component: singleuser-server
heritage: jupyterhub
hub.jupyter.org/username: accounts_2Egoogle_2Ecom_3Ajlewi_40kubeflow_2Eorg
name: jlewi-jupyter-test-pod
namespace: kubeflow
spec:
containers:
- args:
- start-singleuser.sh
- --ip="0.0.0.0"
- --port=8888
- --allow-root
env:
- name: JUPYTERHUB_API_TOKEN
value: b92291038f7845eab2a051315e175e3b
- name: JPY_API_TOKEN
value: b92291038f7845eab2a051315e175e3b
- name: JUPYTERHUB_CLIENT_ID
value: user-accounts.google.com%3Ajlewi%40kubeflow.org
- name: JUPYTERHUB_HOST
- name: JUPYTERHUB_OAUTH_CALLBACK_URL
value: /user/accounts.google.com%[email protected]/oauth_callback
- name: JUPYTERHUB_USER
value: accounts.google.com:[email protected]
- name: JUPYTERHUB_API_URL
value: http://tf-hub-0:8081/hub/api
- name: JUPYTERHUB_BASE_URL
value: /
- name: JUPYTERHUB_SERVICE_PREFIX
value: /user/accounts.google.com%[email protected]/
- name: MEM_GUARANTEE
value: 1Gi
- name: CPU_GUARANTEE
value: 500m
image: gcr.io/kubeflow-images-staging/tensorflow-notebook-cpu:v20180301-pr317
imagePullPolicy: IfNotPresent
lifecycle: {}
name: notebook
ports:
- containerPort: 8888
name: notebook-port
protocol: TCP
resources:
requests:
cpu: 500m
memory: 1Gi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /mnt/github-issues-data
name: github-issues-data
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: no-api-access-please
readOnly: true
dnsPolicy: ClusterFirst
nodeName: gke-gpu-cluster-large-cpu-7e8d79a1-tt1w
restartPolicy: Always
schedulerName: default-scheduler
securityContext:
fsGroup: 0
runAsUser: 0
serviceAccount: default
serviceAccountName: default
terminationGracePeriodSeconds: 30
tolerations:
- effect: NoExecute
key: node.kubernetes.io/not-ready
operator: Exists
tolerationSeconds: 300
- effect: NoExecute
key: node.kubernetes.io/unreachable
operator: Exists
tolerationSeconds: 300
volumes:
- name: github-issues-data
persistentVolumeClaim:
claimName: github-issues-data
- emptyDir: {}
name: no-api-access-please