请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

dial tcp 172.17.10.4:9093: connect: connection refused

Name: alertmanager-main-0

Namespace: monitoring

Priority: 0

PriorityClassName:

Node: 10.69.36.90/10.69.36.90

Start Time: Wed, 20 Nov 2019 00:33:42 +0800

Labels: alertmanager=main

                app=alertmanager

                controller-revision-hash=alertmanager-main-6bd8d9f997

                statefulset.kubernetes.io/pod-name=alertmanager-main-0

Annotations:

Status: Running

IP: 172.17.10.4

Controlled By: StatefulSet/alertmanager-main

Containers:

alertmanager:

Container ID:  docker://787b392bb09b7f29eb131a22faa8de04b4f469142295704fbde26ca52fe5f94e

Image:         quay.io/prometheus/alertmanager:v0.15.0

Image ID:      docker-pullable://quay.io/prometheus/alertmanager@sha256:0ed4a8f776c5570b9e8152a670d3087a73164b20476a6a94768468759fbb5ad8

Ports:         9093/TCP, 6783/TCP

Host Ports:    0/TCP, 0/TCP

Args:

  --config.file=/etc/alertmanager/config/alertmanager.yaml

  --cluster.listen-address=$(POD_IP):6783

  --storage.path=/alertmanager

  --data.retention=120h

  --web.listen-address=:9093

  --web.route-prefix=/

  --cluster.peer=alertmanager-main-0.alertmanager-operated.monitoring.svc:6783

  --cluster.peer=alertmanager-main-1.alertmanager-operated.monitoring.svc:6783

  --cluster.peer=alertmanager-main-2.alertmanager-operated.monitoring.svc:6783

State:          Waiting

  Reason:       CrashLoopBackOff

Last State:     Terminated

  Reason:       Error

  Exit Code:    2

  Started:      Sun, 12 Jan 2020 22:11:52 +0800

  Finished:     Sun, 12 Jan 2020 22:13:31 +0800

Ready:          False

Restart Count:  18544

Requests:

  memory:   200Mi

Liveness:   http-get http://:web/api/v1/status delay=0s timeout=3s period=10s #success=1 #failure=10

Readiness:  http-get http://:web/api/v1/status delay=3s timeout=3s period=5s #success=1 #failure=10

Environment:

  POD_IP:   (v1:status.podIP)

Mounts:

  /alertmanager from alertmanager-main-db (rw)

  /etc/alertmanager/config from config-volume (rw)

  /var/run/secrets/kubernetes.io/serviceaccount from alertmanager-main-token-t2qhg (ro)

config-reloader:

Container ID:  docker://5fce41324cd097803ff3c7af67e761f7430b50a86b97b5c1d3e847619913e5c2

Image:         quay.io/coreos/configmap-reload:v0.0.1

Image ID:      docker-pullable://quay.io/coreos/configmap-reload@sha256:e2fd60ff0ae4500a75b80ebaa30e0e7deba9ad107833e8ca53f0047c42c5a057

Port:          <none>

Host Port:     <none>

Args:

  -webhook-url=http://localhost:9093/-/reload

  -volume-dir=/etc/alertmanager/config

State:          Running

  Started:      Wed, 20 Nov 2019 00:36:25 +0800

Ready:          True

Restart Count:  0

Limits:

  cpu:     5m

  memory:  10Mi

Requests:

  cpu:        5m

  memory:     10Mi

Environment:  <none>

Mounts:

  /etc/alertmanager/config from config-volume (ro)

  /var/run/secrets/kubernetes.io/serviceaccount from alertmanager-main-token-t2qhg (ro)

Conditions:

Type Status

Initialized True

Ready False

ContainersReady False

PodScheduled True

Volumes:

config-volume:

Type:        Secret (a volume populated by a Secret)

SecretName:  alertmanager-main

Optional:    false

alertmanager-main-db:

Type:    EmptyDir (a temporary directory that shares a pod's lifetime)

Medium:  

alertmanager-main-token-t2qhg:

Type:        Secret (a volume populated by a Secret)

SecretName:  alertmanager-main-token-t2qhg

Optional:    false

QoS Class: Burstable

Tolerations: node.kubernetes.io/not-ready:NoExecute for 300s

             node.kubernetes.io/unreachable:NoExecute for 300s

Events:

Type Reason Age From Message


Warning Unhealthy 11m (x348263 over 53d) kubelet, 10.69.36.90 Readiness probe failed: Get http://172.17.10.4:9093/api/v1/status: dial tcp 172.17.10.4:9093: connect: connection refused

Warning BackOff 68s (x227094 over 53d) kubelet, 10.69.36.90 Back-off restarting failed container

正在回答 回答被采纳积分+3

1回答

刘果国 2020-01-14 11:02:34

找到crashloop的容器,先看日志

0 回复 有任何疑惑可以回复我~
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信