集群grafana loki k8s

k8s配置与密钥管理

1、configmap 1.1 configmap创建方式 命令行创建方式 # kubectl create configmap cm1 --from-literal=host=127.0.0.1 --from-literal=port=3306 configmap/cm1 created # ku ......
密钥 k8s k8 8s

安装k8s集群的小问题

网络问题:直接安装calico插件,没有配置网络会导致每个节点的路由无法转发,pod之间跨节点无法通信 解决办法:使用calico+flannel作为cni普罗米修斯部署时,网络策略会导致只能特定pod才能通信(nodeport部署服务失效) 解决办法:删除网络策略的部署 ......
集群 问题 k8s k8 8s

14,grafana 的ldap 认证

在设置之前,必须弄懂ldap里面的几个名词 cn、ou、dc、dn(自行百度) dn包含前三个,下面就是一个dn (uid=mcc)cn=student,ou=chuanda,dc=chengdu,dc=sichuan,dc=china 作用等于 china/sichuan/chengdu/chua ......
grafana ldap

安装部署 Prometheus+Grafana 监控系统

1、基础环境准备两台或更多的主机 2、关闭selinux vi /etc/selinux/config,修改SELINUX的值为disabled 3、关闭防火墙 systemctl disable firewalld systemctl stop firewalld 4、prometheus官网下载 ......
监控系统 Prometheus Grafana 系统

k8s定时备份与故障还原

Kubernetes etcd 定时备份及恢复方案 原创 小小平头哥 小小平头哥 2023-11-23 11:17 发表于山东 收录于合集 #云原生相关6个 #kubernetes1个 #k8s使用技巧3个 #k8s5个 点关注👇👇👇不迷路 小小平头哥 分享行业知识,见闻,读书笔记 5篇原创内 ......
备份 故障 k8s k8 8s

k8s中pvc和pv扩容

参考网址:https://zhuanlan.zhihu.com/p/640035530 背景:部署的postgres,采用存储类sc来动态挂载pvc和pv。设定是100Gi,后期需要扩容成200Gi。 扩容步骤: 1.修改PV的配置。 1.1回收策略 确认pv的回收策略,十分的重要!!!!!,确认回 ......
k8s pvc k8 8s

Kubernetes进阶之使用二进制包部署集群

前言 之前关于Kubernetes有写过文档 参考:Kubernetes入门进阶课程 https://www.cnblogs.com/minseo/category/1654539.html 本文针对操作系统以及软件的新版本补充使用二进制包部署集群 之前版本部署参考:https://www.cnbl ......
二进制 集群 Kubernetes

线上ES集群参数配置引起的业务异常案例分析

作者:vivo 互联网数据库团队- Liu Huang 本文介绍了一次排查Elasticsearch node_concurrent_recoveries 引发的性能问题的过程。 一、故障描述 1.1 故障现象 1. 业务反馈 业务部分读请求抛出请求超时的错误。 2. 故障定位信息获取 故障开始时间 ......
集群 案例分析 参数 案例 业务

Windows下RabbitMQ 集群及应用测试

转自:https://blog.csdn.net/elie_yang/article/details/86657851 1:安装erlang环境; 2:安装RabbitMQ, 以上2步都是下载安装,下一步结束;参考官网:http://www.rabbitmq.com/install-windows. ......
集群 RabbitMQ Windows

haproxy+nginx实现web负载均衡集群:

haproxy+nginx实现web负载均衡集群: 主机 | 系统 |IP地址|主要软件|—|— |—| — |—Haproxy服务器 |CentOS7.9 X86_64 |192.168.8.202| haproxy-1.5.19.tar.gzNginx服务器1 |CentOS7.9 X86_64 ......
集群 haproxy nginx web

Nginx loki监控日志的学习

Nginx loki监控日志的学习 背景 学习自: https://mp.weixin.qq.com/s/Qt1r7vzWvCcJpNDilWHuxQ 增加了一些自己的理解 第一部分nginx日志的完善 在logformat的后面增加一个: log_format json_analytics esc ......
Nginx 日志 loki

k8s命令补全

正常安装了k8s后,使用kubect 工具后接的命令不能直接tab补全 命令补全方法: yum -y install bash-completionsource /usr/share/bash-completion/bash_completion source <(kubectl completio ......
命令 k8s k8 8s

Docker Swarm动态扩容MINIO集群

需求背景 当一个minio集群的磁盘不够用的时候,可以有两种方式,第一个通过扩磁盘,第二种增加机器。但是不管是哪种方式,都不能去动原来集群的启动方式,那样集群就起不来了,会一直提示类似下面这种报错,ERROR Unable to initialize backend: /data1 drive is ......
集群 动态 Docker Swarm MINIO

K8S pod 动态扩缩容之HPA实战

HPA 的自动扩容并不是即时生效的,它需要一些时间来检测和调整副本数量。因此,在进行测试时,请留意观察 HPA 的行为,并适当调整配置。 1、首先安装metrics-server 2、创建pod 需要设置cpu 使用率方便测试 3、设置自动扩缩容,并开启pod 检测 kubectl autoscal ......
实战 动态 K8S HPA pod

k8s 高可用集群3:VIP:HAProxy、keepalived

为何要使用负载均衡器VIP(HAProxy、keepalived)​ k8s Master 初始化配置时,使用负载均衡器,可以将 apiserver 的请求转发到不同的机器上,避免一台服务器宕机,造成所有节点不可使用。 如果不使用负载均衡器,先创建一个 k8s Master,然后再加入其他的 k8s ......
集群 keepalived HAProxy k8s VIP

Grafana学习(9)—— Alerting - Labels and annotations

1. 简介 Labels and annotations contain information about an alert. Both labels and annotations have the same structure: a set of named values; however t ......
annotations Alerting Grafana Labels and

k8s集群二进制安装部署

1、前期规划 主机规划 IP地址 主机名 主机角色 软件列表 192.168.16.129 k8s-master01 master kube-apiserver、kube-controller-manager、kube-scheduler、etcd、kubelet、haproxy、keepalive ......
二进制 集群 k8s k8 8s

Grafana学习(9)—— Alerting - Alerting on numeric data

This topic describes how Grafana managed alerts are evaluated by the backend engine as well as how Grafana handles alerting on numeric rather than tim ......
Alerting Grafana numeric data on

Grafana学习(8)——Introduction to Alerting

Whether you’re just starting out or you’re a more experienced user of Grafana Alerting, learn more about the fundamentals and available features that ......
Introduction Alerting Grafana to

Grafana学习(7)——Alerting

Grafana Alerting allows you to learn about problems in your systems moments after they occur. Monitor your incoming metrics data or log entries and se ......
Alerting Grafana

如何快速实现Prometheus监控Kubernetes集群

Prometheus K8S集群中常见的监控工具有哪些: Kubernetes Dashboard Kube-monkey K8s-testsuite Kubespray Minikube Prometheus K8S集群监控-外部 | apiserver 访问 | | | 集群外部访问: 通过pu ......
集群 Prometheus Kubernetes

Grafana学习(6)——Introduction to exemplars及Glossary

An exemplar is a specific trace representative of measurement taken in a given time interval. While metrics excel at giving you an aggregated view of ......
Introduction exemplars Glossary Grafana to

Grafana学习(5)——Introduction to histograms and heatmaps

A histogram is a graphical representation of the distribution of numerical data. It groups values into buckets (sometimes also called bins) and then c ......
Introduction histograms heatmaps Grafana and

Grafana学习(4)——Time series dimensions

In Introduction to time series, the concept of labels, also called tags, is introduced: Another feature of a TSDB is the ability to filter measurement ......
dimensions Grafana series Time

Grafana学习(3)——Introduction to time series

Imagine you wanted to know how the temperature outside changes throughout the day. Once every hour, you’d check the thermometer and write down the tim ......
Introduction Grafana series time to

docker+docker-compose部署rocketmq集群遇到的大坑

搭建时间为2023-11-22 环境:CentOS7、Docker24.0.6、Docker-Compose2.23.0、RocketMQ镜像为apache/rocketmq:5.1.2 部署说明:两台Linux服务器,先是尝试了传统2主2从,没有实现主备自动切换,一步一步部署下来没有特别大的问题。 ......
docker 大坑 集群 docker-compose rocketmq

Grafana学习(2)——Grafana dashboards overview

Have you ever wondered what a dashboard is? In the observability world, this term is frequently used, but what exactly does it mean? The concept is bo ......
Grafana dashboards overview

Grafana使用实践

Introduction What's Prometheus ? Observability focuses on understanding the internal state of your systems based on the data they produce, which helps ......
Grafana

K8S statefulset 有状态服务部署应用-3

K8S部署sts 若nfs 协议不能满足需求: 如果使用NFS协议不能满足服务的读写性能要求,可以考虑使用其他类型的持久化存储,例如: HostPath:使用本地主机上的路径作为持久化存储。这种方式适合于测试和开发环境,但不适合生产环境。 iSCSI:使用iSCSI协议连接到存储设备。这种方式可以提 ......
statefulset 状态 K8S K8 8S

关于K8S亲和性的解释

kubernetes提供了一种亲和性调度(Affinity)。它在NodeSelector的基础之上的进行了扩展,可以通过配置的形式,实现优先选择满足条件的Node进行调度,如果没有,也可以调度到不满足条件的节点上,使调度更加灵活。 Affinity主要分为三类: nodeAffinity(node ......
亲和性 K8S K8 8S