Skip to content
Back to skills

K8s Memory Tune

ASecurity

**触发词**: oomkilled, memory_limit, jvm_heap, container_memory, k8s 内存

  • 2 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added October 18, 2026
devops

Security analysis

A100/100

Scanned October 18, 2026

npx -y skills add johnalbertini14-glitch/openclaw-skills --skill k8s-memory-tune --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of K8s Memory Tune?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for K8s Memory Tune
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/johnalbertini14-glitch-k8s-memory-tune/badge)](https://www.skillsdirectory.com/skills/johnalbertini14-glitch-k8s-memory-tune)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
# K8s JVM 内存调优

**触发词**: oomkilled, memory_limit, jvm_heap, container_memory, k8s 内存

## 问题
K8s Pod 被 OOMKilled,JVM 内存 limit 设置不合理

## 解决方案
1. 使用 MaxRAMPercentage 动态计算堆大小
2. 容器感知内存监控
3. 峰值流量预警

```yaml
# JVM 参数
-XX:+UseCGroupMemoryLimitForHeap
-XX:MaxRAMPercentage=75.0
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in devops →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.