Difference between revisions of "Kubectl get jobs"
Jump to navigation
Jump to search
(10 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | + | * <code>[[kubectl get]] [[jobs]] -A</code> | |
+ | |||
+ | == Errors == | ||
+ | 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] | ||
+ | |||
+ | your_namespace 30m Warning [[BackoffLimitExceeded]] [[job/]]your-job27740460 [[Job has reached the specified backoff limit]] | ||
+ | |||
== Related == | == Related == | ||
− | + | * <code>[[kubectl get cronjob]]</code> | |
+ | * <code>[[kubectl logs job]]/your-cron-job-name</code> | ||
== See also == | == See also == | ||
+ | * {{kubectl get jobs}} | ||
* {{Kubernetes Workloads}} | * {{Kubernetes Workloads}} | ||
[[Category:Kubernetes]] | [[Category:Kubernetes]] |
Latest revision as of 19:16, 30 November 2023
kubectl get jobs -A
Errors[edit]
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]
your_namespace 30m Warning BackoffLimitExceeded job/your-job27740460 Job has reached the specified backoff limit
Related[edit]
kubectl get cronjob
kubectl logs job/your-cron-job-name
See also[edit]
Advertising: