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

Windows Containers Observability #311

Open
riyapatel-ms opened this issue Jan 31, 2023 Discussed in #310 · 26 comments
Open

Windows Containers Observability #311

riyapatel-ms opened this issue Jan 31, 2023 Discussed in #310 · 26 comments
Assignees
Labels
Q&A 👋 Community input and engagement question Further information is requested Windows on AKS Deploying Windows Container using AKS

Comments

@riyapatel-ms
Copy link

Discussed in #310

Originally posted by riyapatel-ms January 31, 2023
Hey all,

The Windows Containers team has taken a focus on its investments in observability offerings and practices. As such, we'd like to hear more about the community's use-cases and current observability set-ups, whether it may be through Container Insights or third-party solutions such as Prometheus, Grafana, etc. We'd also like to hear about any concerns or features you'd like to see. Is there clear functionality missing in your observability story? Do you have any concerns? Is there anything that performs well that you'd like to see grow?

Any input would be valuable in our ongoing discussions.

@riyapatel-ms riyapatel-ms added the Windows on AKS Deploying Windows Container using AKS label Jan 31, 2023
@riyapatel-ms riyapatel-ms self-assigned this Jan 31, 2023
@riyapatel-ms riyapatel-ms added the question Further information is requested label Jan 31, 2023
@fady-azmy-msft fady-azmy-msft pinned this issue Feb 14, 2023
@mloskot
Copy link

mloskot commented Feb 23, 2023

Yes! Please, help out about logs collection, make it possible and easily as it is for Linux nodes/pods.

For example, apparently, the Filebeat does not collect logs from Windows pods

From elastic/beats#16814

Running Beats as proposed now in Kubernetes guides is not possible there because this requires to run Beats as containers, but so far Beats containers are only created for Linux.

From https://discuss.elastic.co/t/windows-containers-logging/221997

Filebeat is also supported in Windows but I guess that the main difference would be that Beats are not distributed as Windows containers yet.

For Windows containerised applications, logs collection requires some non-trivial gymnastics, some invaluable notes here https://gist.github.com/jsturtevant/73b0bfe301a6abecd951b6f98bddffd4, so it would be very helpful if Microsoft offered best practices and solutions for most common situations.

@microsoft-github-policy-service
Copy link
Contributor

This issue has been open for 30 days with no updates.
@riyapatel-ms, please provide an update or close this issue.

1 similar comment
@microsoft-github-policy-service
Copy link
Contributor

This issue has been open for 30 days with no updates.
@riyapatel-ms, please provide an update or close this issue.

@mloskot
Copy link

mloskot commented Apr 21, 2023

Please, don't close. This issue is very important to get addressed.BTW, @riyapatel-ms, would there be any updates?

@riyapatel-ms
Copy link
Author

@mloskot I don't plan on closing this issue anytime soon, so feel free to use this as a dump as you run into more limitations/suggestions. In terms of updates, we plan to update our documentation and release a "best practices/recommendations" soon.

@microsoft-github-policy-service
Copy link
Contributor

This issue has been open for 30 days with no updates.
@riyapatel-ms, please provide an update or close this issue.

1 similar comment
@microsoft-github-policy-service
Copy link
Contributor

This issue has been open for 30 days with no updates.
@riyapatel-ms, please provide an update or close this issue.

@mloskot
Copy link

mloskot commented May 27, 2023

no close

@ntrappe-msft ntrappe-msft added the Q&A 👋 Community input and engagement label Jun 8, 2023
@adeturner
Copy link

The lack of a cadvisor equivalent for windows is limiting.

@microsoft-github-policy-service
Copy link
Contributor

This issue has been open for 30 days with no updates.
@riyapatel-ms, please provide an update or close this issue.

@mloskot
Copy link

mloskot commented Aug 1, 2023

do not close, unless anyone from MSFT offer conclusive comments

@microsoft-github-policy-service
Copy link
Contributor

This issue has been open for 30 days with no updates.
@riyapatel-ms, please provide an update or close this issue.

@adeturner
Copy link

keep alive, pending MS update

@kestratt kestratt unpinned this issue Sep 6, 2023
@riyapatel-ms
Copy link
Author

Pinging to keep issue open, this workstream has been transferred to another, will update once I have her GitHub

@connexallcloud
Copy link

Please don't close this thread, policy bot!

I'm also interested to see what can be improved with Windows container observability. We are currently using Datadog and Kubecost inside an EKS Kubernetes cluster, and have found issues with the level of detail that either can gather regarding Windows CPU and memory utilization versus what they can achieve with Linux workloads. Apparently cadvisor can't come up with the goods. Indeed, for many of these cloud services, it seems that Windows containers are almost a second class citizen compared to Linux support. Therefore any advancements that can be made as suggested by @adeturner and others to bring some level of obervability parity would be fantastic.

@fady-azmy-msft
Copy link
Contributor

What sort of best practices are you looking for? And in what situations do you see there's missing documentation? Any insight on this would help us prioritize.

@connexallcloud @mloskot @adeturner

@mloskot
Copy link

mloskot commented Nov 21, 2023

@fady-azmy-msft
I'd start with pointing me/us at any current documentation that possibly address the issues I mentioned in my #311 (comment) I am aware things might have changed since Feb 2023, features and supports might have arrived and improved, but addressing 'old' comments is useful, even if for the sake of the records :)

@adeturner
Copy link

@fady-azmy-msft My request was just to monitor metrics of windows containers with the same degree of visibility that we have with Linux containers and cAdvisor. If there is documentation explaining how to do this in non-kubernetes environments please share

@fady-azmy-msft
Copy link
Contributor

Thank you for sharing this feedback. I've assigned the issue to @miremsft who'll be looking at the observability story for windows containers.

@jwilsonCX
Copy link

Been a little quiet in this thread lately. Hoping the bot doesn't close this joint down. Any plan of attack on this one, @miremsft ?

@mloskot
Copy link

mloskot commented Feb 3, 2024

(anti-bot comment)

@jwilsonCX
Copy link

Hi @fady-azmy-msft it's been over four months, and it doesn't appear that your assignee @miremsft has accepted the invitation to our Windows observability party:( Any thoughts on assigning a new DJ so we can keep the music playing?

@miremsft
Copy link

Hi there, regarding cAdvisor support for Windows Containers, there are currently no plans on our end to do this, but I will update this thread if plans change. For the timebeing, if you would like to track inidividual Windows Container performance and resource usage, it might help to look into what kubelet metrics you can capture to see this https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/winstats/perfcounters.go

The ones that may be particularly helpful for Windows are commit memory and CPU.

Copy link
Contributor

This issue has been open for 30 days with no updates.
@miremsft, please provide an update or close this issue.

1 similar comment
Copy link
Contributor

This issue has been open for 30 days with no updates.
@miremsft, please provide an update or close this issue.

@mloskot
Copy link

mloskot commented Jun 26, 2024

(anti-bot comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Q&A 👋 Community input and engagement question Further information is requested Windows on AKS Deploying Windows Container using AKS
Projects
None yet
Development

No branches or pull requests

8 participants