添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

Documentation

Introduction

Configuration

Deployment

Guides

Troubleshooting

Resources

Security

Contribute

Envoy container stuck in unready/draining state

It’s possible for the Envoy containers to become stuck in an unready/draining state. This is an unintended side effect of the shutdown-manager sidecar container being restarted by the kubelet. For more details on exactly how this happens, see this issue .

If you observe Envoy containers in this state, you should kubectl delete them to allow new Pods to be created to replace them.

To make this issue less likely to occur, you should:

  • ensure you have resource requests on all your containers
  • ensure you do not have a liveness probe on the shutdown-manager sidecar container in the envoy daemonset (this was removed from the example YAML in Contour 1.24.0).

If the above are not sufficient for preventing the issue, you may also add a liveness probe to the envoy container itself, like the following:

livenessProbe:
  httpGet:
    path: /ready
    port: 8002