-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
tests: agnhost image updates #76507
tests: agnhost image updates #76507
Conversation
7c23398
to
625e5ca
Compare
/priority important-longterm |
Adds the following subcommands to the agnhost binary: - dns-server-list: outputs the host's DNS server list with which it was configured with. This can be found in /etc/resolv.conf on Linux and through some powershell commands on Windows. - etc-hosts: outputs the host's hosts file. This can be found in /etc/hosts for Linux, and C:/Windows/System32/drivers/etc/hosts for Windows. - pause: pauses the binary's execution. This can be used to keep the Pod in a Running state for various reasons, including executing additional agnhost commands. Refactors bits of the code to avoid duplication. Adds a README for the agnhost image.
52485ba
to
60e9fe7
Compare
/approve Ping #sig-testing once this has merged to ensure a new image is built using these changes |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bclau, spiffxp 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 |
/lgtm |
What type of PR is this?
/kind failing-test
/kind feature
/sig testing
/sig windows
What this PR does / why we need it:
Adds the following subcommands to the agnhost binary:
configured with. This can be found in /etc/resolv.conf on Linux and
through some powershell commands on Windows.
for Linux, and C:/Windows/System32/drivers/etc/hosts for Windows.
a Running state for various reasons, including executing additional agnhost
commands.
Refactors bits of the code to avoid duplication.
Adds a README for the agnhost image.
Which issue(s) this PR fixes:
Related #73425
Related #74985
Needed by: 76508
Special notes for your reviewer:
Does this PR introduce a user-facing change?: