1 2 3 4 5 ··· 12 下一页
摘要: #配置minio服务别名 mc alias set minio_source http://source-ip:9000 admin password #查看别名配置 mc alias list # 每周日凌晨全量备份 0 0 * * 0 mc mirror minio_source/bucket_ 阅读全文
posted @ 2025-07-01 09:35 KeepSmiling_me 阅读(118) 评论(0) 推荐(0)
摘要: RKE2证书默认有效期为12个月,当证书过期或剩余时间不足90天时,RKE2重启时会自动轮换证书。但用户也可以手动执行轮换操作 # 停止 RKE2 服务 systemctl stop rke2-server # 执行证书轮换 rke2 certificate rotate # 重启服务 system 阅读全文
posted @ 2025-07-01 09:24 KeepSmiling_me 阅读(48) 评论(0) 推荐(0)
摘要: #!/bin/bash # 批量上传nexus-maven依赖 # 使用方法:将本脚本文件放于本地maven仓库根目录,然后使用git-bash执行命令: # sh mvnimport.sh -u 私服账号 -p 私服密码 -r 私服仓库地址 while getopts ":r:u:p:" opt; 阅读全文
posted @ 2025-06-25 09:50 KeepSmiling_me 阅读(63) 评论(0) 推荐(0)
摘要: git clone --depth 1 --recurse-submodules https://oauth2:<TOKEN>@host/path.git 阅读全文
posted @ 2025-06-23 09:44 KeepSmiling_me 阅读(7) 评论(0) 推荐(0)
摘要: 1.klocwork 扫描 ${buildCommand} type build.bat kwadmin --url ${Klocwork.httpSchema}://${Klocwork.ip}:${Klocwork.port} create-project proj_${buildId}_${j 阅读全文
posted @ 2025-03-31 13:24 KeepSmiling_me 阅读(30) 评论(0) 推荐(0)
摘要: metadata: annotations: kubernetes.io/ingress.class: nginx nginx.ingress.kubernetes.io/proxy-body-size: 600M nginx.ingress.kubernetes.io/proxy-buffer-s 阅读全文
posted @ 2024-11-26 17:38 KeepSmiling_me 阅读(34) 评论(0) 推荐(0)
摘要: 一、基础环境说明节点名 节点ip 角色 操作系统node1 10.42.8.13 control-plane,etcd,master CentOS7.9node2 10.42.8.14 control-plane,etcd,master CentOS7.9node3 10.42.8.15 contr 阅读全文
posted @ 2024-11-01 13:45 KeepSmiling_me 阅读(1084) 评论(0) 推荐(0)
摘要: kubectl config set-context --current --namespace=my-namespace 阅读全文
posted @ 2024-10-28 10:23 KeepSmiling_me 阅读(9) 评论(0) 推荐(0)
摘要: ps -ef | awk 'superset/ && ! /awk/{print $2}' | xargs kill -9 阅读全文
posted @ 2024-10-12 10:38 KeepSmiling_me 阅读(12) 评论(0) 推荐(0)
摘要: 编辑sc,修改如下 注意 storageclass.kubernetes.io/is-default-class: "true" 为设置默认sc apiVersion: v1 items: - allowVolumeExpansion: true apiVersion: storage.k8s.io 阅读全文
posted @ 2024-10-01 10:40 KeepSmiling_me 阅读(189) 评论(0) 推荐(0)
1 2 3 4 5 ··· 12 下一页