-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Feedback for diagnostics tool topic #8741
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
62c18ab
to
624012b
Compare
Thumbs up given. @openshift/team-documentation PTAL |
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 mostly picks and style issues. Take what's useful!
admin_guide/diagnostics_tool.adoc
Outdated
* As enterprise RPMs | ||
|
||
Each method implies a different configuration and environment. To minimize | ||
environment assumptions, the diagnostics were included with the `openshift` |
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.
s/the diagnostics were/diagnostics are
admin_guide/diagnostics_tool.adoc
Outdated
You can run one or multiple specific diagnostics by name, or run specific | ||
diagnostics by name as you work to address issues. For example: | ||
Using the diagnostics tool, you can run one or multiple specific diagnostics by | ||
name, or run specific diagnostics by name as you work to address issues. For |
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.
s/name,/name
admin_guide/diagnostics_tool.adoc
Outdated
|
||
Diagnostics look for configuration files in standard locations: | ||
Diagnostics verifies that the configuration files reside in their standard |
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.
s/verifies/verify (or /Diagnostics verifies/The diagnostic tool verifies)
admin_guide/diagnostics_tool.adoc
Outdated
Non-standard locations can be specified with flags (respectively, | ||
`--config`, `--master-config`, and `--node-config`). If a configuration file | ||
is not found or specified, related diagnostics are skipped. | ||
Non-standard locations can be specified with the `--config`, `--master-config`, |
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.
s/Non-standard locations can be specified/You can specify configuration file locations
admin_guide/diagnostics_tool.adoc
Outdated
is not found or specified, related diagnostics are skipped. | ||
Non-standard locations can be specified with the `--config`, `--master-config`, | ||
and `--node-config` options. If a configuration file is not found or specified, | ||
related diagnostics are skipped. |
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.
s/are skipped/do not run
admin_guide/diagnostics_tool.adoc
Outdated
To do so, specify your cluster's inventory file and the *_health.yml_* playbook | ||
when running the following `docker run` command as a non-root user that has | ||
privileges to run containers: | ||
Specify your cluster's inventory file and the *_health.yml_* playbook when |
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.
Could we just say
As a non-root user that has privileges to run containers, run the following command:
admin_guide/diagnostics_tool.adoc
Outdated
copy of the SSH key (or directory) is recommended. | ||
[IMPORTANT] | ||
==== | ||
These volume mount specifications could have unexpected consequences. For |
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.
s/could/can
admin_guide/diagnostics_tool.adoc
Outdated
[IMPORTANT] | ||
==== | ||
These volume mount specifications could have unexpected consequences. For | ||
example, if you mount (and therefore relabel) the *_$HOME/.ssh_* directory, |
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.
s/mount (and therefore relabel)/ mount, and therefore relabel,
admin_guide/diagnostics_tool.adoc
Outdated
These volume mount specifications could have unexpected consequences. For | ||
example, if you mount (and therefore relabel) the *_$HOME/.ssh_* directory, | ||
*sshd* becomes unable to access the public keys to allow remote login. To avoid | ||
altering the original file labels, mounting a copy of the SSH key (or directory) |
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.
s/mounting a copy of the SSH key (or directory) is recommended./ mount a copy of the SSH key or directory.
example, this would allow you to use an SSH configuration to match keys with | ||
hosts or modify other connection parameters. It would also allow you to provide | ||
a *_known_hosts_* file and have SSH validate host keys, which is disabled by the | ||
You might mount an entire *_.ssh_* directory for various reasons. For example, |
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 this is part of the previous note.
Despite the risks of mounting an entire .ssh directory, mounting the directory offers benefits:
- You can use an SSH configuration to match keys with hosts or modify other connection parameters.
- You can provide a known_hosts file and have SSH validate host keys. This behavior is disabled by the
default configuration. To use it, add-e ANSIBLE_HOST_KEY_CHECKING=True
to thedocker run
command.
624012b
to
7dd507f
Compare
/cherrypick enterprise-3.10 |
@bfallonf: new pull request created: #10846 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/cherrypick enterprise-3.9 |
@bfallonf: new pull request created: #10847 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/cherrypick enterprise-3.7 |
@bfallonf: new pull request created: #10848 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/cherrypick enterprise-3.6 |
@bfallonf: #8741 failed to apply on top of branch "enterprise-3.6":
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
From #8644
cc @rlopez133
Will verify over email.