Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When running as Daemonset only local messages #3

Open
derdanne opened this issue Jul 17, 2020 · 0 comments
Open

When running as Daemonset only local messages #3

derdanne opened this issue Jul 17, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@derdanne
Copy link
Owner

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
@derdanne derdanne added the enhancement New feature or request label Jul 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant