04 2022 档案

摘要:需求 定时清理redis缓存 部署文件 apiVersion: batch/v1 kind: CronJob metadata: name: crontab-clear-redis namespace: ns-test spec: schedule: "10 16 * * 1" ##这里注意时区问题 阅读全文
posted @ 2022-04-19 22:43 B_en′Pǎo 阅读(294) 评论(0) 推荐(0)
摘要:部署环境 aws eks环境 sc是gp2 部署文件 apiVersion: apps/v1 kind: Deployment metadata: namespace: saas name: nexus3 labels: app: nexus3 spec: replicas: 1 selector: 阅读全文
posted @ 2022-04-19 22:35 B_en′Pǎo 阅读(158) 评论(0) 推荐(0)
摘要:需求:nginx 不但可以通过80访问还可以通过8089访问 istio ingressgateway修改创建指定端口的TCP转发 kubectl get svc -n istio-system kubectl edit svc -n istio-system istio-ingressgatewa 阅读全文
posted @ 2022-04-18 15:06 B_en′Pǎo 阅读(516) 评论(0) 推荐(0)
摘要:1. https://istio.io/latest/zh/docs/setup/getting-started/#download 安装参考文档 安装好istio 默认用的是alb 需要改成nlb kubectl get svc -n istio-systemkubectl edit svc -n 阅读全文
posted @ 2022-04-18 14:18 B_en′Pǎo 阅读(169) 评论(0) 推荐(0)
摘要:详解: dirname去目录路径basename取最后的名字 感谢兵哥提供。 阅读全文
posted @ 2022-04-13 21:01 B_en′Pǎo 阅读(28) 评论(0) 推荐(0)
摘要:apiVersion: apps/v1 kind: DaemonSet metadata: name: nginx-daemonset labels: app: nginx spec: selector: matchLabels: app: nginx template: metadata: lab 阅读全文
posted @ 2022-04-13 20:55 B_en′Pǎo 阅读(54) 评论(0) 推荐(0)
摘要:查看那些机器链接本地的7005端口 阅读全文
posted @ 2022-04-03 19:39 B_en′Pǎo 阅读(42) 评论(0) 推荐(0)
摘要:-Duser.timezone=GMT+08 阅读全文
posted @ 2022-04-01 22:27 B_en′Pǎo 阅读(454) 评论(0) 推荐(0)
摘要:aws操作: 1.点击EC2资源--存储--点击卷ID--选择卷--操作--修改卷 2.修改磁盘大小--点击修改 EC2操作: fdisk -l growpart /dev/xvda 1 xfs_growfs -d / /dev/xvda 以fdisk -l为准 阅读全文
posted @ 2022-04-01 15:02 B_en′Pǎo 阅读(229) 评论(0) 推荐(0)