Skip to content

feat: Make containerdebug configurable - #899

Open
Maleware wants to merge 9 commits into
mainfrom
feat/containerdebug-config
Open

Maleware wants to merge 9 commits into
mainfrom
feat/containerdebug-config

Conversation

@Maleware

Copy link
Copy Markdown
Member

Description

part of stackabletech/issues#884

Definition of Done Checklist

  • Not all of these items are applicable to all PRs, the author should update this template to only leave the boxes in that are relevant
  • Please make sure all these things are done and tick the boxes

Author

  • Changes are OpenShift compatible
  • CRD changes approved
  • CRD documentation for all fields, following the style guide.
  • Helm chart can be installed and deployed operator works
  • Integration tests passed (for non trivial changes)
  • Changes need to be "offline" compatible
  • Links to generated (nightly) docs added
  • Release note snippet added

Reviewer

  • Code contains useful comments
  • Code contains useful logging statements
  • (Integration-)Test cases added
  • Documentation added or updated. Follows the style guide.
  • Changelog updated
  • Cargo.toml only contains references to git tags (not specific commits or branches)

Acceptance

  • Feature Tracker has been updated
  • Proper release label has been added
  • Links to generated (nightly) docs added
  • Release note snippet added
  • Add type/deprecation label & add to the deprecation schedule
  • Add type/experimental label & add to the experimental features tracker

Adds the containerdebug config (enabled, interval) from stackable-operator 0.122.0 to the Airflow role config and starts containerdebug from the validated, merged role group config. Kubernetes executor pods don't run containerdebug, so the executor config does not get the field.
@Maleware Maleware self-assigned this Nov 23, 2026
@Maleware Maleware moved this to Development: In Progress in Stackable Engineering Nov 23, 2026
@Maleware Maleware changed the title Feat/containerdebug config feat: Make containerdebug configurable Nov 23, 2026
@Maleware
Maleware marked this pull request as ready for review November 24, 2026 10:11
@Maleware Maleware moved this from Development: In Progress to Development: Waiting for Review in Stackable Engineering Nov 24, 2026
@razvan
razvan self-requested a review November 30, 2026 13:10
@razvan razvan moved this from Development: Waiting for Review to Development: In Review in Stackable Engineering Nov 30, 2026

@razvan razvan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one suggestion

#[allow(clippy::too_many_arguments)]
fn validate_role_group(
role: &AirflowRoleType,
airflow_role: &AirflowRole,

@razvan razvan Nov 30, 2026 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a bit confusing. I suggest changing it to be more clear:

Suggested change
airflow_role: &AirflowRole,
role_name: &RoleName,

Requires also updating the call site of this function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Development: In Review

Development

Successfully merging this pull request may close these issues.

2 participants