Toolverse
All skills

k8s-security-policies

by wshobson

Implement Kubernetes security policies including NetworkPolicy, PodSecurityPolicy, and RBAC for production-grade security. Use when securing Kubernetes clusters, implementing network isolation, or enforcing pod security standards.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
wshobson
Category
Security
Views
22

About this skill

Implement Kubernetes security policies including NetworkPolicy, PodSecurityPolicy, and RBAC for production-grade security. Use when securing Kubernetes clusters, implementing network isolation, or enforcing pod security standards.

How to use

  1. Zainstaluj umiejętność w swoim agencie Kubernetes, dodając ją do listy dostępnych pluginów operacyjnych. Upewnij się, że masz dostęp do klastra i uprawnienia do tworzenia zasobów sieciowych oraz polityk bezpieczeństwa.

  2. Zdefiniuj poziom bezpieczeństwa dla swoich przestrzeni nazw (namespace). Wybierz jeden z trzech poziomów: Privileged (bez ograniczeń), Baseline (minimalne ograniczenia) lub Restricted (maksymalne ograniczenia). Dodaj odpowiednie etykiety pod-security.kubernetes.io do metadanych namespace, aby wymusić wybrany standard.

  3. Wdróż polityki sieciowe, zaczynając od reguły default-deny-all, która blokuje cały ruch przychodzący i wychodzący. Następnie dodaj konkretne reguły NetworkPolicy, aby zezwolić na komunikację między wybranymi komponentami (np. frontend do backend).

  4. Skonfiguruj RBAC, definiując role i wiązania ról (RoleBinding) dla użytkowników i serwisów. Przydziel każdemu podmiotowi tylko uprawnienia niezbędne do wykonania jego funkcji, stosując zasadę najmniejszych uprawnień.

  5. Przetestuj wdrożone polityki, uruchamiając pody w różnych namespace i weryfikując, czy ruch sieciowy jest blokowany lub zezwalany zgodnie z oczekiwaniami. Monitoruj logi audytu, aby upewnić się, że polityki działają poprawnie.

  6. W razie potrzeby dostosuj polityki bezpieczeństwa na podstawie wymagań aplikacji i standardów compliance. Dokumentuj wszystkie zmiany w celu utrzymania spójności bezpieczeństwa w klastrze.

Related skills

openapi-spec-generation

by wshobson

Generate and maintain OpenAPI 3.1 specifications from code, design-first specs, and validation patterns. Use when creating API documentation, generating SDKs, or ensuring API contract compliance.

Security
18109

skill-writer

by pytorch

Guide users through creating Agent Skills for Claude Code. Use when the user wants to create, write, author, or design a new Skill, or needs help with SKILL.md files, frontmatter, or skill structure.

Security
15116

qmd

by tobi

Search personal markdown knowledge bases, notes, meeting transcripts, and documentation using QMD - a local hybrid search engine. Combines BM25 keyword search, vector semantic search, and LLM re-ranking. Use when users ask to search notes, find documents, look up information in

Security
1951

architect-review

by sickn33

Master software architect specializing in modern architecture patterns, clean architecture, microservices, event-driven systems, and DDD. Reviews system designs and code changes for architectural integrity, scalability, and maintainability. Use PROACTIVELY for architectural

Security
2773

reviewing-code

by CaptainCrouton89

Systematically evaluate code changes for security, correctness, performance, and spec alignment. Use when reviewing PRs, assessing code quality, or verifying implementation against requirements.

Security
1493

youtube-watcher

by openclaw

Fetch and read transcripts from YouTube videos. Use when you need to summarize a video, answer questions about its content, or extract information from it.

Security
2231