Add support for DaemonSet restarts to the Restarter

Open
#235 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
kubernetes

Research direction

Start by locating the Restarter implementation and the existing label-based StatefulSet restart path in the repository. Extend the investigation to DaemonSet workloads, then verify that a matching DaemonSet can be restarted when its ConfigMap configuration changes; the issue does not name a test file.

Written by the indexing model from the issue text.

Description

Use Case:
The Restarter already has the ability to restart StatefulSet workloads based on a label. This functionality should also be implemented for DaemonSet workloads, since some workloads, like the OpaCluster, are running as a DaemonSet but might need a restart when the configuration provided by a ConfigMap changes. The need for this extension surfaced during the refinement for https://github.com/stackabletech/opa-operator/issues/422
There exists a current workaround of manually restarting the Pods, so it's not very urgent.

Dominant language
Python
Stars
8
Forks
4
Avg merge
7h 48m
Merged PRs (30d)
7

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from stackabletech/commons-operator

All issues in stackabletech/commons-operator

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.