·k8s-timezone-config
</>

k8s-timezone-config

julianobarbosa/claude-code-skills

使用 TZ 环境变量为 Kubernetes Pod 配置时区。在部署需要巴西/圣保罗时区的工作负载或日志显示 UTC (+0000) 而不是本地时间时使用。

16安装·0热度·@julianobarbosa

安装

$npx skills add https://github.com/julianobarbosa/claude-code-skills --skill k8s-timezone-config

SKILL.md

Kubernetes pods run in UTC by default. Logs and application timestamps show +0000 offset instead of local Brazil time (-0300).

When a deployment has multiple containers (e.g., API server + frontend), add TZ to ALL containers:

| Dependency-Track | apiServer.extraEnv + frontend.extraEnv | Both containers need TZ | | Grafana | env or extraEnvVars | Single container | | Loki | extraEnv | Affects log timestamps | | Prometheus | server.env | Affects alert timestamps | | DefectDojo | extraEnv | Django app | | PostgreSQL | primary.extraEnvVars | Database timestamps |

使用 TZ 环境变量为 Kubernetes Pod 配置时区。在部署需要巴西/圣保罗时区的工作负载或日志显示 UTC (+0000) 而不是本地时间时使用。 来源:julianobarbosa/claude-code-skills。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/julianobarbosa/claude-code-skills --skill k8s-timezone-config
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 k8s-timezone-config?

使用 TZ 环境变量为 Kubernetes Pod 配置时区。在部署需要巴西/圣保罗时区的工作负载或日志显示 UTC (+0000) 而不是本地时间时使用。 来源:julianobarbosa/claude-code-skills。

如何安装 k8s-timezone-config?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/julianobarbosa/claude-code-skills --skill k8s-timezone-config 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/julianobarbosa/claude-code-skills

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-01