Skip to content

Commit

Permalink
Updated command instructions with examples for rad_install_kubernetes…
Browse files Browse the repository at this point in the history
….md page (#7988)

# Description

Enhanced examples with different arguments for 'rad install kubernetes'
command requested in
#7968

## Type of change

<!--

Please select **one** of the following options that describes your
change and delete the others. Clearly identifying the type of change you
are making will help us review your PR faster, and is used in authoring
release notes.

-->
- 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).

<!--

Please update the following to link the associated issue. This is
required for some kinds of changes (see above).

-->

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 <[email protected]>
Signed-off-by: ckansara16 <[email protected]>
Co-authored-by: Reshma Abdul Rahim <[email protected]>
  • Loading branch information
ckansara16 and Reshrahim authored Oct 17, 2024
1 parent ef1196f commit 1c73038
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pkg/cli/cmd/install/kubernetes/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 1c73038

Please sign in to comment.