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

docs: clarify cluster-proxy installation for non-kind clusters #436

Conversation

xuezhaojun
Copy link
Member

Updates the cluster-proxy installation documentation to clarify that non-kind clusters (e.g., OpenShift) require setting the proxyServer.entrypointAddress value. Adds an example helm install command showing how to set this value.

@xuezhaojun
Copy link
Member Author

/assign @qiujian16

Copy link
Member

@dhaiducek dhaiducek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good. I have some minor formatting/wording suggestions.

@@ -110,6 +110,18 @@ Then run the following helm command to install the cluster-proxy addon:
```shell
$ helm install -n open-cluster-management-addon --create-namespace \
cluster-proxy ocm/cluster-proxy
```

**Note:**, if you're using a non-kind cluster, for example, an openshift cluster, you need to set the value of `proxyServer.entrypointAddress` in the managedproxyconfiguration to the address of the proxy server.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please re-flow this line to follow the line wrapping in the rest of the document.

--set "proxyServer.entrypointAddress=<address of the proxy server>"
```

After the installation, you can check the deployment status of the cluster-proxy addon by running the following command:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please re-flow this line to follow the line wrapping in the rest of the document.

@@ -110,6 +110,18 @@ Then run the following helm command to install the cluster-proxy addon:
```shell
$ helm install -n open-cluster-management-addon --create-namespace \
cluster-proxy ocm/cluster-proxy
```

**Note:**, if you're using a non-kind cluster, for example, an openshift cluster, you need to set the value of `proxyServer.entrypointAddress` in the managedproxyconfiguration to the address of the proxy server.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Capitalize "Kind" and "Openshift". Also has a minor wording suggestion.

Suggested change
**Note:**, if you're using a non-kind cluster, for example, an openshift cluster, you need to set the value of `proxyServer.entrypointAddress` in the managedproxyconfiguration to the address of the proxy server.
**Note:** If you're using a non-Kind cluster, for example, an Openshift cluster, you need to configure the `ManagedProxyConfiguration` by setting `proxyServer.entrypointAddress` in the `values.yaml` to the address of the proxy server. To do this at install time, you can run the following command:

@xuezhaojun xuezhaojun force-pushed the update-cluster-proxy-addon-installation branch from 3730eb5 to e3f67eb Compare November 5, 2024 19:22
@xuezhaojun
Copy link
Member Author

Thanks for the review @dhaiducek, the PR updated, please take another look!


**Note:** If you're using a non-Kind cluster, for example, an Openshift cluster,
you need to configure the `ManagedProxyConfiguration` by setting `proxyServer.entrypointAddress`
in the `values.yaml` to the address of the proxy server.
Copy link
Member

@dhaiducek dhaiducek Nov 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra space here (my fault 😅 )

Suggested change
in the `values.yaml` to the address of the proxy server.
in the `values.yaml` to the address of the proxy server.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

Updates the cluster-proxy installation documentation to clarify that non-kind clusters
(e.g., OpenShift) require setting the proxyServer.entrypointAddress value. Adds an
example helm install command showing how to set this value.

Signed-off-by: xuezhaojun <[email protected]>
@xuezhaojun xuezhaojun force-pushed the update-cluster-proxy-addon-installation branch from e3f67eb to 0009246 Compare November 5, 2024 19:50
Copy link
Member

@dhaiducek dhaiducek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks!

Copy link
Contributor

openshift-ci bot commented Nov 5, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dhaiducek, xuezhaojun

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:
  • OWNERS [dhaiducek,xuezhaojun]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit 0e61c92 into open-cluster-management-io:main Nov 5, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants