Skip to content

Document a way to run the plugin and the sidecar with logLevel=debug #514

Closed

Description

@mnencia

Currently, there is no documented way to run the plugin in debug mode.

Issue #501 is probably related.

Activity

  1. added theissue type on Sep 9, 2025
  2. armru commented on Sep 9, 2025

    @armru
    Member

    I think specifying the envs could be enough? In that case we should only document the usage

    // InstanceSidecarConfiguration defines the configuration for the sidecar that runs in the instance pods.
    type InstanceSidecarConfiguration struct {
    	// The environment to be explicitly passed to the sidecar
    	// +optional
    	Env []corev1.EnvVar `json:"env,omitempty"`
    
    	// The retentionCheckInterval defines the frequency at which the
    	// system checks and enforces retention policies.
    	// +kubebuilder:default:=1800
    	// +optional
    	RetentionPolicyIntervalSeconds int `json:"retentionPolicyIntervalSeconds,omitempty"`
    
    	// Resources define cpu/memory requests and limits for the sidecar that runs in the instance pods.
    	// +optional
    	Resources corev1.ResourceRequirements `json:"resources,omitempty"`
    }
    
  3. alexklibisz commented on Sep 9, 2025

    @alexklibisz

    This is pretty much a dupe of #497, which was left unanswered.

    To my knowledge the env vars do not dictate logging. Logging is dictated via the CLI arg --log-level on the manager. Hence my request in #501.

    I've documented a workaround here: #501 (comment)

  4. added a commit that references this issue on Sep 24, 2025
    0501e18
  5. added 3 commits that reference this issue on Oct 6, 2025
    73fa580
    dbef9ea
    cc6370d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions