Difference between revisions of "Kubectl get jobs"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
 
* <code>[[kubectl get]] [[jobs]] -A</code>
 
* <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]
 
  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 get cronjob]]</code>
 
* <code>[[kubectl logs job]]/your-cron-job-name</code>
 
* <code>[[kubectl logs job]]/your-cron-job-name</code>
  your_namespace        30m        Warning  [[BackoffLimitExceeded]]      [[job/]]your-job27740460                          [[Job has reached the specified backoff limit]]
 
  
 
== See also ==
 
== See also ==

Revision as of 19:16, 30 November 2023


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

See also

Advertising: