kube-prometheus监控数据持久化 2025-09-16| kubernetes 版本信息k8s版本对应kube-prometheus对照表
Stack/Version
Kubernetes 1.22
Kubernetes 1.23
Kubernetes 1.24
Kubernetes 1.25
Kubernetes 1.26
Kubernetes 1.27
Kubernetes 1.28
release-0.10
✔
✔
✗
✗
✗
✗
✗
release-0 ...
阅读更多 k8s部署NFS持久化存储 2025-09-16| kubernetes NFS安装NFS Server
yum install nfs-utils rpcbind
编辑/etc/exports
/nfs *(insecure,rw,sync,no_root_squash,no_all_squash)
创建nfs目录
mkdir -p /nfs
启动服务
systemctl enable nfs-server rpcbindsystemctl start nfs-se ...
阅读更多 Linux源码构建OpenSSH9.8p1 RPM包 2025-09-16| Linux OpenSSH配置Yum源curl http://mirrors.aliyun.com/repo/Centos-7.repo>/etc/yum.repos.d/centos-7.repocurl http://mirrors.aliyun.com/repo/epel-7.repo>/etc/yum.repos.d/epel-7.reposed -i 's/$releaseve ...
阅读更多 NVIDIA A800初始化失败 2025-09-16| NVIDIA 解决方式NVIDIA A800显卡初始化提示以下错误:
RuntimeError: Unexpected error from cudaGetDeviceCount(). Did you run some cuda functions before calling NumCudaDevices() that might have already set an error? Error 802: s ...
阅读更多 Prometheus监控实践 2025-09-16| Prometheus Prometheus简介Prometheus是一个开源的系统监控和报警工具包,由SoundCloud公司开发,并使用Go语言编写。它起源于前Google工程师在2012年开始的项目,自那时起,许多公司和组织都采用了Prometheus作为他们的监控告警工具。在2016年,Prometheus加入了Cloud Native Computing Foundation(CNCF),成为继Kubernet ...
阅读更多 Docker ENV渲染配置文件 2025-09-16| Docker 创建set_env.sh脚本
#!/bin/sh# Set default values for environment variables if they are not setexport ENABLE_SYSTEM=${ENABLE_SYSTEM:-"true"}export ENABLE_MYSQL=${ENABLE_MYSQL:-&quo ...
阅读更多 Harbor容器仓库部署 2025-09-16| Harbor 环境信息
节点主机名
节点IP
harbor01
192.168.2.21
harbor02
192.168.2.22
添加hosts解析,本机添加对端harbor域名解析地址
#harbor01192.168.2.22 harbor.acaiblog.top#harbor02192.168.2.21 harbor.acaiblog.top
安装Harbor下载安装包
https ...
阅读更多 Elasticsearch集群部署 2025-09-16| elasticsearch 节点信息
节点名称
节点IP
节点角色
node01
172.16.1.11
master data
node02
172.16.1.12
master data
node03
172.16.1.13
master data
环境部署下载安装包
wget https://artifacts.elastic.co/downloads/elasticsearch/elastics ...
阅读更多 k8s支持GPU虚拟化 2025-09-16| kubernetes 官网参考链接:https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html
Ubuntu配置apt源
cat >nvidia-container-toolkit.list <<EOFdeb https://nvidia.github.io/libnvidia- ...
阅读更多 docker配置代理下载镜像 2025-09-16| Docker 编辑Docker配置文件/usr/lib/systemd/system/docker.service,添加以下内容
[Service]Environment="HTTP_PROXY=http://192.168.126.1:7890"Environment="HTTPS_PROXY=http://192.168.126.1:7890"
重启Docker服务
...
阅读更多