我正在使用 Consul 和 Kubernetes 进行健康检查和服务到服务的通信。所以我不知道为什么,但我在发送的图片中收到了健康检查错误。您可以在下面看到该服务的日志记录。如果您想查看更多详细信息,请单击此处。
设备:MacOS Big Sur 11.4, 13", M1 (darwin/arm64)
user@MacBook-Pro basic_services % kubectl logs web-569cff7d7b-77qjj envoy-sidecar
[2021-06-25 21:44:38.853][1][critical][assert][source/common/signal/signal_action.cc:38] assert failure: sigaltstack(&stack, &previous_altstack_) == 0.
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 11m default-scheduler Successfully assigned default/web-569cff7d7b-77qjj to minikube
Warning BackOff 11m kubelet Back-off restarting failed container
Normal Pulled 11m (x3 over 11m) kubelet Container image "hashicorp/consul:1.9.4" already present on machine
Normal Created 11m (x3 over 11m) kubelet Created container consul-connect-inject-init
Normal Started 11m (x3 over 11m) kubelet Started container consul-connect-inject-init
Normal Pulling 10m kubelet Pulling image "public.ecr.aws/x7x7b7p0/clienters:latest"
Normal Created 10m kubelet Created container web
Normal Pulled 10m kubelet Successfully pulled image "public.ecr.aws/x7x7b7p0/clienters:latest" in 2.063374043s
Normal Started 10m kubelet Started container web
Normal Pulled 10m kubelet Container image "envoyproxy/envoy-alpine:v1.16.0" already present on machine
Normal Created 10m kubelet Created container envoy-sidecar
Normal Started 10m kubelet Started container envoy-sidecar
Normal Pulled 10m kubelet Container image "hashicorp/consul-k8s:0.25.0" already present on machine
Normal Created 10m kubelet Created container consul-sidecar
Normal Started 10m kubelet Started container consul-sidecar
感谢您的阅读。祝你有美好的一天。