Difference between revisions of "Kubectl get jobs"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
* <code>[[kubectl get]] [[jobs]] -A</code> | * <code>[[kubectl get]] [[jobs]] -A</code> | ||
− | 6m10s Warning [[FailedCreate]] job/cattle-node-cleanup-8k2s8 Error creating: pods "cattle-node-cleanup-8k2s8-" is forbidden: [[PodSecurityPolicy]]: unable to admit pod: [spec.volumes[0]: Invalid value: "[[hostPath]]": hostPath volumes are not allowed to be used spec.volumes[0].hostPath.pathPrefix: Invalid value: "[[/var/run/docker.sock]]": is not allowed to be used] | + | 6m10s [[Warning]] [[FailedCreate]] job/cattle-node-cleanup-8k2s8 Error creating: pods "cattle-node-cleanup-8k2s8-" is forbidden: [[PodSecurityPolicy]]: unable to admit pod: [spec.volumes[0]: Invalid value: "[[hostPath]]": hostPath volumes are not allowed to be used spec.volumes[0].hostPath.pathPrefix: Invalid value: "[[/var/run/docker.sock]]": is not allowed to be used] |
== Related == | == Related == |
Revision as of 09:01, 18 September 2023
kubectl get jobs -A
6m10s Warning FailedCreate job/cattle-node-cleanup-8k2s8 Error creating: pods "cattle-node-cleanup-8k2s8-" is forbidden: PodSecurityPolicy: unable to admit pod: [spec.volumes[0]: Invalid value: "hostPath": hostPath volumes are not allowed to be used spec.volumes[0].hostPath.pathPrefix: Invalid value: "/var/run/docker.sock": is not allowed to be used]
Related
kubectl get cronjob
kubectl logs job/your-cron-job-name
your_namespace 30m Warning BackoffLimitExceeded job/your-job27740460 Job has reached the specified backoff limit
See also
Advertising: