Difference between revisions of "Kubectl get jobs"

From wikieduonline
Jump to navigation Jump to search
(Created page with "{{lc}} kubectl get jobs -A")
 
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
kubectl get jobs -A
+
* <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 ==
 +
* <code>[[kubectl get cronjob]]</code>
 +
* <code>[[kubectl logs job]]/your-cron-job-name</code>
 +
 
 +
== See also ==
 +
* {{kubectl get jobs}}
 +
* {{Kubernetes Workloads}}
 +
 
 +
[[Category:Kubernetes]]

Latest revision as of 19:16, 30 November 2023

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]

See also[edit]

Advertising: