Production-grade platform engineering handbook — Kubernetes, Terraform, Flux CD, GitHub Actions, AWS, and more.
67
84%
Does it follow best practices?
Impact
—
No eval scenarios have been run
Passed
No known issues
Status: Stable
Manifests for adapting workloads and platform components to Red Hat OpenShift constraints — Routes, tenant isolation, and SCC-compatible security contexts.
| File | What it shows | Key patterns |
|---|---|---|
| route.yaml | OpenShift Route with edge TLS termination and HTTP→HTTPS redirect | tls.termination: edge, insecureEdgeTerminationPolicy: Redirect |
| resource-quota.yaml | ResourceQuota and LimitRange for tenant namespace isolation | CPU/memory bounds, object count limits, default container limits |
# Apply tenant isolation (quota before workloads land)
oc apply -f resource-quota.yaml
# Expose a service via Route
oc apply -f route.yaml
# Verify quota usage
oc describe quota -n <namespace>
# Verify route is serving
oc get route -n <namespace>
curl -I https://$(oc get route my-app -n <namespace> -o jsonpath='{.spec.host}')OpenShift enforces Security Context Constraints (SCC). Every container must pass the restricted SCC by default:
# ✅ Works with OpenShift restricted SCC
securityContext:
runAsNonRoot: true # Do NOT set runAsUser to a specific UID — OpenShift assigns one
allowPrivilegeEscalation: false
capabilities:
drop: ["ALL"]# ❌ Will fail OpenShift SCC validation
securityContext:
runAsUser: 1000 # Specific UID not allowed under restricted SCC| Mode | Where TLS terminates | Use when |
|---|---|---|
edge | At the router | Default; backend receives plain HTTP |
passthrough | At the pod | mTLS required to the pod |
reencrypt | At router and re-encrypted to pod | Compliance requirement for in-cluster encryption |
Each team namespace gets:
ResourceQuota — caps total CPU, memory, and object countsLimitRange — sets default requests/limits so pods without explicit values still have boundsNetworkPolicy — default-deny; see kubernetes/network-policy-default-deny.yamledit role on their own namespace, no cross-namespace accessrestricted SCC: no specific runAsUser, no host ports, capabilities droppedinsecureEdgeTerminationPolicy: Redirect to prevent plain HTTP access/platform-skills:debug — structured diagnosis for OpenShift issues.claude-plugin
.github
commands
docs
examples
agent-self-improve
argocd
awesome-docs
aws
cloudfront
functions
lambda-edge
functions
azure
compliance
conventional-commits
datadog
llm-observability
demo
documentation
dora
dynatrace
fluxcd
github-actions
composite-actions
configure-cloud
db-migrate
docker-build-push
k8s-deploy
notify-slack
pr-comment
release-tag
security-scan
setup-env
setup-terraform
terraform-plan
helm
web-service
templates
kubernetes
kyverno
mcp
observability
openshift
pr-review
ownership
runtime-security
supply-chain
terraform
references
scripts
skills
platform-skills
tests