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>
  
  6m10s      Warning  [[FailedCreate]]  job/cattle-node-cleanup-8k2s8  Error creating: pods "cattle-node-cleanup-8k2s8-" is forbidden: [[PodSecurityPolicy]]: una
+
  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 val
ble to admit pod: [spec.volumes[0]: Invalid value: "[[hostPath]]": hostPath volumes are not allowed to be used spec.volumes[0].hostPath.pathPrefix: Invalid val
 
 
ue: "[[/var/run/docker.sock]]": is not allowed to be used]
 
ue: "[[/var/run/docker.sock]]": is not allowed to be used]
  

Revision as of 09:00, 18 September 2023

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 val

ue: "/var/run/docker.sock": is not allowed to be used]

Related

 your_namespace         30m         Warning   BackoffLimitExceeded      job/your-job27740460                           Job has reached the specified backoff limit

See also

Advertising: