Guest User

data

a guest
Apr 16th, 2020
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.84 KB | None | 0 0
  1. {
  2. "apiVersion": "v1",
  3. "kind": "Pod",
  4. "metadata": {
  5. "annotations": {
  6. "kubernetes.io/created-by": "{\"kind\":\"SerializedReference\",\"apiVersion\":\"v1\",\"reference\":{\"kind\":\"StatefulSet\",\"namespace\":\"prod\",\"name\":\"kafka\",\"uid\":\"0c0ccb88-9ee8-11e8-9257-001a4a160102\",\"apiVersion\":\"apps/v1beta1\",\"resourceVersion\":\"168225689\"}}\n",
  7. "openshift.io/scc": "anyuid"
  8. },
  9. "creationTimestamp": "2020-03-17T08:17:58Z",
  10. "generateName": "kafka-",
  11. "labels": {
  12. "app": "kafka",
  13. "controller-revision-hash": "kafka-1978119493"
  14. },
  15. "name": "kafka-0",
  16. "namespace": "prod",
  17. "ownerReferences": [
  18. {
  19. "apiVersion": "apps/v1beta1",
  20. "blockOwnerDeletion": true,
  21. "controller": true,
  22. "kind": "StatefulSet",
  23. "name": "kafka",
  24. "uid": "0c0ccb88-9ee8-11e8-9257-001a4a160102"
  25. }
  26. ],
  27. "resourceVersion": "168230648",
  28. "selfLink": "/api/v1/namespaces/prod/pods/kafka-0",
  29. "uid": "cfd3dd64-6827-11ea-a447-001a4a160102"
  30. },
  31. "spec": {
  32. "containers": [
  33. {
  34. "command": [
  35. "/opt/kafka/start-kafka-from-ss.sh"
  36. ],
  37. "env": [
  38. {
  39. "name": "TZ",
  40. "valueFrom": {
  41. "configMapKeyRef": {
  42. "key": "container.timezone",
  43. "name": "paa"
  44. }
  45. }
  46. },
  47. {
  48. "name": "MEMORY_LIMIT",
  49. "valueFrom": {
  50. "resourceFieldRef": {
  51. "divisor": "0",
  52. "resource": "limits.memory"
  53. }
  54. }
  55. },
  56. {
  57. "name": "ZK_REPLICAS",
  58. "valueFrom": {
  59. "configMapKeyRef": {
  60. "key": "zk.replicas",
  61. "name": "zookeeper-cm"
  62. }
  63. }
  64. },
  65. {
  66. "name": "KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR",
  67. "value": "3"
  68. },
  69. {
  70. "name": "KAFKA_LOG_RETENTION_HOURS",
  71. "value": "168"
  72. },
  73. {
  74. "name": "KAFKA_ZOOKEEPER_CONNECTION_TIMEOUT_MS",
  75. "value": "36000"
  76. },
  77. {
  78. "name": "KAFKA_LOG_RETENTION_BYTES",
  79. "value": "-1"
  80. }
  81. ],
  82. "image": "128.30.7.72:5000/prod/paa-platform-bigdata-kafka:0.11.0.2",
  83. "imagePullPolicy": "Always",
  84. "name": "kafka",
  85. "ports": [
  86. {
  87. "containerPort": 9092,
  88. "protocol": "TCP"
  89. },
  90. {
  91. "containerPort": 5556,
  92. "protocol": "TCP"
  93. }
  94. ],
  95. "resources": {
  96. "limits": {
  97. "cpu": "16",
  98. "memory": "16Gi"
  99. },
  100. "requests": {
  101. "cpu": "8",
  102. "memory": "8Gi"
  103. }
  104. },
  105. "securityContext": {
  106. "capabilities": {
  107. "drop": [
  108. "MKNOD"
  109. ]
  110. },
  111. "privileged": false,
  112. "seLinuxOptions": {
  113. "level": "s0:c10,c5"
  114. }
  115. },
  116. "terminationMessagePath": "/dev/termination-log",
  117. "terminationMessagePolicy": "File",
  118. "volumeMounts": [
  119. {
  120. "mountPath": "/opt/kafka/logs",
  121. "name": "filebeatlogs"
  122. },
  123. {
  124. "mountPath": "/opt/mycomosi/data/kafka",
  125. "name": "data-node-volume"
  126. },
  127. {
  128. "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
  129. "name": "nonrootsa-token-9kzjk",
  130. "readOnly": true
  131. }
  132. ]
  133. },
  134. {
  135. "image": "128.30.7.72:5000/prod/paa-platform-filebeat:1.5-paa-12",
  136. "imagePullPolicy": "IfNotPresent",
  137. "name": "filebeat",
  138. "resources": {
  139. "limits": {
  140. "cpu": "2",
  141. "memory": "256Mi"
  142. },
  143. "requests": {
  144. "cpu": "100m",
  145. "memory": "16Mi"
  146. }
  147. },
  148. "securityContext": {
  149. "capabilities": {
  150. "drop": [
  151. "MKNOD"
  152. ]
  153. },
  154. "privileged": false,
  155. "seLinuxOptions": {
  156. "level": "s0:c10,c5"
  157. }
  158. },
  159. "terminationMessagePath": "/dev/termination-log",
  160. "terminationMessagePolicy": "File",
  161. "volumeMounts": [
  162. {
  163. "mountPath": "/filebeatroot",
  164. "name": "filebeatlogs"
  165. },
  166. {
  167. "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
  168. "name": "nonrootsa-token-9kzjk",
  169. "readOnly": true
  170. }
  171. ]
  172. }
  173. ],
  174. "dnsPolicy": "ClusterFirst",
  175. "hostname": "kafka-0",
  176. "imagePullSecrets": [
  177. {
  178. "name": "nonrootsa-dockercfg-plbqv"
  179. }
  180. ],
  181. "nodeName": "prod10.alpha.com.sa",
  182. "nodeSelector": {
  183. "node": "true"
  184. },
  185. "restartPolicy": "Always",
  186. "schedulerName": "default-scheduler",
  187. "securityContext": {
  188. "fsGroup": 1000,
  189. "seLinuxOptions": {
  190. "level": "s0:c10,c5"
  191. }
  192. },
  193. "serviceAccount": "nonrootsa",
  194. "serviceAccountName": "nonrootsa",
  195. "subdomain": "kafka",
  196. "terminationGracePeriodSeconds": 30,
  197. "volumes": [
  198. {
  199. "name": "data-node-volume",
  200. "persistentVolumeClaim": {
  201. "claimName": "data-node-volume-kafka-0"
  202. }
  203. },
  204. {
  205. "emptyDir": {},
  206. "name": "filebeatlogs"
  207. },
  208. {
  209. "name": "nonrootsa-token-9kzjk",
  210. "secret": {
  211. "defaultMode": 420,
  212. "secretName": "nonrootsa-token-9kzjk"
  213. }
  214. }
  215. ]
  216. },
  217. "status": {
  218. "conditions": [
  219. {
  220. "lastProbeTime": null,
  221. "lastTransitionTime": "2020-03-17T08:17:58Z",
  222. "status": "True",
  223. "type": "Initialized"
  224. },
  225. {
  226. "lastProbeTime": null,
  227. "lastTransitionTime": "2020-03-17T08:18:06Z",
  228. "status": "True",
  229. "type": "Ready"
  230. },
  231. {
  232. "lastProbeTime": null,
  233. "lastTransitionTime": "2020-03-17T08:17:58Z",
  234. "status": "True",
  235. "type": "PodScheduled"
  236. }
  237. ],
  238. "containerStatuses": [
  239. {
  240. "containerID": "docker://411c1701b7132c0bcb89abc162ea8f02f182ef9f06160f25e152c4c238fe7d4f",
  241. "image": "128.30.7.72:5000/prod/paa-platform-filebeat:1.5-eaa-12",
  242. "imageID": "docker-pullable://128.30.7.72:5000/prod/paa-platform-filebeat@sha256:9246d8abf65ec33d43388edac5b8fac51bc3a9c3b6926829f8267a0568e68af8",
  243. "lastState": {},
  244. "name": "filebeat",
  245. "ready": true,
  246. "restartCount": 0,
  247. "state": {
  248. "running": {
  249. "startedAt": "2020-03-17T08:18:06Z"
  250. }
  251. }
  252. },
  253. {
  254. "containerID": "docker://87d22f48d76fca4017b317326de3482c9b91324c527af341bfb31294281a287d",
  255. "image": "128.30.7.72:5000/prod/paa-platform-bigdata-kafka:0.11.0.2",
  256. "imageID": "docker-pullable://128.30.7.72:5000/prod/eaa-platform-bigdata-kafka@sha256:802b01fcc87b5289f9721c9d5733ec41422db7b1d0ed1c321ce37d8a65c3cf26",
  257. "lastState": {},
  258. "name": "kafka",
  259. "ready": true,
  260. "restartCount": 0,
  261. "state": {
  262. "running": {
  263. "startedAt": "2020-03-17T08:18:05Z"
  264. }
  265. }
  266. }
  267. ],
  268. "hostIP": "10.21.231.13",
  269. "phase": "Running",
  270. "podIP": "128.16.21.144",
  271. "qosClass": "Burstable",
  272. "startTime": "2020-03-17T08:17:58Z"
  273. }
  274. }
Add Comment
Please, Sign In to add comment