2020-03-25

Note

RUN apt update \
 && apt install -y --no-install-recommends \
    cowsay \
    nyancat \
 && apt -y clean \
 && rm -rf /var/lib/apt/lists/*
lifecycle:
  preStop:
    exec:
      command: ["/bin/sh", "-c", "while [ $(netstat -plunt | grep tcp | grep -v envoy | wc -l | xargs) -ne 0 ]; do sleep 1; done"]
d-kuro
d-kuro
Software Engineer

I’m a software engineer interested in Kubernetes and other cloud-native technologies.