自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 资源 (1)
  • 收藏
  • 关注

转载 Kublet PLEG不健康问题排障

1. 发现问题某个Node频繁出现“PLEG is not healthy: pleg was last seen active 3m46.752815514s ago; threshold is 3m0s”错误,频率在5-10分钟就会出现一次。使用kubectl get pods --all-namespaces,发现有一个istio-ingressgateway-6bbdd58f8c-nlgnd一直处于Terminating状态,也就是杀不死。到Node节点上,使用docker logs --tai

2021-07-28 17:50:59 1854

原创 1 node(s) didn‘t match node selector, 2 node(s) didn‘t find available persistent volumes to bind.

1. 发现问题PVapiVersion: v1kind: PersistentVolumemetadata: name: pv-ghost namespace: ghostspec: capacity: storage: 10Gi accessModes: - ReadWriteOnce persistentVolumeReclaimPolicy: Retain storageClassName: local-storage local: pat

2021-07-27 15:50:38 2586

转载 迁移pod到其他节点

把节点node07-ingress上的pod,迁移到其他节点。# kubectl drain --ignore-daemonsets --delete-local-data node07-ingress

2021-07-23 10:40:25 774

转载 sed输出指定行

# sed -n 8p file #print line 8# sed -n -e 1p -e 8p file #print line 1 and line 8# sed -n 1,8p file #print line 1 to line 8# sed -n -e 1,8p -e 20p file #print line 1-8 and line 20-n:取消默认输出。sed命令会默认把输入行打印到屏幕上,所以如果想精准的控制输出,就需要使用参数-n。-e:进行多项编辑

2021-07-07 09:48:45 4653 1

转载 awk输出指定列

// 打印所有列# awk '{print $0}' file // 打印第一列# awk '{print $1}' file // 打印第一和第三列# awk '{print $1, $3}' file // 打印第三列和第一列,注意先后顺序# cat file | awk '{print $3, $1}' // 打印第三列和最后一列# cat file | awk '{p

2021-07-05 15:42:21 3815

安装centos7恢复windows引导

安装centos7恢复windows引导

2015-04-10

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除