Use stern to view pod logs

Original link: https://www.bboy.app/2022/12/05/%E4%BD%BF%E7%94%A8stern%E6%9F%A5%E7%9C%8Bpod%E7%9A%84% E6%97%A5%E5%BF%97/

Introduction

Stern is a tool for viewing multi-container logs. Although I use loki to view logs most of the time, this is worth introducing.

This article is reproduced from: https://www.bboy.app/2022/12/05/%E4%BD%BF%E7%94%A8stern%E6%9F%A5%E7%9C%8Bpod%E7%9A%84% E6%97%A5%E5%BF%97/
This site is only for collection, and the copyright belongs to the original author.