Googleのコンテナ運用ベストプラティクス

Best Practices for Operating Containers
1 Use the native logging mechanisms of containers

JSON logs
{"date":"2018-01-01 01:01:01","component":"foo","subcomponent":"foo.bar","level": "WARNING","message": "There is something wrong."}

Log aggregator sidecar pattern

2 Ensure that your containers are stateless and immutable

3 Avoid privileged containers
特に説明不要

4 Make your application easy to monitor

Sidecar pattern for monitoring

5 Expose the health of your application
特に説明不要

6 Avoid running as root

7 Carefully choose the image version
ケースバイケースだね。。

容器运维最佳实践
Best Practices for Building Containers