Open2024/09/06にコメント追加2k8s コマンドメモhiroms2024/09/06kubectl get pods -n {namespace} | grep Error | awk '{print $1}' | xargs -n 1 kubectl delete pod -n {namespace} 返信を追加hiroms2024/09/06live tail しながらlog を書き出す kubectl logs -n {namespace} -f {pod_name} > hoge.log 返信を追加
hiroms2024/09/06kubectl get pods -n {namespace} | grep Error | awk '{print $1}' | xargs -n 1 kubectl delete pod -n {namespace} 返信を追加