当前位置:网站首页>Kubectl's access to pod logs -- the way to build a dream
Kubectl's access to pod logs -- the way to build a dream
2022-07-27 20:09:00 【The road to dream】
# obtain pod Name or and pod Related tags
kubectl get pods --show-labels
# see pod journal
kubectl logs <podName>
# Check out the previous pod Log Crumble pod
kubectl logs --previous <podName>
# If one Pod There are multiple copies , And has associated tags ( for example app=my-app), You can use it to view all... From that tag Pod Log
kubectl logs -l app=my-app
# see pod Last 100 Line logs
kubectl logs --tail=100 <podName>
# see pod Log of the last hour
kubectl logs --since=1h <podName>
# Check out the last 15 Minute log
kubectl logs --since=15m <podName>
# Real time output log
kubectl logs -f <podName>
# Real time output finally 100 Line logs
kubectl logs --tail=100 -f <podName>Collected from the Internet
边栏推荐
- 黑客入门教程(非常详细)从零基础入门到精通,看完这一篇就够了。
- Common operators 9.21
- How to encrypt the data in MySQL database? Mysql8.0 comes with new features
- 高手勿进!写给初中级程序员以及还在大学修炼的“准程序员”的成长秘籍
- C243: examination ranking
- How to quickly improve the three minute response rate of Tiktok store? What will affect the reply rate of Tiktok store?
- [论文阅读] Rich Feature Hierarchies for Accurate Object Detection and Semantic Segmentation
- NAT 11.16
- Source code analysis of Chang'an chain data storage
- No experts! Growth secrets for junior and intermediate programmers and "quasi programmers" who are still practicing in Universities
猜你喜欢

ViewUI 中 DatePicker 日期选择器在 IE11 浏览器中兼容解决方案

Hacker introductory tutorial (very detailed) from zero basic introduction to proficiency, it is enough to read this one.
![In a real case, college students were cheated when taking orders. I hope you won't be cheated [painful lesson]](/img/7d/142e69d6da1899cefbcc99d7929fba.png)
In a real case, college students were cheated when taking orders. I hope you won't be cheated [painful lesson]

Cesium常用坐标系详细介绍
![[paper reading] rich feature hierarchies for accurate object detection and semantic segmentation](/img/a9/690f52b5c4afba684f0add2434888c.png)
[paper reading] rich feature hierarchies for accurate object detection and semantic segmentation

Source code analysis of Chang'an chain data storage

产品经理:排查下线上哪里冒出个“系统异常”的错误提示

How to encrypt the data in MySQL database? Mysql8.0 comes with new features

顶级“黑客”能厉害到什么地步?无信号也能上网,专家:高端操作!

UnicodeDecodeError: ‘utf-8‘ codec can‘t decode byte 0xff in position 0: invalid start byte
随机推荐
cesium基本控件介绍
[C #] positive sequence, reverse sequence, maximum value, minimum value and average value
VLAN test 2021.1.14
Container summary
Intent (whether there is return value to jump)
如何运行 kevinchappell / formBuilder
Basic functions of pytorch tensor
由单片机XTALIN引脚和XTALOUT引脚导出的对晶体震荡电路的深入理解
PC博物馆(3) MITS Altair 8800
Online Judge 输出超限
GLTF模型添加关节控制
LED高精度体重秤方案规格书
Compiling ncnn with vs
Common errors reported by pytorch
内置函数其它函数
How to encrypt the data in MySQL database? Mysql8.0 comes with new features
[Redis] Redis穿透、雪崩和击穿
C171:考勤系统
Gestureoverlayview (gesture recognition 2)
使用VS编译NCNN