- Kubernetes for Developers
- Joseph Heck
- 159字
- 2021-08-27 19:04:18
Sending output from your program
kubectl logs (as well as the Docker equivalent: docker logs) defaults to combining stdout and stderr and passing anything presented as logs for the container. You may have also had experience with creating specific logging capabilities in your code to write logs to a file location on disk. In general, writing logs to a filesystem location is not encouraged for software running within a container, as to include it in general logging means that something has to read it again, which unnecessarily increases disk I/O.
If you want to have a means of supporting aggregated logging in your application, then you will typically want to have something external to your container and/or Pod defined to help capture, transport, and process those logs.
In general, if you write your programs to log to stdout and stderr, then containers and Kubernetes running those containers will generally help you to get access to those details more easily.
- 精通MATLAB圖像處理
- Learning Apache Spark 2
- Hands-On Neural Networks with Keras
- PIC單片機C語言非常入門與視頻演練
- 機器學習流水線實戰
- Java Web整合開發全程指南
- 分析力!專業Excel的制作與分析實用法則
- Mastering pfSense
- 啊哈C!思考快你一步
- 會聲會影X4中文版從入門到精通
- 運動控制系統(第2版)
- 軟測之魂
- Java求職寶典
- Appcelerator Titanium Smartphone App Development Cookbook(Second Edition)
- 玩轉機器人:基于Proteus的電路原理仿真(移動視頻版)