-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Description
When creating Kubernetes Job, with yaml :
kind: Job
apiVersion: batch/v1
Error :
java.io.IOException: Unknown apiVersionKind: batch/v1/Job known kinds are:
and then a list of known kinds.
But here shows apiVersion: batch/v1
for job.
Also, when I try to create Job with yaml :
kind: Job
apiVersion: v1
Error :
io.kubernetes.client.ApiException: Bad Request at io.kubernetes.client.ApiClient.handleResponse(ApiClient.java:882) at io.kubernetes.client.ApiClient.execute(ApiClient.java:798) at io.kubernetes.client.apis.BatchV1Api.createNamespacedJobWithHttpInfo(BatchV1Api.java:160) at io.kubernetes.client.apis.BatchV1Api.createNamespacedJob(BatchV1Api.java:144)
Metadata
Metadata
Assignees
Labels
No labels