Skip to main content
ReferenceApplies to: CloudPrem on AWS
The core e6data workloads pass Kubernetes Pod Security restricted once you turn on e6data pod hardening. Exceptions: the cluster log and metrics collector (on by default in e6data’s install) and the optional Metriq sandbox worker. The usage stack, Copilot, Metriq and Tessellate were not checked. Pod Security restricted and Kyverno in Enforce mode work end to end with the steps below.

Requirements

  • Turn on e6data pod hardening before you enforce restricted.
  • If cluster monitoring is on (the default in e6data’s install), the collector DaemonSet otelcol-unified in e6operator needs an exemption: it fails baseline (hostPath /var/log; host ports 4317 and 4318).
  • The optional Metriq sandbox worker fails baseline even with hardening on. It needs a Pod Security exemption, or turn it off.
  • Keep kube-system excluded from your policies. The e6data node scaler (Karpenter) runs there.
  • If your policies require the label app.kubernetes.io/name on every pod, add a mutate policy (below).

What passes

With e6data pod hardening on, every workspace pod runs as non-root with a read-only root filesystem, all capabilities dropped, privilege escalation off and the RuntimeDefault seccomp profile. The operator namespace passes restricted with cluster monitoring off. With it on (the default), exempt otelcol-unified in e6operator.

Steps: Pod Security restricted

  1. Turn on e6data pod hardening:
    The workspace chart doesn’t expose this setting yet. Use the patch above, or the operator-wide E6_POD_SECURITY_HARDENING setting, and check it is still set after a reinstall.
  2. Restart the workspace deployments, and suspend and resume any running clusters, so pods pick up the setting.
  3. Enforce:
Turn on hardening before you enforce restricted. Pods created earlier stay non-compliant, and a recreated pod is then rejected.

Steps: Kyverno or Gatekeeper label policy

If a policy requires app.kubernetes.io/name, the resume starts, the policy rejects the planner, queue and executor pods, and e6data rolls the cluster back to Suspended. Running pods are not affected. Add a mutate policy, scoped to the e6data namespaces, that copies e6data’s own component or app label into app.kubernetes.io/name. Mutation runs before validation, so the pods pass. With this policy, Kyverno 1.19.2 in Enforce mode works end to end.

Preflight check

Run a server-side dry run. It shows which policy blocks which pod, without changing anything.

Verify

  1. Resume a cluster from the e6data console. It reaches Running.
  2. Run a query and check it appears in Query History.
  3. kubectl get events -n <WORKSPACE_NAME> | grep -i FailedCreate returns nothing.

Troubleshooting

Limitations

  • A specific user or group ID required by your policy: ask e6data for the supported settings.
  • Putting the workspace namespace inside an Istio mesh: refused by Pod Security restricted. Exclude e6data namespaces from the mesh.

See also

Last modified on December 1, 2026