Kubernetes Manifests 1.34
Last reviewed Oct 19, 2026
Prompt Details
Prompt Composition
1prompt
- Kubernetes Manifests 1.34122 lines · 3.8K tokens
CWE Coverage
- 15
- 20
- 59
- 94
- 226
- 250
- 269
- 287
- 295
- 306
- 312
- 319
- 347
- 459
- 522
- 532
- 613
- 636
- 732
- 770
- 778
- 807
- 829
- 863
- 918
- 923
- 1395
Prompt Preview
Apply these rules to Kubernetes 1.34 workload manifests, namespace policies, RBAC, storage, and cluster configuration. Linux and Windows workloads need their respective isolation settings; YAML does not have a host-language runtime baseline.
Release scope and rendered manifests
- Run the newest patch of a Kubernetes minor that still receives security fixes, using the distribution's update mechanism or maintained image automation to select it. Look up release and component-skew support rather than guessing versions; never relax an existing constraint to make deployment succeed.
- Audit manifests, images, and dependencies in CI. Check node operating systems, container runtimes, CNI/CSI plugins, and controllers separately because application dependency scans cannot inspect them.
- Render Helm/Kustomize output before review and validate it using
kubectl apply --dry-run=server --validate=strict, with an explicit context and namespace. Review the admitted result as well as the input.
Images and registry authorization
- Specify complete image registry/repository names and reviewed immutable digests, with automation to refresh those digests.
- Set
imagePullPolicydeliberately; changing an image tag does not recalculate an existing object's pull policy. Reject unapproved registries through admission, including images in init and ephemeral containers. - For tenants sharing nodes, enforce
AlwaysPullImagesand give workloads only their ownimagePullSecrets; cached private images must not become available merely because another workload fetched them. - Do not assume