grafana yaml k8s k8

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

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

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

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

StatefulSet详解kubectl explain sts.spec :主要字段解释replicas :副本数selector:那个pod是由自己管理的serviceName:必须关联到一个无头服务商template:定义pod模板(其中定义关联那个存储卷)volumeClaimTemplat ......
statefulset 状态 K8S K8 8S

k8s解析kubeconfig的两种常用方式

k8s v1.19.0 方法1 staging/src/k8s.io/client-go/tools/clientcmd/client_config.goBuildConfigFromFlags函数根据本地kubeconfig文件路径来生成restclient.Config对象。 staging/s ......
kubeconfig 常用 方式 k8s k8

day131- springboot 的配置文件yaml的用法

springboot 的配置文件yaml的用法 yaml文件同properties文件一样,适合用来做数据为中心的配置文件 基本语法 key: value;kv之间有空格 大小写敏感 使用缩进表示层级关系 缩进不允许使用tab,只允许空格 缩进的空格数不重要,只要相同层级的元素左对齐即可 '#'表示 ......
springboot 文件 yaml day 131

Windows平台的prometheus和Grafana的学习与使用

Windows平台的prometheus和Grafana的学习与使用 背景 最近没有了linux机器 突然想捯饬一下Windows平台的监控与使用 所以总结一一下. 第一步下载 https://prometheus.io/download/ https://grafana.com/grafana/d ......
prometheus Windows Grafana 平台

k8s之istio

.Istio介绍 Istio是一个开源的服务网格(Service Mesh),为Kubernetes和其他平台上的微服务架构提供了一种统一的、灵活的网络通信和管理方式。具有服务发现、负载均衡、流量管理、故障恢复和安全性等功能。以下是Istio的一些基本特性: 代理注入:Istio使用Envoy作为其 ......
istio k8s k8 8s

k8s自动伸缩应用

原文:https://zhuanlan.zhihu.com/p/649662103 背景: 这篇文章主要讲的是kuberntes的自动伸缩pods的能力。讲述如何使用Horizontal Pod Autoscaler(HPA)来实现自动伸缩应用。 使用一个负载生成器来模拟服务负载高的情形。 一个HP ......
k8s k8 8s

ansible使用【4】-- 踩坑指南--Jenkins下的拉取的ansible-playbook.yaml显示成功,实际失败

我本意想用git管理ansible-playbook.yaml的 比如,我有一个setup.yaml的剧本,里面写了如何创建环境。 例如: - hosts: webservers become: yes tasks: - name: Create a directory file: path: /h ......

Grafana针对内存监控值的学习与使用

Grafana针对内存监控值的学习与使用 背景 因为学习内存相关的知识, 可以通过pgcacher/sar -r 等命令监控系统信息. 但是现在发现. 不太直观, 所以想着使用别的方式来进行处理. 然后想到了使用Grafana的方式进行监控. 下午突击学习了下Panel的简单创建与编辑 感谢帮助过我 ......
内存 Grafana

K8s安装

K8s安装(单节点部署可行性确定) 本片文章参考如何用 Kubeadm 在 Debian 11 上安装 Kubernetes 集群、使用kubeadm安装单节点Kubernetes、使用阿里云源解决k8s安装拉取镜像失败的问题、解决crictl不能给镜像打tag的问题、k8s-国内源安装、安装 Do ......
K8s K8 8s

k8s中,如何通过token的方式,访问认证的kubelet的metrics指标?

1、背景说明 kubelet本身的10250端口,就提供了节点上的监控数据。 metrics server可以进行访问。 但是,如果想要通过浏览器,或者curl命令进行访问,发现,是需要进行认证 [root@nccztsjb-node-02 ~]# curl -k https://172.20.59 ......
指标 kubelet metrics 方式 token

prometheus + node-exporter + Grafana 监控Linux资源情况

背景 1.Oracle集群需要监控 2.下载 2.1 node_exporter-1.6.1.linux-amd64.tar.gz 2.2 prometheus-2.46.0.linux-amd64.tar.gz 3.采集数据 下载监控Linux的exporter(注意选择自己的操作系统,我的操作系 ......

K8s资源管理分享

K8s中的Node和Pod 1资源模型 Node 是集群资源的抽象,它提供资源,包含CPU/GPU/Memory/SSD,Network IP/port/bindwidth Pod 运行于Node上,是对容器的封装,是资源的使用者 Node资源划分 limited是一个服务上限,request是一个 ......
资源管理 资源 K8s K8 8s

k8s集群节点配置GPU

默认已有以下前置条件 k8s 1.10+ 操作系统:麒麟v10 SP2(Centos,Ubuntu等见“安装NVIDIA Container Toolkit”中其他源配置) GPU驱动:已安装 官方文档:https://github.com/NVIDIA/k8s-device-plugin 一、验证 ......
节点 集群 k8s GPU k8

使用 promethus 指标在 grafana 上创建 dashboard 的一些疑问记录

我用一个例子一步一步拆解一些常用的写法和指标。 这里我有一个需求是计算我的程序,每处理 1Gb 数据需要使用多少 CPU 时间。 (increase(container_cpu_usage_seconds_total{cluster="$cluster", namespace="$namespace ......
promethus dashboard 疑问 指标 grafana

五分钟k8s实战-Istio 网关

在上一期 k8s-服务网格实战-配置 Mesh 中讲解了如何配置集群内的 Mesh 请求,Istio 同样也可以处理集群外部流量,也就是我们常见的网关。 其实和之前讲到的k8s入门到实战-使用Ingress Ingress 作用类似,都是将内部服务暴露出去的方法。 只是使用 Istio-gatewa ......
网关 实战 Istio k8s k8
共3000篇  :10/100页 首页上一页10下一页尾页