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

Offline mode for collectlogs.ps1 #505

Open
rleap-m opened this issue Nov 5, 2021 · 0 comments
Open

Offline mode for collectlogs.ps1 #505

rleap-m opened this issue Nov 5, 2021 · 0 comments

Comments

@rleap-m
Copy link

rleap-m commented Nov 5, 2021

Feature request - the Microsoft/SDN/blob/master/Kubernetes/windows/debug/collectlogs.ps1 tool must first download several support tools (and even some of the downloaded tools download other tools I think - not 100% on that) from the internet before running. Nodes in a cluster do not always have access (air-gapped) to these remote tools so a helpful feature would be to add parameters to the collectlogs.ps1 script that allow you to create an offline package, then copy those tools to the server and lastly reference those tools in lieu of pulling them from them internet to collect the logs as per usual.

# From internet connected system
.\collectlogs.ps1 -DownloadOnly -OfflinePackagePath <path-to-download-tools>

# From Air-gapped Node
.\collectlogs.ps1 -Offline -OfflinePackagePath <path-to-downloaded-tools>
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