Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

367 total results found

Kafka

Nginx

Prometheus

VictoriaMetrics

Linux Command Line and Shell Scripting Bible

Linux

macOS

Bash

Golang

PHP

Python

VSCode

Zadig

minikube

Git

Aliyun

Collector

OpenTelemetry

Manual

OpenTelemetry

Teletrace

OpenTelemetry

Troubleshooting

OpenTelemetry

Data Types

ClickHouse

Manual

ClickHouse

Statements

ClickHouse

Manual

Elasticsearch

Troubleshooting

Elasticsearch

Manual

Minio

Commands

MySQL

Troubleshooting

MySQL

Manual

PostgreSQL

Troubleshooting

PostgreSQL

Sentinel

Redis

Manual

TiDB

Troubleshooting

TiDB

Troubleshooting

React

Manual

Ansible

Configuration

Grafana

Exec Format Error

Docker Troubleshooting

Image architecture(x86/arm64) not match. exec /run.sh: exec format error

image
docker

Failed to Extract Layer

Docker Troubleshooting

Errors FATA[0006] failed to extract layer sha256:d2d4d2c16a00dd998866a33049d4a1801ba34b719f377ffdf3ec7ae78c9b03eb: lstat /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/566/fs/var/cache/dnf/update-e8b0d229956b0b0b: not a directory: unknow...

docker
image
nerdctl
containerd
overlay

Nginx Logs

Fluent Bit Configuration

apiVersion: v1 kind: ConfigMap metadata: name: fluent-bit namespace: monitor selfLink: /api/v1/namespaces/monitor/configmaps/fluent-bit uid: 8e6515f6-bd93-4a01-82f5-e272dc423fd1 resourceVersion: '568097977' creationTimestamp: '2025-01-14T09:02:32Z'...

fluent-bit
nginx
config

Promethus Alert Manager

Fluent Bit Configuration

Put alert message to kafka via fluent-bit. Prometheus Alert Manager v Fluent Bit HTTP Webhook v Kafka Topic Fluent Bit [SERVICE] Flush 1 Log_Level debug [INPUT] Name http Listen 0.0.0.0 Port 9880 [FILTER...

fluent-bit
prometheus
alertmanager
config

Kernel Logs

Fluent Bit Inputs

https://docs.fluentbit.io/manual/pipeline/inputs/kernel-logs Configuration [INPUT] Name kmsg Tag kernel [OUTPUT] Name stdout Match kube.* Json_date_key timestamp Json_date_format iso8601 Format json [2025/01/22 08:22:29] [er...

kernel
fluent-bit
status
todo

Kubernetes Events

Fluent Bit Inputs

https://docs.fluentbit.io/manual/pipeline/inputs/kubernetes-events Config [INPUT] name kubernetes_events tag kube_events kube_url https://kubernetes.default.svc ClusterRole kubectl edit clusterrole fluent-bit apiVersion: rbac.author...

fluent-bit
kubernetes-events

Systemd

Fluent Bit Inputs

https://docs.fluentbit.io/manual/pipeline/inputs/systemd Configuration Fluent Bit [INPUT] Name systemd Tag systemd.kubelet Systemd_Filter _SYSTEMD_UNIT=kubelet.service Read_From_Tail On [INPUT] Name systemd ...

fluent-bit
systemd

Tail

Fluent Bit Inputs

https://docs.fluentbit.io/manual/pipeline/inputs/tail Tailing files keeping state The tail input plugin a feature to save the state of the tracked files, is strongly suggested you enabled this. For this purpose the db property is available, e.g: fluent-bit -i...

fluent-bit
tail

Filter Order

Fluent Bit Troubleshooting

Wrong [FILTER] Name modify Match kube.* Rename message log Rename msg log [FILTER] Name grep Match kube.* Exclude $log ^(GET /healthz|/ready|/health|/live|/ping)$ [FILTER] Name kube...

fluent-bit
filter
troubleshooting

Invalid Entry

Fluent Bit Troubleshooting

Invalid entry in /var/log/containers while fluent-bit pods start https://github.com/fluent/fluent-bit/issues/2676 Volume mount symlink should mount the link target too

fluent-bit
troubleshooting

Kube Tag Prefix

Fluent Bit Troubleshooting

Error incoming record tag (kube.containers) is shorter than kube_tag_prefix value (kube.var.log.containers.), skip filter Reproduce Set Tag to kube.foobar will trigger error. [INPUT] Name tail Path /var/log/containers/*.log multi...

fluent-bit
troubleshooting

Too Many Open Files

Fluent Bit Troubleshooting

https://github.com/fluent/fluent-bit/issues/1777 @aderuwe It might be more related to inotify mechanism - as by default (e.g. when using the default Docker image) this mechanism is used for tailing files in in_tail plugin: https://linux.die.net/man/2/inotify_...

inotify
ulimit
tail
troubleshooting
fluent-bit

Persistent Connection Issue

gRPC

Make A Test Use latest GRPC version. Client A call Service B on pod B1. Pod B1 die. Weather Client A will transfer to pod B2? Reference https://groups.google.com/g/grpc-io/c/_Kr71gYtQrw?pli=1

grpc
connection
long-lived
status
todo

Ingress Gateway Routing

Istio

When traffic goes into the istio-ingressgateway, how does the pod know which Gateway it should use to route the traffic? Match Gateway Envoy is the real gateway The Istio IngressGateway is a pod running Envoy proxy. It is configured by Istio control plane ...

istio
ingressgateway
routing
xds

Large Metrics

Istio Troubleshooting

Sometimes the metrics exposed by Istio can be very large, which may cause vmagent to fail when scraping them. There are two solutions: Increase vmagent scrape size. Reduce metics size.

istio
metrics
troubleshooting

Priority

Istio Virtual Service

优先级规则 Istio 并不显式声明“优先级”字段,而是靠 match 顺序 + 精确度 来决定哪个匹配生效: 1. 同一个 VirtualService 内 http 匹配规则是 自上而下顺序匹配,一旦匹配成功,就不会继续往下匹配。 所以,越“精确”的规则(如 regex、长 prefix)应该写在前面。 2. 多个 VirtualService 之间 Istio 的文档中说明了以下几个关键点: 项目 描述 hosts 每个 VS 只能作用于其指定的 hosts(服务名或通配名) gate...

istio
virtual-service
priority

Architecture

Jaeger

graph LR A[Java 应用] -->|OTLP| B[OpenTelemetry Collector] B -->|OTLP| C[Jaeger All-in-One] graph LR A[Jaeger All-in-One] -->|gRPC Plugin| B[ClickHouse Plugin] B -->|SQL| C[ClickHouse Database]

jaeger
trace

OTEL Jaeger Exporter

Jaeger Troubleshooting

Background Otel Collector remove native jaeger exporter port: 14250. Otel Collector use new otlp/jaeger exporter. Jaeger support otlp since v1.35.0. Connect Error Otel Collector can not connect to jaeger collector. 2025-02-19T08:56:49.561Z info i...

jeager
otel
troubleshooting

Logging Architecture

K8s Cluster Administration

https://kubernetes.io/zh-cn/docs/concepts/cluster-administration/logging/ Logging Path docker: /var/lib/docker/containers/ containerd: /var/log/containers/ logrotate: /etc/logrotate.d

k8s
logging

CPU Memory Stat

K8s Commands

Node Stat #!/bin/bash echo -e "NODE\t\t\tCPU Requests\tCPU Limits\tMemory Requests\tMemory Limits" for node in $(kubectl get nodes -o name | cut -d'/' -f2); do kubectl describe node "$node" | awk -v node="$node" ' BEGIN { cpu_req = cpu_lim = m...

k8s
commands
cpu
memory
stats