官术网_书友最值得收藏!

Streaming the logs

A common desire is to see a continuously flowing set of logs from your container, updated as the container provides the information. You can enable this with the -f option. For example, to see the updated logs from the Pod associated with the flask deployment, you can run the following command:

kubectl logs deployment/flask -f

As you interact with that service, or that service writes to stdout and does its normal logging, you will see the output streamed to your console.

主站蜘蛛池模板: 龙口市| 互助| 汉沽区| 广河县| 义乌市| 治县。| 吉隆县| 新宁县| 独山县| 蓬安县| 邵阳县| 无棣县| 桂东县| 大方县| 龙州县| 珠海市| 阿荣旗| 西盟| 黄平县| 江西省| 高淳县| 元朗区| 陆川县| 含山县| 正宁县| 拉孜县| 成武县| 文化| 凌云县| 卢龙县| 金乡县| 女性| 普安县| 徐汇区| 湄潭县| 保德县| 克山县| 清远市| 唐山市| 海安县| 岳西县|