useradd
or usermod
, within the cluster.kubectl get events --field-selector reason=UserMgmtBinaries
.kubectl get pods
command to list all the pods in the cluster.client.CoreV1Api().delete_namespaced_pod()
method to delete the pod(s) by providing the pod name and namespace.kubectl get pods
command again to ensure that the affected pod(s) have been deleted.