-
Notifications
You must be signed in to change notification settings - Fork 60
Make ContainerD logs to file #512
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
Conversation
|
@zylxjtu - can we remove the KPNG stuff as a separate PR? |
| } | ||
| containerd.exe --version | ||
| containerd-shim-runhcs-v1.exe --version | ||
| - content: "$ErrorActionPreference = 'Stop'\n$$CONTAINERD_URL=\"${WINDOWS_CONTAINERD_URL}\"\nif($$CONTAINERD_URL |
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.
do we know why the formatting is getting mangled now in the generated templates?
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.
no, I have tried to remove the "\n" but it does not seem to make much difference. so I'm guessing this is the issue of diff instead of real ones?
|
|
||
| # apply additional helper manifests (logger etc) | ||
| kubectl apply -f "${CAPZ_DIR}"/templates/addons/windows/containerd-logging/containerd-logger.yaml | ||
| if [[ -n "$CONTAINERD_LOGGER" ]]; then |
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.
This is now optional but is the intention to continue running the containerd logger?
IIRC it also logs ETW events for HCS which can be useful in debugging which containerd doesn't log.
@jsturtevant WDYT of these changes?
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.
No, the intent is to remove this logger pod if we have can have containerd log to files.
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.
I think we'll potentially miss some etw events from HCS / Windows.
Are we OK with that?
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.
From my limited experience, we did not check the HCS/windows log often. and we will have scripts to collect corresponding logs for further investigations if needed
I will move this to a separate PR |
capz/templates/gmsa-ci.yaml
Outdated
| template: | ||
| spec: | ||
| additionalTags: | ||
| AzSecPackAutoConfigReady: "true" |
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.
I guess this can be removed, not applicable universally
|
/test pull-e2e-capz-windows-2022-extension |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: marosset, zylxjtu The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/hold cancel |
|
/label tide/merge-method-squash |
No description provided.