Script Management for Worker Nodes
Run common maintenance and troubleshooting scripts directly from the application. This reduces the need for command line interface (CLI) access or coordination with support by providing an effective and easy way to execute critical scripts.
Script Management is currently under Public Preview starting in 202505.1.0. Please contact your account representative or OneTrust Support to request early access.
Script execution will be unavailable for any new worker nodes without current installations or any problematic worker nodes with non-functional dd-workernode-ops pod.
To access script management
Limitations
Scripts that attempt to delete and recreate PVCs may not fully clean up ReadWriteMany (RWX) type volumes, especially when:
-
The storage class is backed by NFS mounts across namespaces (e.g., via nfs-provisioner pods), or mounts are external (e.g., on a remote NFS server or EFS). In such cases, cleanup requires:
-
Manual deletion of the PVC and PV objects.
-
Manual cleanup of the backing directory (volume path) on the NFS/EFS server.
-
-
These actions cannot be performed by WMA scripts since:
- lack cross-namespace permissions
-
The executing podsto access thenfs-provisionerorefs-provisioner.
- do not have shell access
-
Theyinto provisioner pods or the NFS server directly.
RBAC/Permission-Related Failures
This feature relies on a service account to execute jobs within the namespace. If this service account does not have sufficient RBAC permissions, certain scripts may fail. Examples include:
-
Missing delete, create, or patch access on resources like pods, pvc, sts, deployments, etc.
-
Inability to exec into a running pod (for scripts that require in-pod command execution).
reset* scripts are not supported in AWS Fargate due to above limitations. Other scripts will still continue to work as expected.