- Home
- Skills
- DevOps & Cloud
- kube noob
Works with the AI Agents you already use
kube noob
Deterministic Kubernetes and OpenShift audit tool for diagnosing logs, manifests, and known bugs without AI hallucination.
Free
kube noob
Example session with this skill installed
I'm getting a Pod Security admission denial when trying to deploy this manifest in my OpenShift 4.14 cluster. Can you tell me why it's blocked?
- Read your context and instructions
- Compiled the kube noob
I have analyzed the admission denial using the explain_denial tool against your OpenShift 4.14 configuration.
Admission Denial Analysis
| Field | Value |
|---|---|
| Finding ID | KN-PSP-004 |
| Policy Source | Pod Security Standards (Restricted) |
| Violation | allowPrivilegeEscalation must be set to false |
| Resource | Deployment/frontend-api |
| Remediation | Update spec.template.spec.containers[0].securityContext.allowPrivilegeEscalation to false. |
| Reference | [kn:ocp-scc#restricted-v2] |
The audit shows that the "restricted-v2" Security Context Constraint (SCC) is active on this namespace. In OpenShift 4.14, the restricted profile explicitly forbids containers that do not explicitly opt-out of privilege escalation. This matches known playbook DBG-SEC-001.
Suggested Manifest Patch
spec:
template:
spec:
containers:
- name: frontend-api
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop: ["ALL"]
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
Next steps
- Apply the suggested
securityContextpatch to your deployment manifest. - Verify the fix by running
oc apply --dry-run=serverto check for remaining admission denials. - Run
insighton the pod logs if the container starts but fails to reach the 'Ready' state.
Connects securely to your tools. The creator never sees your data.
About this skill
Kubernetes and OpenShift environments often fail with cryptic events, admission denials, or complex NetworkPolicy overlaps. Troubleshooting these issues usually requires scouring scattered release notes, Red Hat Jira tickets, and policy documentation. This skill provides a deterministic, offline rulebook for auditing manifests and diagnosing cluster failures without relying on hallucinated AI advice.
What it does
- Audit manifests checks YAML and Helm templates against a pre-defined library of security and stability rules.
- Diagnose events parses kubectl or oc describe output, logs, and alerts to match known playbooks.
- Identify bugs cross-references OpenShift error strings with specific release notes and OCPBUGS Jira tickets.
- Explain denials breaks down why requests were blocked by Pod Security, SCC, Kyverno, Gatekeeper, or RHACS.
- Network reachability calculates whether pod-to-pod communication is permitted based on current NetworkPolicy.
- Interactive learning provides graded exercises and lessons for Kubernetes and OpenShift practice.
How it works
- Initialize the environment by running the
checkcommand to ensure Pydantic and YAML dependencies are present. - Ingest text by saving logs, manifests, or error messages to a temporary file for the tool to read.
- Execute insight by running the
insightoraudit_manifestscommand with the appropriate platform and version flags. - Apply fixes using the
fix_manifestscommand for automated, safe remediation of detected audit findings.
Frameworks & tools
This skill runs on Python 3.11+ using Pydantic, PyYAML, and jsonschema. It supports Kubernetes, OpenShift, ROSA HCP, Helm, and RHACS.
Why this beats prompting it yourself
Standard LLMs often guess at Kubernetes API versions or invent non-existent OpenShift flags. This tool uses a deterministic database of real-world playbooks and bug IDs, ensuring every diagnosis is backed by cited documentation rather than statistical probability.
Use cases
- Reviewing Helm charts for security violations before deployment to production.
- Debugging why an OpenShift upgrade is stalled or identifying version-specific risks.
- Migrating legacy Kyverno policies to CEL types for newer cluster versions.
- Training junior engineers through interactive, graded Kubernetes lab exercises.
Known limitations
Requires Python 3.11+ and specific versions of Pydantic, PyYAML, and jsonschema. It operates strictly offline with no live cluster access or real-time web lookups.
Requires Python 3.11+ and specific versions of Pydantic, PyYAML, and jsonschema. Operates strictly offline without live cluster or web access.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free forever
No account required to browse
Trust & safety
Security scan
Security scan passed 17 days ago
- Free with an Agensi account
Requires
Permissions
Allowed Hosts