摘要: k8s监控简介 k8s集群有多种开源监控方案,最常见是prometheus配合grafana面板 prometheus有多种部署方式 官方安装方式,需手动配置kubernetes_sd_config prometheus-operator kube-prometheus 这里采用的是最简便的kube 阅读全文
posted @ 2024-03-08 09:09 hello-everybody 阅读(118) 评论(0) 推荐(0)
摘要: k8s集群安装nfs-server服务 下载并修改yaml mkdir -p /root/yaml/addons/nfs cd /root/yaml/addons/nfs wget https://raw.githubusercontent.com/kubernetes-csi/csi-driver 阅读全文
posted @ 2024-03-07 11:53 hello-everybody 阅读(331) 评论(0) 推荐(0)
摘要: 参考文档 https://helm.sh/zh/docs/intro/install/ 使用脚本安装 mkdir -p /root/yaml/addons/helm cd /root/yaml/addons/helm curl -fsSL -o get_helm.sh https://raw.git 阅读全文
posted @ 2024-03-07 08:56 hello-everybody 阅读(24) 评论(0) 推荐(0)
摘要: 单机版环境设置 版本信息 kubernetes: 1.29.2 etcd: 3.5.10 容器运行时:containerd 1.6.28 虚拟机系统:centos 7.9 虚拟机内核版本:5.4.238-1.el7.elrepo.x86_64 虚拟机设置 参考:https://kubernetes. 阅读全文
posted @ 2024-03-01 09:17 hello-everybody 阅读(729) 评论(0) 推荐(0)
摘要: test.py: ```python # coding: utf8 import time import threading import functools class MyThread(threading.Thread): def __init__(self, filename, fps): s 阅读全文
posted @ 2023-07-14 16:44 hello-everybody 阅读(41) 评论(0) 推荐(0)
摘要: 环境及版本信息 kubernetes: 1.26.0 容器运行时:containerd 1.6.19 虚拟机系统:centos 7.9 虚拟机内核版本:5.4.238-1.el7.elrepo.x86_64 在所有节点进行服务器设置 设置主机名 # master: hostnamectl set-h 阅读全文
posted @ 2023-03-30 13:04 hello-everybody 阅读(416) 评论(0) 推荐(0)