摘要:
这个是官网的prometheus的告警规则详解 Awesome Prometheus alerts | Collection of alerting rules (samber.github.io) 阅读全文
摘要:
一、安装docker 移除非官方软件yum remove docker卸载旧版本 yum remove docker \docker-common \docker-selinux \docker-engine 依赖安装 yum install -y yum-utils device-mapper-p 阅读全文
摘要:
Gitlab 备份到本地 #!/bin/bash # GitLab 容器名称或ID gitlab_container_name_or_id="gitlab" # 宿主机上的备份目录 backup_directory_on_host="/home/backups/gitlab" # 检查宿主机上的备份 阅读全文
摘要:
夜莺监控 文章参考 https://blog.csdn.net/m0_61318185/article/details/136303124 https://blog.csdn.net/weixin_62173811/article/details/130189727 官网地址 夜莺项目整体介绍 - 阅读全文
摘要:
ELK 清理ES 索引数据 这个是清理前十天的索引信息,只保留十天的索引日志 目前我是手动执行的脚本、如有需要可以自行添加定时任务 #!/bin/bash #sticsearch的基本信息 ES_HOST="127.0.0.1" ES_PORT="9200" ES_USER="elastic" ES 阅读全文
摘要:
📣 2.逻辑方式✨ 2.1 pg_dumppg_dump 将表结构及数据以SQL语句的形式导出到文件中,恢复数据时,将导出的文件作为输入,执行其中的SQL语句,即可恢复数据。 pg_dump 能够对正在使用的PostgreSQL数据库进行备份,并且不影响正常业务的读写。 pg_dump备份示例:1 阅读全文
摘要:
1、下载 Postgres 镜像 下载最新版本的 Postgres 镜像(默认是 latest 版本): docker pull postgres 如果想要下载其他版本,比如常用的 10 版本的话,在镜像后面指定版本: docker pull postgres:10.21-alpine 2、创建并运 阅读全文
摘要:
初始化 -推送 git initgit add .git commit -m "yaml"git remote add origin https://gitee.com/Adminayun/k8-s.gitgit push -u origin master git remote remove ori 阅读全文
摘要:
查询镜像(Images)、容器(Containers)和本地卷(Local Volumes)等空间使用大户的空间占用情况 docker system df # 详细信息 docker system df -v 清理磁盘,删除关闭的容器、无用的数据卷和网络,以及dangling镜像(即无tag的镜像) 阅读全文
摘要:
1.jenkins关网查看各版本对应的jdk版本https://www.jenkins.io/2.安装jdk11 yum install java-11-openjdk #查看java版本列表 alternatives --list #更改java版本 alternatives --config j 阅读全文
