Project

General

Profile

Actions

action #112511

closed

coordination #112454: [epic] Kubernetes testing

[Investigation] Check Helm deployment TTL and apply it to our test

Added by jlausuch about 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
2022-06-15
Due date:
% Done:

0%

Estimated time:

Description

In Helm test, we are currently installing the charts without TTL, and there could be a situation where the job is cancelled or killed right after the chart deployment and there is no cleanup performed. This can create left-overs in our K8S environments in the Public Cloud providers.

There are 2 solutions
1) Add cleanup of K8S pods in Public Cloud Watcher (might be needed anyways)
2) Investigate how to inject TTL information to the deployment https://github.com/jnummelin/pod-ttl-operator
3) Create own helm chart which will run a container which will exit after defined period of time

Option 1) is preferable, but if we can solve any potential left overs with option 2), then there is no rush in adding this functionality to pcw and we should add that TTL to the helm install command/configuration.


Related issues 1 (0 open1 closed)

Related to Containers - action #112517: Create our own Helm Chart for Helm testsResolvedpdostal2022-06-15

Actions
Actions #1

Updated by pdostal about 2 years ago

  • Description updated (diff)
Actions #2

Updated by pdostal about 2 years ago

  • Assignee set to pdostal
Actions #3

Updated by pdostal about 2 years ago

I moved the simple-job which just cats /etc/os-release into my helm chart which is basically a git repository.

Actions #4

Updated by pdostal almost 2 years ago

  • Status changed from Workable to In Progress
Actions #5

Updated by pdostal almost 2 years ago

  • Related to action #112517: Create our own Helm Chart for Helm tests added
Actions #6

Updated by pdostal almost 2 years ago

  • Status changed from In Progress to Resolved

We now have our own chart which deploys only a job which ends itself so this is done.

Actions

Also available in: Atom PDF