Skip to content

When running as Daemonset only local messages #3

@derdanne

Description

@derdanne

We'd like to run stern as a Daemonset inside a cluster and so we need to limit the messages which will be fetched to the nodes containers the container is running on.

Maybe:

  • add flag "--daemonset"
  • set environment variable from spec
    - name: NODE_NAME valueFrom: fieldRef: fieldPath: spec.nodeName
  • setup watch to limit container logs to NODE_NAME

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions