Advertisement
Guest User

Untitled

a guest
Dec 6th, 2016
442
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.65 KB | None | 0 0
  1. apiVersion: v1
  2. kind: Pod
  3. metadata:
  4. annotations:
  5. kubernetes.io/created-by: |
  6. {"kind":"SerializedReference","apiVersion":"v1","reference":{"kind":"ReplicationController","namespace":"default","name":"nicola-router-2","uid":"886b168f-bbc9-11e6-8ed5-005056a55a79","apiVersion":"v1","resourceVersion":"308533"}}
  7. openshift.io/deployment-config.latest-version: "2"
  8. openshift.io/deployment-config.name: nicola-router
  9. openshift.io/deployment.name: nicola-router-2
  10. openshift.io/scc: hostnetwork
  11. creationTimestamp: 2016-12-06T15:34:58Z
  12. generateName: nicola-router-2-
  13. labels:
  14. deployment: nicola-router-2
  15. deploymentconfig: nicola-router
  16. name: nicola-router
  17. subsystem: drm
  18. type: drm-router
  19. name: nicola-router-2-sdh79
  20. namespace: default
  21. resourceVersion: "308857"
  22. selfLink: /api/v1/namespaces/default/pods/nicola-router-2-sdh79
  23. uid: 8b49a176-bbc9-11e6-8ed5-005056a55a79
  24. spec:
  25. containers:
  26. - env:
  27. - name: DEFAULT_CERTIFICATE_DIR
  28. value: /etc/pki/tls/private
  29. - name: ROUTER_EXTERNAL_HOST_HOSTNAME
  30. - name: ROUTER_EXTERNAL_HOST_HTTPS_VSERVER
  31. - name: ROUTER_EXTERNAL_HOST_HTTP_VSERVER
  32. - name: ROUTER_EXTERNAL_HOST_INSECURE
  33. value: "false"
  34. - name: ROUTER_EXTERNAL_HOST_PARTITION_PATH
  35. - name: ROUTER_EXTERNAL_HOST_PASSWORD
  36. - name: ROUTER_EXTERNAL_HOST_PRIVKEY
  37. value: /etc/secret-volume/router.pem
  38. - name: ROUTER_EXTERNAL_HOST_USERNAME
  39. - name: ROUTER_SERVICE_HTTPS_PORT
  40. value: "443"
  41. - name: ROUTER_SERVICE_HTTP_PORT
  42. value: "33222"
  43. - name: ROUTER_SERVICE_NAME
  44. value: nicola-router
  45. - name: ROUTER_SERVICE_NAMESPACE
  46. value: default
  47. - name: ROUTER_SUBDOMAIN
  48. - name: STATS_PASSWORD
  49. value: n32cFWwzVT
  50. - name: STATS_PORT
  51. value: "1937"
  52. - name: STATS_USERNAME
  53. value: admin
  54. image: openshift/origin-haproxy-router:v1.3.1
  55. imagePullPolicy: IfNotPresent
  56. livenessProbe:
  57. failureThreshold: 3
  58. httpGet:
  59. host: localhost
  60. path: /healthz
  61. port: 1937
  62. scheme: HTTP
  63. initialDelaySeconds: 10
  64. periodSeconds: 10
  65. successThreshold: 1
  66. timeoutSeconds: 1
  67. name: router
  68. ports:
  69. - containerPort: 33222
  70. hostPort: 33222
  71. protocol: TCP
  72. - containerPort: 1937
  73. hostPort: 1937
  74. name: stats
  75. protocol: TCP
  76. readinessProbe:
  77. failureThreshold: 3
  78. httpGet:
  79. host: localhost
  80. path: /healthz
  81. port: 1937
  82. scheme: HTTP
  83. initialDelaySeconds: 10
  84. periodSeconds: 10
  85. successThreshold: 1
  86. timeoutSeconds: 1
  87. resources:
  88. requests:
  89. cpu: 100m
  90. memory: 256Mi
  91. securityContext:
  92. capabilities:
  93. drop:
  94. - KILL
  95. - MKNOD
  96. - SETGID
  97. - SETUID
  98. - SYS_CHROOT
  99. privileged: false
  100. runAsUser: 1000000000
  101. seLinuxOptions:
  102. level: s0:c1,c0
  103. terminationMessagePath: /dev/termination-log
  104. volumeMounts:
  105. - mountPath: /etc/pki/tls/private
  106. name: server-certificate
  107. readOnly: true
  108. - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
  109. name: router-token-r56yv
  110. readOnly: true
  111. dnsPolicy: ClusterFirst
  112. host: 10.1.1.17
  113. hostNetwork: true
  114. imagePullSecrets:
  115. - name: router-dockercfg-qu1xy
  116. nodeName: 10.1.1.17
  117. nodeSelector:
  118. ha-router: lb
  119. restartPolicy: Always
  120. securityContext:
  121. fsGroup: 1000000000
  122. seLinuxOptions:
  123. level: s0:c1,c0
  124. supplementalGroups:
  125. - 1000000000
  126. serviceAccount: router
  127. serviceAccountName: router
  128. terminationGracePeriodSeconds: 30
  129. volumes:
  130. - name: server-certificate
  131. secret:
  132. secretName: nicola-router-certs
  133. - name: router-token-r56yv
  134. secret:
  135. secretName: router-token-r56yv
  136. status:
  137. conditions:
  138. - lastProbeTime: null
  139. lastTransitionTime: 2016-12-06T15:34:58Z
  140. status: "True"
  141. type: Initialized
  142. - lastProbeTime: null
  143. lastTransitionTime: 2016-12-06T15:35:18Z
  144. status: "True"
  145. type: Ready
  146. - lastProbeTime: null
  147. lastTransitionTime: 2016-12-06T15:34:58Z
  148. status: "True"
  149. type: PodScheduled
  150. containerStatuses:
  151. - containerID: docker://d395aa76ac3c103b4ce1fb3c0fd57728954957b0e30d2e589e933faf93a9b213
  152. image: openshift/origin-haproxy-router:v1.3.1
  153. imageID: docker://sha256:760f28b9be63aba99d865e6766278cfee0b9aa5ad068eda7b4b969b40e997aee
  154. lastState: {}
  155. name: router
  156. ready: true
  157. restartCount: 0
  158. state:
  159. running:
  160. startedAt: 2016-12-06T15:35:01Z
  161. hostIP: 10.1.1.17
  162. phase: Running
  163. podIP: 10.1.1.17
  164. startTime: 2016-12-06T15:34:58Z
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement