Advertisement
Guest User

Untitled

a guest
Mar 30th, 2020
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.45 KB | None | 0 0
  1. [root@ag-bastion-server logging-infra]# oc -n openshift-logging describe pods elasticsearch-cdm-ow0umgcw-1-8567cfdc98-45625
  2. Name: elasticsearch-cdm-ow0umgcw-1-8567cfdc98-45625
  3. Namespace: openshift-logging
  4. Priority: 0
  5. PriorityClassName: <none>
  6. Node: log0.openshift.redacted.io/10.21.21.47
  7. Start Time: Mon, 30 Mar 2020 02:27:08 -0400
  8. Labels: cluster-name=elasticsearch
  9. component=elasticsearch
  10. es-node-client=true
  11. es-node-data=true
  12. es-node-master=true
  13. node-name=elasticsearch-cdm-ow0umgcw-1
  14. pod-template-hash=8567cfdc98
  15. tuned.openshift.io/elasticsearch=true
  16. Annotations: k8s.v1.cni.cncf.io/networks-status:
  17. [{
  18. "name": "openshift-sdn",
  19. "interface": "eth0",
  20. "ips": [
  21. "10.130.0.53"
  22. ],
  23. "default": true,
  24. "dns": {}
  25. }]
  26. openshift.io/scc: restricted
  27. Status: Running
  28. IP: 10.130.0.53
  29. Controlled By: ReplicaSet/elasticsearch-cdm-ow0umgcw-1-8567cfdc98
  30. Containers:
  31. elasticsearch:
  32. Container ID: cri-o://02246907da01df4119a01397c11686d4c664351551dd55c24fdc15dc9f7a3a1e
  33. Image: registry.redhat.io/openshift4/ose-logging-elasticsearch5@sha256:89fd15bfb36a07b9e990cf963f1c822f3d2620ee553e49e4d8911d995a553e53
  34. Image ID: registry.redhat.io/openshift4/ose-logging-elasticsearch5@sha256:89fd15bfb36a07b9e990cf963f1c822f3d2620ee553e49e4d8911d995a553e53
  35. Ports: 9300/TCP, 9200/TCP
  36. Host Ports: 0/TCP, 0/TCP
  37. State: Running
  38. Started: Mon, 30 Mar 2020 02:27:17 -0400
  39. Ready: True
  40. Restart Count: 0
  41. Limits:
  42. memory: 2Gi
  43. cpu: 200m
  44.  
  45. memory: 2Gi
  46. Readiness: exec [/usr/share/elasticsearch/probe/readiness.sh] delay=10s timeout=30s period=5s #success=1 #failure=3
  47. Environment:
  48. DC_NAME: elasticsearch-cdm-ow0umgcw-1
  49. NAMESPACE: openshift-logging (v1:metadata.namespace)
  50. KUBERNETES_TRUST_CERT: true
  51. SERVICE_DNS: elasticsearch-cluster
  52. CLUSTER_NAME: elasticsearch
  53. INSTANCE_RAM: 2Gi
  54. HEAP_DUMP_LOCATION: /elasticsearch/persistent/heapdump.hprof
  55. RECOVER_AFTER_TIME: 5m
  56. READINESS_PROBE_TIMEOUT: 30
  57. POD_LABEL: cluster=elasticsearch
  58. IS_MASTER: true
  59. HAS_DATA: true
  60. Mounts:
  61. /elasticsearch/persistent from elasticsearch-storage (rw)
  62. /etc/openshift/elasticsearch/secret from certificates (rw)
  63. /usr/share/java/elasticsearch/config from elasticsearch-config (rw)
  64. /var/run/secrets/kubernetes.io/serviceaccount from elasticsearch-token-96zth (ro)
  65. proxy:
  66. Container ID: cri-o://e0940c80420f634d69fdeb79f75ea7f17acd1b9ff5d589125d4988a7e4cffaa0
  67. Image: registry.redhat.io/openshift4/ose-oauth-proxy@sha256:975b577cf5f343207000b2fcd68c1b181d518a6669ab3727577978c29de6b482
  68. Image ID: registry.redhat.io/openshift4/ose-oauth-proxy@sha256:975b577cf5f343207000b2fcd68c1b181d518a6669ab3727577978c29de6b482
  69. Port: 60000/TCP
  70. Host Port: 0/TCP
  71. Args:
  72. --https-address=:60000
  73. --provider=openshift
  74. --upstream=https://127.0.0.1:9200
  75. --tls-cert=/etc/proxy/secrets/tls.crt
  76. --tls-key=/etc/proxy/secrets/tls.key
  77. --upstream-ca=/etc/proxy/elasticsearch/admin-ca
  78. --openshift-service-account=elasticsearch
  79. -openshift-sar={"resource": "namespaces", "verb": "get"}
  80. -openshift-delegate-urls={"/": {"resource": "namespaces", "verb": "get"}}
  81. --pass-user-bearer-token
  82. --cookie-secret=7Os2vyw4jXn03QNEHp0uSg==
  83. State: Running
  84. Started: Mon, 30 Mar 2020 02:27:17 -0400
  85. Ready: True
  86. Restart Count: 0
  87. Limits:
  88. memory: 64Mi
  89. Requests:
  90. cpu: 100m
  91. memory: 64Mi
  92. Environment: <none>
  93. Mounts:
  94. /etc/proxy/elasticsearch from certificates (rw)
  95. /etc/proxy/secrets from elasticsearch-metrics (rw)
  96. /var/run/secrets/kubernetes.io/serviceaccount from elasticsearch-token-96zth (ro)
  97. Conditions:
  98. Type Status
  99. Initialized True
  100. Ready True
  101. ContainersReady True
  102. PodScheduled True
  103. Volumes:
  104. elasticsearch-config:
  105. Type: ConfigMap (a volume populated by a ConfigMap)
  106. Name: elasticsearch
  107. Optional: false
  108. elasticsearch-storage:
  109. Type: EmptyDir (a temporary directory that shares a pod's lifetime)
  110. Medium:
  111. SizeLimit: <unset>
  112. certificates:
  113. Type: Secret (a volume populated by a Secret)
  114. SecretName: elasticsearch
  115. Optional: false
  116. elasticsearch-metrics:
  117. Type: Secret (a volume populated by a Secret)
  118. SecretName: elasticsearch-metrics
  119. Optional: false
  120. elasticsearch-token-96zth:
  121. Type: Secret (a volume populated by a Secret)
  122. SecretName: elasticsearch-token-96zth
  123. Optional: false
  124. QoS Class: Burstable
  125. Node-Selectors: kubernetes.io/os=linux
  126. node-role.kubernetes.io/logs=
  127. Tolerations: node.kubernetes.io/disk-pressure:NoSchedule
  128. node.kubernetes.io/memory-pressure:NoSchedule
  129. node.kubernetes.io/not-ready:NoExecute for 300s
  130. node.kubernetes.io/unreachable:NoExecute for 300s
  131. Events:
  132. Type Reason Age From Message
  133. ---- ------ ---- ---- -------
  134. Normal Scheduled 48m default-scheduler Successfully assigned openshift-logging/elasticsearch-cdm-ow0umgcw-1-8567cfdc98-45625 to log0.openshift.redacted.io
  135. Normal Pulled 48m kubelet, log0.openshift.redacted.io Container image "registry.redhat.io/openshift4/ose-logging-elasticsearch5@sha256:89fd15bfb36a07b9e990cf963f1c822f3d2620ee553e49e4d8911d995a553e53" already present on machine
  136. Normal Created 48m kubelet, log0.openshift.redacted.io Created container elasticsearch
  137. Normal Started 48m kubelet, log0.openshift.redacted.io Started container elasticsearch
  138. Normal Pulled 48m kubelet, log0.openshift.redacted.io Container image "registry.redhat.io/openshift4/ose-oauth-proxy@sha256:975b577cf5f343207000b2fcd68c1b181d518a6669ab3727577978c29de6b482" already present on machine
  139. Normal Created 48m kubelet, log0.openshift.redacted.io Created container proxy
  140. Normal Started 48m kubelet, log0.openshift.redacted.io Started container proxy
  141. Warning Unhealthy 47m (x5 over 47m) kubelet, log0.openshift.redacted.io Readiness probe failed: Elasticsearch node is not ready to accept HTTP requests yet [response code: 503]
  142. Warning Unhealthy 47m (x5 over 47m) kubelet, log0.openshift.redacted.io Readiness probe failed: cat: /opt/app-root/src/init_failures: No such file or directory
  143. Warning Unhealthy 44m (x4 over 48m) kubelet, log0.openshift.redacted.io Readiness probe failed: Elasticsearch node is not ready to accept HTTP requests yet [response code: 000]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement