-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Incorrect structure of command in Configuring replication policy for the log store #86740
base: main
Are you sure you want to change the base?
Conversation
…the log store The structure of the command is incorrect in Configuring the replication policy for the log store documentation. Here is the documentation Link: https://docs.openshift.com/container-platform/4.16/observability/logging/log_storage/logging-config-es-store.html#cluster-logging-elasticsearch-ha_logging-config-es-store Here in Step1 under the procedure section, we could see the below command is mentioned: $ oc edit clusterlogging instance But this is not the correct way. The correct way to mention `clusterlogging` in the Red Hat Standard Documentation is `ClusterLogging`. We can verify this in the other part of our documentation. In addition, Step1 is noted with "Edit the ClusterLogging custom resource (CR) in the openshift-logging project:" However, the project name is not mentioned in the command. It is necessary to mention the project name while executing that command. Reason: 1. Suppose the user is not a part of `openshift-logging` project, and he tries to run this command then this command will not work. 2. If the credentials are shared, and two people are using the same cluster at the same time, then, the second person could change to work in a different namespace. Hence it will be always beneficial to run the above command with the project name. We need to perform these changes in our documentation. Here is the correct structure of this command. -------------------- 1. Edit the ClusterLogging custom resource (CR) in the openshift-logging project: $ oc edit -n openshift-logging ClusterLogging instance --------------------
@prithvipatil97: all tests passed! Full PR test history. Your PR dashboard. 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-sigs/prow repository. I understand the commands that are listed here. |
/label peer-review-needed |
@prithvipatil97 The user is told to use the
I think having the project in both places would be redundant. If you strongly believe that the command should have the namespace, we should change the step text.
Also, if we make the change to include the namespace in the command, the change should be made in all places: @briandooley WDYT? |
@mburke5678 Going to need some clarification. When you say "both" places, where do you mean? I agree that the change in one place should be replicated in the other places as well, assuming that the commands pass QE. |
Hello @mburke5678 , With this PR we are performing 2 changes. Here is the current command:
-The correct way to mention Additionally, If you think of changing the step text, that would also be acceptable. Also, if we check this doc path [1] and [2] Here it is mentioned:
So I think we should be good to proceed with this change. Regards, |
https://docs.openshift.com/container-platform/4.16/observability/logging/log_storage/logging-config-es-store.html#cluster-logging-elasticsearch-ha_logging-config-es-store
clusterlogging
in the Red Hat Standard Documentation isClusterLogging
.Reason:
openshift-logging
project, and he tries to run this command then this command will not work.Version(s):
RHOCP-4.18, RHOCP-4.17, RHOCP-4.16, RHOCP-4.15, RHOCP-4.14, RHOCP-4.13, RHOCP-4.12
Issue:
https://issues.redhat.com/browse/OBSDOCS-1598
Link to docs preview:
https://86740--ocpdocs-pr.netlify.app/openshift-dedicated/latest/observability/logging/log_storage/logging-config-es-store.html
https://86740--ocpdocs-pr.netlify.app/openshift-enterprise/latest/observability/logging/log_storage/logging-config-es-store.html
https://86740--ocpdocs-pr.netlify.app/openshift-rosa/latest/observability/logging/log_storage/logging-config-es-store.html
QE review:
Additional information: