[JIRA] (JENKINS-61852) Allow use of Kubernetes Jobs

3 views
Skip to first unread message

karl-philipp.richter@orgavision.com (JIRA)

unread,
Apr 9, 2020, 9:23:03 AM4/9/20
to jenkinsc...@googlegroups.com
Karl-Philipp Richter created an issue
 
Jenkins / New Feature JENKINS-61852
Allow use of Kubernetes Jobs
Issue Type: New Feature New Feature
Assignee: Unassigned
Components: kubernetes-plugin
Created: 2020-04-09 13:22
Priority: Minor Minor
Reporter: Karl-Philipp Richter

As a user I want to make sure that Kubernetes Objects created by the Jenkins Kubernetes Plugin don't exist longer than a certain deadline in order make sure that automatic downscaling of k8s node pools can be performed. This avoids unnecessary costs for pods which are stuck in error state.

Even though and issue with pods remaining in error state is tracked at https://issues.jenkins-ci.org/browse/JENKINS-54540 the use of jobs would introduce an additional safety using built-in functions of the Kubernetes scheduler.

The concept of jobs is described at https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

karl-philipp.richter@orgavision.com (JIRA)

unread,
Apr 9, 2020, 9:35:03 AM4/9/20
to jenkinsc...@googlegroups.com
Karl-Philipp Richter updated an issue
As a user I want to make sure that Kubernetes Objects created by the Jenkins Kubernetes Plugin don't exist longer than a certain deadline in order make sure that automatic downscaling of k8s node pools can be performed. This avoids unnecessary costs for pods which are stuck in error state.

Even though and issue with pods remaining in error state is tracked at https://issues.jenkins-ci.org/browse/JENKINS-54540 the use of jobs would introduce an additional safety using built-in functions of the Kubernetes scheduler.

The concept of jobs is described at https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/. It's the preferred way of performing tasks that terminate in Kubernetes.
Reply all
Reply to author
Forward
0 new messages