From 1c73038430c51cdf179a534aa4160832616385dd Mon Sep 17 00:00:00 2001 From: ckansara16 <41126429+ckansara16@users.noreply.github.com> Date: Thu, 17 Oct 2024 21:50:06 +0200 Subject: [PATCH] Updated command instructions with examples for rad_install_kubernetes.md page (#7988) # Description Enhanced examples with different arguments for 'rad install kubernetes' command requested in https://github.com/radius-project/radius/issues/7968 ## Type of change - This pull request is a minor refactor, code cleanup, test improvement, or other maintenance task and doesn't change the functionality of Radius (issue link optional). Fixes: #7968 ## Contributor checklist Please verify that the PR meets the following requirements, where applicable: - [ ] An overview of proposed schema changes is included in a linked GitHub issue. - [ ] A design document PR is created in the [design-notes repository](https://github.com/radius-project/design-notes/), if new APIs are being introduced. - [ ] If applicable, design document has been reviewed and approved by Radius maintainers/approvers. - [ ] A PR for the [samples repository](https://github.com/radius-project/samples) is created, if existing samples are affected by the changes in this PR. - [X] A PR for the [documentation repository](https://github.com/radius-project/docs) is created, if the changes in this PR affect the documentation or any user facing updates are made. - [ ] A PR for the [recipes repository](https://github.com/radius-project/recipes) is created, if existing recipes are affected by the changes in this PR. --------- Signed-off-by: Chintan Anilkumar Kansara Signed-off-by: ckansara16 <41126429+ckansara16@users.noreply.github.com> Co-authored-by: Reshma Abdul Rahim <61033581+Reshrahim@users.noreply.github.com> --- pkg/cli/cmd/install/kubernetes/kubernetes.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkg/cli/cmd/install/kubernetes/kubernetes.go b/pkg/cli/cmd/install/kubernetes/kubernetes.go index 9a03dbe782..ed9628b678 100644 --- a/pkg/cli/cmd/install/kubernetes/kubernetes.go +++ b/pkg/cli/cmd/install/kubernetes/kubernetes.go @@ -56,6 +56,18 @@ rad install kubernetes --set key=value # Install Radius with the intermediate root CA certificate in the current Kubernetes context rad install kubernetes --set-file global.rootCA.cert=/path/to/rootCA.crt + +# Install Radius with zipkin server for distributed tracing +rad install kubernetes --set global.zipkin.url=http://localhost:9411/api/v2/spans + +# Install Radius with central prometheus monitoring service +rad install kubernetes --set global.prometheus.path=/customdomain.com/metrics,global.prometheus.port=443,global.rootCA.cert=/path/to/rootCA.crt + +# Install Radius using a helmchart from specified file path +rad install kubernetes --chart /root/radius/deploy/Chart + +# Force re-install Radius with latest version +rad install kubernetes --reinstall `, Args: cobra.ExactArgs(0), RunE: framework.RunCommand(runner),