Guest User

Untitled

a guest
May 16th, 2019
14
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 13.97 KB | None | 0 0
  1. ➜  hub kubectl get pods -o yaml -n jhub
  2. apiVersion: v1
  3. items:
  4. - apiVersion: v1
  5.   kind: Pod
  6.   metadata:
  7.     annotations:
  8.       checksum/config-map: 43a5738571aeac60b0493d7df545ef6ea3c2bb586e4b5ebdb4056947129736ef
  9.       checksum/secret: c2e8dd654a3371ca7467f0d418dc0782f0b41d96fc829e4c9290bb600ff52e6a
  10.     creationTimestamp: "2019-05-16T14:15:50Z"
  11.     generateName: hub-776c457d95-
  12.     labels:
  13.       app: jupyterhub
  14.       component: hub
  15.       hub.jupyter.org/network-access-proxy-api: "true"
  16.       hub.jupyter.org/network-access-proxy-http: "true"
  17.       hub.jupyter.org/network-access-singleuser: "true"
  18.       pod-template-hash: "3327013851"
  19.       release: jhub
  20.     name: hub-776c457d95-sbtd9
  21.     namespace: jhub
  22.     ownerReferences:
  23.     - apiVersion: apps/v1
  24.       blockOwnerDeletion: true
  25.       controller: true
  26.       kind: ReplicaSet
  27.       name: hub-776c457d95
  28.       uid: 1ba77359-77e5-11e9-8d6d-022f0fb4bf78
  29.     resourceVersion: "3368768"
  30.     selfLink: /api/v1/namespaces/jhub/pods/hub-776c457d95-sbtd9
  31.     uid: 1ba83885-77e5-11e9-8d6d-022f0fb4bf78
  32.   spec:
  33.     affinity:
  34.       nodeAffinity:
  35.         preferredDuringSchedulingIgnoredDuringExecution:
  36.         - preference:
  37.             matchExpressions:
  38.             - key: hub.jupyter.org/node-purpose
  39.               operator: In
  40.               values:
  41.              - core
  42.           weight: 100
  43.     containers:
  44.     - command:
  45.      - jupyterhub
  46.       - --config
  47.       - /srv/jupyterhub_config.py
  48.       - --upgrade-db
  49.       env:
  50.       - name: PYTHONUNBUFFERED
  51.         value: "1"
  52.       - name: HELM_RELEASE_NAME
  53.         value: jhub
  54.       - name: POD_NAMESPACE
  55.         valueFrom:
  56.           fieldRef:
  57.             apiVersion: v1
  58.             fieldPath: metadata.namespace
  59.       - name: CONFIGPROXY_AUTH_TOKEN
  60.         valueFrom:
  61.           secretKeyRef:
  62.             key: proxy.token
  63.             name: hub-secret
  64.       image: jupyterhub/k8s-hub:0.8.0
  65.       imagePullPolicy: IfNotPresent
  66.       name: hub
  67.       ports:
  68.       - containerPort: 8081
  69.         name: hub
  70.         protocol: TCP
  71.       resources:
  72.         requests:
  73.           cpu: 200m
  74.           memory: 512Mi
  75.       terminationMessagePath: /dev/termination-log
  76.       terminationMessagePolicy: File
  77.       volumeMounts:
  78.       - mountPath: /etc/jupyterhub/config/
  79.         name: config
  80.       - mountPath: /etc/jupyterhub/secret/
  81.         name: secret
  82.       - mountPath: /srv/jupyterhub
  83.         name: hub-db-dir
  84.       - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
  85.         name: hub-token-j4v57
  86.         readOnly: true
  87.     dnsPolicy: ClusterFirst
  88.     nodeName: ****
  89.     priority: 0
  90.     restartPolicy: Always
  91.     schedulerName: default-scheduler
  92.     securityContext:
  93.       fsGroup: 1000
  94.       runAsUser: 1000
  95.     serviceAccount: hub
  96.     serviceAccountName: hub
  97.     terminationGracePeriodSeconds: 30
  98.     tolerations:
  99.     - effect: NoExecute
  100.       key: node.kubernetes.io/not-ready
  101.       operator: Exists
  102.       tolerationSeconds: 300
  103.     - effect: NoExecute
  104.       key: node.kubernetes.io/unreachable
  105.       operator: Exists
  106.       tolerationSeconds: 300
  107.     volumes:
  108.     - configMap:
  109.         defaultMode: 420
  110.         name: hub-config
  111.       name: config
  112.     - name: secret
  113.       secret:
  114.         defaultMode: 420
  115.         secretName: hub-secret
  116.     - name: hub-db-dir
  117.       persistentVolumeClaim:
  118.         claimName: hub-db-dir
  119.     - name: hub-token-j4v57
  120.       secret:
  121.         defaultMode: 420
  122.         secretName: hub-token-j4v57
  123.   status:
  124.     conditions:
  125.     - lastProbeTime: null
  126.       lastTransitionTime: "2019-05-16T14:15:50Z"
  127.       status: "True"
  128.       type: Initialized
  129.     - lastProbeTime: null
  130.       lastTransitionTime: "2019-05-16T14:16:00Z"
  131.       status: "True"
  132.       type: Ready
  133.     - lastProbeTime: null
  134.       lastTransitionTime: null
  135.       status: "True"
  136.       type: ContainersReady
  137.     - lastProbeTime: null
  138.       lastTransitionTime: "2019-05-16T14:15:50Z"
  139.       status: "True"
  140.       type: PodScheduled
  141.     containerStatuses:
  142.     - containerID: docker://15f1f460b50c9762bea8746d2b89a7171e604cd2c2ae89223fe88b44b273ef5d
  143.       image: jupyterhub/k8s-hub:0.8.0
  144.       imageID: docker-pullable://jupyterhub/k8s-hub@sha256:e40cfda4f305af1a2fdf759cd0dcda834944bef0095c8b5ecb7734d19f58b512
  145.       lastState: {}
  146.       name: hub
  147.       ready: true
  148.       restartCount: 0
  149.       state:
  150.         running:
  151.           startedAt: "2019-05-16T14:16:00Z"
  152.     hostIP: ****
  153.     phase: Running
  154.     podIP: ****
  155.     qosClass: Burstable
  156.     startTime: "2019-05-16T14:15:50Z"
  157. - apiVersion: v1
  158.   kind: Pod
  159.   metadata:
  160.     annotations:
  161.       hub.jupyter.org/username: may16_3
  162.     creationTimestamp: "2019-05-16T14:16:55Z"
  163.     labels:
  164.       app: jupyterhub
  165.       chart: jupyterhub-0.8.0
  166.       component: singleuser-server
  167.       heritage: jupyterhub
  168.       hub.jupyter.org/network-access-hub: "true"
  169.       release: jhub
  170.     name: jupyter-may16-5f3
  171.     namespace: jhub
  172.     resourceVersion: "3368970"
  173.     selfLink: /api/v1/namespaces/jhub/pods/jupyter-may16-5f3
  174.     uid: 420fc41c-77e5-11e9-8d6d-022f0fb4bf78
  175.   spec:
  176.     affinity:
  177.       nodeAffinity:
  178.         preferredDuringSchedulingIgnoredDuringExecution:
  179.         - preference:
  180.             matchExpressions:
  181.             - key: hub.jupyter.org/node-purpose
  182.               operator: In
  183.               values:
  184.              - user
  185.           weight: 100
  186.     automountServiceAccountToken: false
  187.     containers:
  188.     - args:
  189.      - jupyterhub-singleuser
  190.       - --ip="0.0.0.0"
  191.       - --port=8888
  192.       env:
  193.       - name: JUPYTERHUB_API_TOKEN
  194.         value: f70a4a4936404119ad5e5fc6f14b0eda
  195.       - name: JPY_API_TOKEN
  196.         value: f70a4a4936404119ad5e5fc6f14b0eda
  197.       - name: JUPYTERHUB_ADMIN_ACCESS
  198.         value: "1"
  199.       - name: JUPYTERHUB_CLIENT_ID
  200.         value: jupyterhub-user-may16_3
  201.       - name: JUPYTERHUB_HOST
  202.       - name: JUPYTERHUB_OAUTH_CALLBACK_URL
  203.         value: /user/may16_3/oauth_callback
  204.       - name: JUPYTERHUB_USER
  205.         value: may16_3
  206.       - name: JUPYTERHUB_API_URL
  207.         value: http://10.100.16.143:8081/hub/api
  208.       - name: JUPYTERHUB_BASE_URL
  209.         value: /
  210.       - name: JUPYTERHUB_SERVICE_PREFIX
  211.         value: /user/may16_3/
  212.       - name: MEM_GUARANTEE
  213.         value: "1073741824"
  214.       - name: JUPYTER_IMAGE_SPEC
  215.         value: jupyter/datascience-notebook:177037d09156
  216.       - name: JUPYTER_IMAGE
  217.         value: jupyter/datascience-notebook:177037d09156
  218.       image: jupyter/datascience-notebook:177037d09156
  219.       imagePullPolicy: IfNotPresent
  220.       lifecycle: {}
  221.       name: notebook
  222.       ports:
  223.       - containerPort: 8888
  224.         name: notebook-port
  225.         protocol: TCP
  226.       resources:
  227.         requests:
  228.           memory: "1073741824"
  229.       terminationMessagePath: /dev/termination-log
  230.       terminationMessagePolicy: File
  231.       volumeMounts:
  232.       - mountPath: /home/jovyan
  233.         name: volume-may16-5f3
  234.     dnsPolicy: ClusterFirst
  235.     initContainers:
  236.     - command:
  237.      - iptables
  238.       - -A
  239.       - OUTPUT
  240.       - -d
  241.       - 169.254.169.254
  242.       - -j
  243.       - DROP
  244.       image: jupyterhub/k8s-network-tools:0.8.0
  245.       imagePullPolicy: IfNotPresent
  246.       name: block-cloud-metadata
  247.       resources: {}
  248.       securityContext:
  249.         capabilities:
  250.           add:
  251.          - NET_ADMIN
  252.         privileged: true
  253.         runAsUser: 0
  254.       terminationMessagePath: /dev/termination-log
  255.       terminationMessagePolicy: File
  256.     nodeName: ****
  257.     priority: 0
  258.     restartPolicy: OnFailure
  259.     schedulerName: default-scheduler
  260.     securityContext:
  261.       fsGroup: 100
  262.       runAsUser: 1000
  263.     serviceAccount: default
  264.     serviceAccountName: default
  265.     terminationGracePeriodSeconds: 30
  266.     tolerations:
  267.     - effect: NoSchedule
  268.       key: hub.jupyter.org/dedicated
  269.       operator: Equal
  270.       value: user
  271.     - effect: NoSchedule
  272.       key: hub.jupyter.org_dedicated
  273.       operator: Equal
  274.       value: user
  275.     - effect: NoExecute
  276.       key: node.kubernetes.io/not-ready
  277.       operator: Exists
  278.       tolerationSeconds: 300
  279.     - effect: NoExecute
  280.       key: node.kubernetes.io/unreachable
  281.       operator: Exists
  282.       tolerationSeconds: 300
  283.     volumes:
  284.     - name: volume-may16-5f3
  285.       persistentVolumeClaim:
  286.         claimName: claim-may16-5f3
  287.   status:
  288.     conditions:
  289.     - lastProbeTime: null
  290.       lastTransitionTime: "2019-05-16T14:17:30Z"
  291.       status: "True"
  292.       type: Initialized
  293.     - lastProbeTime: null
  294.       lastTransitionTime: "2019-05-16T14:17:31Z"
  295.       status: "True"
  296.       type: Ready
  297.     - lastProbeTime: null
  298.       lastTransitionTime: null
  299.       status: "True"
  300.       type: ContainersReady
  301.     - lastProbeTime: null
  302.       lastTransitionTime: "2019-05-16T14:16:55Z"
  303.       status: "True"
  304.       type: PodScheduled
  305.     containerStatuses:
  306.     - containerID: docker://2fdb039f6de3cf17d39af74d7a45703236677ac16379fb23fdd50c9e8182171a
  307.       image: jupyter/datascience-notebook:177037d09156
  308.       imageID: docker-pullable://jupyter/datascience-notebook@sha256:ce3fb75e8f428430c1fc747212754f94f3b10f2649bf514d4f4f5a1461de900a
  309.       lastState: {}
  310.       name: notebook
  311.       ready: true
  312.       restartCount: 0
  313.       state:
  314.         running:
  315.           startedAt: "2019-05-16T14:17:31Z"
  316.     hostIP: ****
  317.     initContainerStatuses:
  318.     - containerID: docker://e4f37fcd3cde9d203ab42b4972b7ef23c75f2c1aff8ce441eff3198125af1257
  319.       image: jupyterhub/k8s-network-tools:0.8.0
  320.       imageID: docker-pullable://jupyterhub/k8s-network-tools@sha256:874a56b7208d9b0d96cf0a11c27ba29146c867b4fca892a5a31ed1b3627a8b44
  321.       lastState: {}
  322.       name: block-cloud-metadata
  323.       ready: true
  324.       restartCount: 0
  325.       state:
  326.         terminated:
  327.           containerID: docker://e4f37fcd3cde9d203ab42b4972b7ef23c75f2c1aff8ce441eff3198125af1257
  328.           exitCode: 0
  329.           finishedAt: "2019-05-16T14:17:30Z"
  330.           reason: Completed
  331.           startedAt: "2019-05-16T14:17:30Z"
  332.     phase: Running
  333.     podIP: ****
  334.     qosClass: Burstable
  335.     startTime: "2019-05-16T14:16:55Z"
  336. - apiVersion: v1
  337.   kind: Pod
  338.   metadata:
  339.     annotations:
  340.       checksum/hub-secret: 38630ed00c8f44119e452a125638a166b532155b4451f7cbf344852ca86bfc9d
  341.       checksum/proxy-secret: 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b
  342.     creationTimestamp: "2019-05-16T11:12:03Z"
  343.     generateName: proxy-cd549b885-
  344.     labels:
  345.       app: jupyterhub
  346.       component: proxy
  347.       hub.jupyter.org/network-access-hub: "true"
  348.       hub.jupyter.org/network-access-singleuser: "true"
  349.       pod-template-hash: "781056441"
  350.       release: jhub
  351.     name: proxy-cd549b885-95bbr
  352.     namespace: jhub
  353.     ownerReferences:
  354.     - apiVersion: apps/v1
  355.       blockOwnerDeletion: true
  356.       controller: true
  357.       kind: ReplicaSet
  358.       name: proxy-cd549b885
  359.       uid: 6f338241-77cb-11e9-8d6d-022f0fb4bf78
  360.     resourceVersion: "3347465"
  361.     selfLink: /api/v1/namespaces/jhub/pods/proxy-cd549b885-95bbr
  362.     uid: 6f348aa2-77cb-11e9-8d6d-022f0fb4bf78
  363.   spec:
  364.     affinity:
  365.       nodeAffinity:
  366.         preferredDuringSchedulingIgnoredDuringExecution:
  367.         - preference:
  368.             matchExpressions:
  369.             - key: hub.jupyter.org/node-purpose
  370.               operator: In
  371.               values:
  372.              - core
  373.           weight: 100
  374.     containers:
  375.     - command:
  376.      - configurable-http-proxy
  377.       - --ip=0.0.0.0
  378.       - --api-ip=0.0.0.0
  379.       - --api-port=8001
  380.       - --default-target=http://$(HUB_SERVICE_HOST):$(HUB_SERVICE_PORT)
  381.       - --error-target=http://$(HUB_SERVICE_HOST):$(HUB_SERVICE_PORT)/hub/error
  382.       - --port=8000
  383.       env:
  384.       - name: CONFIGPROXY_AUTH_TOKEN
  385.         valueFrom:
  386.           secretKeyRef:
  387.             key: proxy.token
  388.             name: hub-secret
  389.       image: jupyterhub/configurable-http-proxy:3.0.0
  390.       imagePullPolicy: IfNotPresent
  391.       name: chp
  392.       ports:
  393.       - containerPort: 8000
  394.         name: proxy-public
  395.         protocol: TCP
  396.       - containerPort: 8001
  397.         name: api
  398.         protocol: TCP
  399.       resources:
  400.         requests:
  401.           cpu: 200m
  402.           memory: 512Mi
  403.       terminationMessagePath: /dev/termination-log
  404.       terminationMessagePolicy: File
  405.       volumeMounts:
  406.       - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
  407.         name: default-token-ctzfh
  408.         readOnly: true
  409.     dnsPolicy: ClusterFirst
  410.     nodeName: ****
  411.     priority: 0
  412.     restartPolicy: Always
  413.     schedulerName: default-scheduler
  414.     securityContext: {}
  415.     serviceAccount: default
  416.     serviceAccountName: default
  417.     terminationGracePeriodSeconds: 60
  418.     tolerations:
  419.     - effect: NoExecute
  420.       key: node.kubernetes.io/not-ready
  421.       operator: Exists
  422.       tolerationSeconds: 300
  423.     - effect: NoExecute
  424.       key: node.kubernetes.io/unreachable
  425.       operator: Exists
  426.       tolerationSeconds: 300
  427.     volumes:
  428.     - name: default-token-ctzfh
  429.       secret:
  430.         defaultMode: 420
  431.         secretName: default-token-ctzfh
  432.   status:
  433.     conditions:
  434.     - lastProbeTime: null
  435.       lastTransitionTime: "2019-05-16T11:12:03Z"
  436.       status: "True"
  437.       type: Initialized
  438.     - lastProbeTime: null
  439.       lastTransitionTime: "2019-05-16T11:12:14Z"
  440.       status: "True"
  441.       type: Ready
  442.     - lastProbeTime: null
  443.       lastTransitionTime: null
  444.       status: "True"
  445.       type: ContainersReady
  446.     - lastProbeTime: null
  447.       lastTransitionTime: "2019-05-16T11:12:03Z"
  448.       status: "True"
  449.       type: PodScheduled
  450.     containerStatuses:
  451.     - containerID: docker://c53cb9c8d91eaa5554c71f8dc91b45665cd46f9bb3c6b55860e21a79364c1f1e
  452.       image: jupyterhub/configurable-http-proxy:3.0.0
  453.       imageID: docker-pullable://jupyterhub/configurable-http-proxy@sha256:c36cf3cc1c99f59348a8d6f5f64752df3eb4d88df93a11bc4e00acf23dbecfba
  454.       lastState: {}
  455.       name: chp
  456.       ready: true
  457.       restartCount: 0
  458.       state:
  459.         running:
  460.           startedAt: "2019-05-16T11:12:13Z"
  461.     hostIP: ****
  462.     phase: Running
  463.     podIP: ****
  464.     qosClass: Burstable
  465.     startTime: "2019-05-16T11:12:03Z"
  466. kind: List
  467. metadata:
  468.   resourceVersion: ""
  469.   selfLink: ""
Add Comment
Please, Sign In to add comment