www.cnblogs.com/ruiyqinrui

开源、架构、Linux C/C++/python AI BI 运维开发自动化运维。 春风桃李花 秋雨梧桐叶。“力尽不知热 但惜夏日长”。夏不惜,秋不获。@ruiY--秦瑞

python爬虫,C编程,嵌入式开发.hadoop大数据,桉树,onenebula云计算架构.linux运维及驱动开发.

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

技术栈-系统中间件优化,网络安全

jvm 内存回收 oom 问题处理

nginx 大量time_wait

mysql buffer 

ACK集群pod重启后如何查看历史日志

可以尝试通过这条命令查看还存在于节点上的历史容器日志 kubectl  logs  xxx  -n  xxx   --previous
 livenessProbe:
            httpGet:
              path: /actuator/health/
              port: 4001
              scheme: HTTP
            initialDelaySeconds: 120 # 容器启动完成后首次探测的时间,单位为秒
            timeoutSeconds: 5       # 对容器健康检查等待响应的超时时间,单位秒,默认1秒
            periodSeconds: 5        # 对容器监控检查的定期探测间隔时间设置,单位秒,默认10秒一次
            successThreshold: 1     # 成功门槛
            failureThreshold: 20     # 失败门槛,连接失败6次,pod杀掉,重启一个新的pod
          readinessProbe:
            httpGet:
             #path: /base/actuator/health/
              path: /actuator/health/
              port: 4001
              scheme: HTTP
             #host: pigx-gateway.km145
            initialDelaySeconds: 120
            timeoutSeconds: 5
            periodSeconds: 5
            successThreshold: 1
            failureThreshold: 20

 

 

posted on 2023-11-16 11:54  秦瑞It行程实录  阅读(2)  评论(0编辑  收藏  举报
www.cnblogs.com/ruiyqinrui