Note
- pod(Kubernetes)のlifecycle.prestopの挙動 - 1クール続けるブログ
- Dockerfile に apt, apt-get, source コマンドを書く時のTips | cloud.config Tech Blog
RUN apt update \
&& apt install -y --no-install-recommends \
cowsay \
nyancat \
&& apt -y clean \
&& rm -rf /var/lib/apt/lists/*
- Adopting Istio for a multi-tenant Kubernetes cluster in Production
lifecycle:
preStop:
exec:
command: ["/bin/sh", "-c", "while [ $(netstat -plunt | grep tcp | grep -v envoy | wc -l | xargs) -ne 0 ]; do sleep 1; done"]
- Envoy shutting down before the thing it’s wrapping can cause failed requests · Issue #7136 · istio/istio