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

Enable Pod to run pmctl add forward without systemd #1435

Open
4 tasks
tapih opened this issue Feb 24, 2021 · 0 comments
Open
4 tasks

Enable Pod to run pmctl add forward without systemd #1435

tapih opened this issue Feb 24, 2021 · 0 comments

Comments

@tapih
Copy link
Contributor

tapih commented Feb 24, 2021

What

pmctl add forward now runs with systemd.
https://github.com/cybozu-go/placemat/blob/7c4a2adf2edfb26ca10a3cb817d6e057830d3399/v2/cmd/pmctl2/cmd/forward_add.go#L62

This command cannot be executed inside Pod because the process with PID 0 is not systemd.
In this task, update pmctl to work without systemd.

How

T.B.D.

This functionality is used only when we want to check Grafana dashboard which runs on placemat.
If you think it's not necessary and executing ip netns exec ... is enough, you can remove this subcommand and please be sure to make documentation for it.

Checklist

  • Finish implementation of the issue
  • Test all functions
  • Have enough logs to trace activities
  • Notify developers of necessary actions
@zoetrope zoetrope mentioned this issue Jan 25, 2021
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant