/prodsec-skills:observabilityfrom prodsec-skills
Configures Kubernetes workload observability including container logging, CRD status reporting, port naming conventions, image tagging, and API compatibility. Use when writing, reviewing, or auditing CRDs, container specs, Services, or preparing for OpenShift version upgrades.
Ships in prodsec-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Configure workloads for operational visibility by following logging, naming, tagging, and API compatibility best practices.
Containers must log to stdout and stderr. Do not redirect logs to files inside the container — platform log collection (Fluentd, Vector, Loki) relies on capturing stdout/stderr streams.
Required for: Telco (mandatory), Far-Edge (mandatory), Extended (mandatory), Non-Telco (optional)
containers:
- name: app
image: registry.example.com/app:v1.2.3
command: ["/app"]
Avoid patterns like redirecting output to a log file:
/app > /var/log/app.log 2>&1 # Don't do this
All Custom Resource Definitions must include a status sub-resource specification. The status sub-resource enables the platform to track the state of custom resources and allows controllers to report status separately from spec updates.
Required for: Telco (mandatory), Far-Edge (mandatory), Extended (mandatory), Non-Telco (optional)
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: myresources.app.example.com
spec:
group: app.example.com
names:
kind: MyResource
plural: myresources
scope: Namespaced
versions:
- name: v1
served: true
storage: true
subresources:
status: {}
schema:
openAPIV3Schema:
type: object
properties:
spec:
type: object
status:
type: object
Container port names must follow the format <protocol>[-<suffix>]. This convention enables service mesh integration and platform-level traffic management.
Required for: Extended (mandatory), all others (optional)
| Valid | Invalid |
|---|---|
http | my-port |
http-api | port-8080 |
grpc-data | app |
tcp-metrics | metrics |
containers:
- name: app
ports:
- containerPort: 8080
name: http-api
- containerPort: 9090
name: http-metrics
- containerPort: 50051
name: grpc-data
All container images must have explicit tags. Do not rely on the implicit latest tag — it makes deployments non-reproducible and prevents rollback.
Required for: Extended (mandatory), all others (optional)
containers:
- name: app
image: registry.example.com/app:v1.2.3 # Good: explicit tag
# image: registry.example.com/app # Bad: implicit latest
# image: registry.example.com/app:latest # Bad: explicit latest
Workload APIs must be compatible with the next OpenShift version. Before upgrading, verify that no deprecated or removed APIs are in use by the workload's CRDs, webhooks, or API calls.
Required for: Telco (mandatory), Far-Edge (mandatory), Extended (mandatory), Non-Telco (optional)
Use oc api-resources and the Kubernetes API deprecation guide to check for deprecated APIs before platform upgrades.
status sub-resource defined<protocol>[-<suffix>] formatlatest)| Guidance | Certsuite Test ID | Profiles |
|---|---|---|
| Log to stdout/stderr | observability-container-logging | Telco/Far-Edge/Extended: mandatory, Non-Telco: optional |
| CRD status sub-resource | observability-crd-status | Telco/Far-Edge/Extended: mandatory, Non-Telco: optional |
| Port naming convention | manageability-container-port-name-format | Extended: mandatory, all others: optional |
| Explicit image tags | manageability-containers-image-tag | Extended: mandatory, all others: optional |
| API compatibility | observability-compatibility-with-next-ocp-release | Telco/Far-Edge/Extended: mandatory, Non-Telco: optional |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub redhatproductsecurity/prodsec-skills --plugin prodsec-skills130 skills in this plugin
/address-sanitizerAddressSanitizer detects memory errors during fuzzing. Use when fuzzing C/C++ code to find buffer overflows and use-after-free bugs.
/admin-interface-securitySecure the administrative interface of model registries. Use when building, deploying, or reviewing model registry access controls and admin interfaces./aflppAFL++ is a fork of AFL with better fuzzing performance and advanced features. Use for multi-core fuzzing of C/C++ projects.
Other plugins' skills for the same job