-
Notifications
You must be signed in to change notification settings - Fork 386
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
Move Antrea Windows log dir #3416
Conversation
Codecov Report
@@ Coverage Diff @@
## main #3416 +/- ##
==========================================
- Coverage 60.89% 54.51% -6.39%
==========================================
Files 268 383 +115
Lines 26753 41787 +15034
==========================================
+ Hits 16292 22781 +6489
- Misses 8655 16667 +8012
- Partials 1806 2339 +533
Flags with carried forward coverage won't be shown. Click here to find out more.
|
b59c5fb
to
64eefee
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/test-windows-all |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/test-windows-networkpolicy |
64eefee
to
7906b22
Compare
64d1f69
to
bb3d556
Compare
Move Antrea Windows log dir from `C:\k\antrea\logs\` to `C:\var\log\antrea\` Signed-off-by: wgrayson <wgrayson@vmware.com>
bb3d556
to
f6efa73
Compare
Change the log dir inside container from |
/test-windows-all |
/test-windows-networkpolicy |
/test-windows-proxyall-e2e |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but I will let @wenyingd give the final approval for this
- hostPath: | ||
path: /var/log/antrea/ | ||
type: DirectoryOrCreate | ||
name: var-log-antrea |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so this is just to ensure the directory is created, we don't actually use the mount?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For running Antrea Agent on Windows daemonset case, we don't access the log path inside the management containers. But we should ensure it exists on the host, and pass it to wins to run agent process on the host.
But if we want to access log files inside the management container manually, it should be accessible. I think that is why you also mount it in antrea-agent container, correct? @GraysonWu
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/skip-networkpolicy |
Fixes #2472
Move Antrea Windows log dir from
C:\k\antrea\logs\
toC:\var\log\antrea\
Signed-off-by: wgrayson wgrayson@vmware.com