Skip to content

Commit

Permalink
Merge pull request #1726 from soltysh/deprecate_extensionsjob
Browse files Browse the repository at this point in the history
Deprecate extensions/v1beta1.Job
  • Loading branch information
devin-donnelly authored Nov 21, 2016
2 parents ed92093 + 9690391 commit e6f9f1f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions docs/user-guide/jobs.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ due to a node hardware failure or a node reboot).

A Job can also be used to run multiple pods in parallel.

### extensions/v1beta1.Job is deprecated

Starting from version 1.5 `extensions/v1beta1.Job` is being deprecated, with a plan to be removed in
version 1.6 of kubernetes (see this [issue](https://github.com/kubernetes/kubernetes/issues/32763)).
Please use `batch/v1.Job` instead.

## Running an example Job

Here is an example Job config. It computes π to 2000 places and prints it out.
Expand Down
4 changes: 3 additions & 1 deletion docs/user-guide/kubectl-conventions.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ In order for `kubectl run` to satisfy infrastructure as code:
* Pod - use `run-pod/v1`.
* Replication controller - use `run/v1`.
* Deployment - use `deployment/v1beta1`.
* Job (using `extension/v1beta1` endpoint) - use `job/v1beta1`.
* Job (using `extension/v1beta1` endpoint) - use `job/v1beta1`. Starting from
version 1.5 of kuberentes this generator is deprecated, with a plan to be
removed in 1.6. Please use `job/v1` instead.
* Job - use `job/v1`.
* ScheduledJob - use `scheduledjob/v2alpha1`.

Expand Down

0 comments on commit e6f9f1f

Please sign in to comment.