Project

General

Profile

Actions

coordination #120660

open

[epic] Clean up old kubernetes jobs automatically

Added by ilausuch over 1 year ago. Updated 9 months ago.

Status:
In Progress
Priority:
Low
Assignee:
-
Target version:
-
Start date:
2023-01-23
Due date:
% Done:

66%

Estimated time:
(Total: 0.00 h)

Description

Motivation

We had multiple openQA tests fail in run_container_in_k8s_GCE because of many pending jobs in our Kubernetes Cluster. This means that part of the cleanup process does not work as intended.

Motivation

Sometimes the tests doesn't clean properly the jobs in the k8s clusters. This leads to a lack of resources and tests failing.

Acceptance criteria

  • AC 1: Check the cleanup process
  • AC 2: If is a situation we cannot prevent, create a method to cleanup old jobs in each run (e.g. >1day)

Subtasks 9 (3 open6 closed)

action #123499: PCW: Cleanup old jobs in google kubernetesResolvedilausuch2023-01-23

Actions
action #123502: PCW: Cleanup old jobs in azure kubernetesResolvedilausuch2023-01-23

Actions
action #123505: Replace kubeconf adquire method on amazon job cleanup Closed2023-01-23

Actions
action #123511: Helm chart test is not deleting the namespaces properlyResolvedpdostal2023-01-23

Actions
action #123514: [PCW] Cleanup namespaces in amazon kubernetes clusterWorkable2023-01-23

Actions
action #123517: [PCW] Cleanup namespaces in google kubernetes clusterWorkable2023-01-23

Actions
action #123520: [PCW] Cleanup namespaces in azure kubernetes clusterWorkable2023-01-23

Actions
action #123730: PCW: Create a container to clean up the leftovers of the kubernetes clustersResolvedilausuch2023-01-27

Actions
action #124664: PCW: Move the kubernetes cleanup for jobs in Amazon to the cleanup_k8s scriptResolvedilausuch2023-02-16

Actions

Related issues 1 (0 open1 closed)

Related to Containers - action #120624: test fails in run_container_in_k8s_GCEResolvedilausuch2022-11-16

Actions
Actions

Also available in: Atom PDF