Traefik 资源类型(Kind)及其用途

Traefik 作为一个现代化的边缘路由器和代理服务器,在 Kubernetes 环境中使用了多种资源类型(Kind)来实现其功能。本文档将详细介绍这些资源类型及其用途。 1. Kubernetes 原生资源类型 这些是 Kubernetes 自身提供的资源类型,Traefik 利用它们来部署和配置

thumbnail of the cover of the post

kafka学习

参考kafka文档中的quickstart https://kafka.apache.org/quickstart#quickstart_startserver 1.下载并解压 wget https://dlcdn.apache.org/kafka/4.0.0/kafka_2.13-4.0.0.tg

thumbnail of the cover of the post

archlinux下wireguard

安装 sudo pacman -Sy wireguard-tools 编辑配置文件 vim /etc/wireguard/wg0.conf [Interface] Address = 192.0.2.2/24, 2001:db8:1::2/32 PrivateKey = aPUcp5vHz8yMLr

thumbnail of the cover of the post

UUID&SNOWFLAKE

在分布式系统中,唯一标识符的选择直接影响系统性能和可维护性。以下是UUID和雪花ID的深度对比分析,附带适用场景建议: 一、核心差异对比表

thumbnail of the cover of the post

id生成器Sonyflake

Sonyflake 是一个分布式唯一 ID 生成器,灵感来自Twitter 的 Snowflake。 Sonyflake 注重多主机/核心环境下的寿命和性能。因此,它与 Snowflake 的位分配不同。Sonyflake ID 由以下部分组成: 39 bits for time in units

thumbnail of the cover of the post

pve 关闭屏幕和合盖休眠

关闭合盖休眠 参考文章https://blog.csdn.net/William_Lee1333/article/details/128095617 sudo vim /etc/systemd/logind.conf #修改 HandleLidSwitch=ignore service system

thumbnail of the cover of the post

reugn/go-quartz

package main import ( "context" "log/slog" "net/http" "os" "time" "github.com/reugn/go-quartz/job" "github.com/reugn/go-quartz/logger" "gith

thumbnail of the cover of the post