Advertisement
Guest User

Untitled

a guest
May 22nd, 2019
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.08 KB | None | 0 0
  1. {
  2. "kind": "Pod",
  3. "apiVersion": "v1",
  4. "metadata": {
  5. "name": "linux-octopus-image-ssh-fpv80",
  6. "namespace": "default",
  7. "selfLink": "/api/v1/namespaces/default/pods/linux-octopus-image-ssh-fpv80",
  8. "uid": "c1e40145-7cc9-11e9-84a5-ba0a808578be",
  9. "resourceVersion": "2682629",
  10. "creationTimestamp": "2019-05-22T19:42:39Z",
  11. "labels": {
  12. "app": "jenkins-agent"
  13. }
  14. },
  15. "spec": {
  16. "volumes": [
  17. {
  18. "name": "default-token-bc7hz",
  19. "secret": {
  20. "secretName": "<token>",
  21. "defaultMode": 420
  22. }
  23. }
  24. ],
  25. "containers": [
  26. {
  27. "name": "linux-octopus-image-ssh-fpv80",
  28. "image": "<image>",
  29. "ports": [
  30. {
  31. "containerPort": 22,
  32. "protocol": "TCP"
  33. }
  34. ],
  35. "env": [
  36. {
  37. "name": "JENKINS_SLAVE_SSH_PUBKEY",
  38. "value": "<pubkey>"
  39. },
  40. {
  41. "name": "JAVA_TOOL_OPTIONS",
  42. "value": "-XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -XX:+UseParallelGC -Xmx128m"
  43. },
  44. {
  45. "name": "KUBERNETES_PORT_443_TCP_ADDR",
  46. "value": "<kube_host>"
  47. },
  48. {
  49. "name": "KUBERNETES_PORT",
  50. "value": "<kube_host>"
  51. },
  52. {
  53. "name": "KUBERNETES_PORT_443_TCP",
  54. "value": "<kube_host>"
  55. },
  56. {
  57. "name": "KUBERNETES_SERVICE_HOST",
  58. "value": "<kube_host>"
  59. }
  60. ],
  61. "resources": {
  62. "requests": {
  63. "cpu": "1200m",
  64. "memory": "8Gi"
  65. }
  66. },
  67. "volumeMounts": [
  68. {
  69. "name": "<token>",
  70. "readOnly": true,
  71. "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount"
  72. }
  73. ],
  74. "terminationMessagePath": "/dev/termination-log",
  75. "terminationMessagePolicy": "File",
  76. "imagePullPolicy": "Always",
  77. "securityContext": {
  78. "privileged": false,
  79. "procMount": "Default"
  80. }
  81. }
  82. ],
  83. "restartPolicy": "Never",
  84. "terminationGracePeriodSeconds": 30,
  85. "dnsPolicy": "ClusterFirst",
  86. "serviceAccountName": "default",
  87. "serviceAccount": "default",
  88. "nodeName": "aks-agentpool-19896651-0",
  89. "securityContext": {},
  90. "schedulerName": "default-scheduler",
  91. "tolerations": [
  92. {
  93. "key": "node.kubernetes.io/not-ready",
  94. "operator": "Exists",
  95. "effect": "NoExecute",
  96. "tolerationSeconds": 300
  97. },
  98. {
  99. "key": "node.kubernetes.io/unreachable",
  100. "operator": "Exists",
  101. "effect": "NoExecute",
  102. "tolerationSeconds": 300
  103. }
  104. ],
  105. "priority": 0,
  106. "enableServiceLinks": true
  107. },
  108. "status": {
  109. "phase": "Running",
  110. "conditions": [
  111. {
  112. "type": "Initialized",
  113. "status": "True",
  114. "lastProbeTime": null,
  115. "lastTransitionTime": "2019-05-22T19:42:39Z"
  116. },
  117. {
  118. "type": "Ready",
  119. "status": "True",
  120. "lastProbeTime": null,
  121. "lastTransitionTime": "2019-05-22T19:42:42Z"
  122. },
  123. {
  124. "type": "ContainersReady",
  125. "status": "True",
  126. "lastProbeTime": null,
  127. "lastTransitionTime": "2019-05-22T19:42:42Z"
  128. },
  129. {
  130. "type": "PodScheduled",
  131. "status": "True",
  132. "lastProbeTime": null,
  133. "lastTransitionTime": "2019-05-22T19:42:39Z"
  134. }
  135. ],
  136. "hostIP": "10.0.3.6",
  137. "podIP": "10.0.3.26",
  138. "startTime": "2019-05-22T19:42:39Z",
  139. "containerStatuses": [
  140. {
  141. "name": "linux-octopus-image-ssh-fpv80",
  142. "state": {
  143. "running": {
  144. "startedAt": "2019-05-22T19:42:42Z"
  145. }
  146. },
  147. "lastState": {},
  148. "ready": true,
  149. "restartCount": 0,
  150. "image": "<image>",
  151. "imageID": "<imageId>",
  152. "containerID": "<containerId>"
  153. }
  154. ],
  155. "qosClass": "Burstable"
  156. }
  157. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement