-
Notifications
You must be signed in to change notification settings - Fork 1.8k
OSSM-5632: Installing the istioctl tool & Supported Commands #88326
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
Merged
xenolinux
merged 1 commit into
openshift:service-mesh-docs-main
from
rh-tokeefe:OSSM-5632
Feb 27, 2025
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
:_mod-docs-content-type: ASSEMBLY | ||
[id="ossm-istioctl-tool"] | ||
= Istioctl tool | ||
include::_attributes/common-attributes.adoc[] | ||
:context: ossm-istioctl-tool | ||
|
||
{SMProduct} 3 supports `istioctl`, the command line utility for the {istio} project that includes many diagnostic and debugging utilities. | ||
|
||
include::modules/ossm-support-for-istioctl.adoc[leveloffset=+1] | ||
include::modules/ossm-installing-the-istioctl-tool.adoc[leveloffset=+1] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
// Module included in the following assemblies: | ||
// | ||
// * service-mesh-docs-main/about/ossm-migrating-assembly.adoc | ||
|
||
:_mod-docs-content-type: PROCEDURE | ||
[id="ossm-installing-the-istioctl-tool_{context}"] | ||
= Installing the Istioctl tool | ||
|
||
.Prerequisites | ||
|
||
* You have access to the {ocp-product-title} web console. | ||
|
||
.Procedure | ||
|
||
. In the {ocp-product-title} web console, click the question mark icon and select *Command Line Tools*. | ||
|
||
. Click *Download istioctl*. Choose the version and architecture that matches your system. | ||
|
||
* link:https://mirror.openshift.com/pub/cgw/servicemesh/1.23.0/[Version 1.23.0] | ||
|
||
* link:https://mirror.openshift.com/pub/cgw/servicemesh/1.24.1/[Version 1.24.1] | ||
|
||
* link:https://mirror.openshift.com/pub/cgw/servicemesh/latest/[Latest] | ||
|
||
. Extract the `istioctl` binary by running the following command: | ||
+ | ||
[source,terminal] | ||
---- | ||
$ tar xzf istioctl-<VERSION>-<OS>-<ARCH>.tar.gz | ||
---- | ||
|
||
. Move to the uncompressed directory by running the following command: | ||
+ | ||
[source,terminal] | ||
---- | ||
$ cd istioctl-<VERSION>-<OS>-<ARCH> | ||
rh-tokeefe marked this conversation as resolved.
Show resolved
Hide resolved
|
||
---- | ||
|
||
. Add the `istioctl` client to the path by running the following command: | ||
+ | ||
[source,terminal] | ||
---- | ||
$ export PATH=$PWD:$PATH | ||
---- | ||
|
||
. Confirm that the `istioctl` client version and the {istio} control plane version match or are within one version by running the following command: | ||
+ | ||
[source,terminal] | ||
---- | ||
$ istioctl version | ||
rh-tokeefe marked this conversation as resolved.
Show resolved
Hide resolved
|
||
---- | ||
+ | ||
.Sample output: | ||
[source,terminal] | ||
---- | ||
client version: 1.20.0 | ||
control plane version: 1.24.3_ossm | ||
data plane version: none | ||
---- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// Module included in the following assemblies: | ||
// | ||
// * service-mesh-docs-main/install/ossm-istioctl-tool | ||
|
||
:_mod-docs-content-type: REFERENCE | ||
[id="ossm-support-for-istioctl_{context}"] | ||
= Support for Istioctl | ||
|
||
{SMProduct} 3 supports a selection of Istioctl commands. | ||
|
||
.Supported Istioctl commands | ||
[cols="1,1"] | ||
|=== | ||
|Command |Description | ||
|
||
|`admin` | Manage the control plane (`istiod`) configuration | ||
|`analyze` | Analyze the {istio} configuration and print validation messages | ||
|`completion` | Generate the autocompletion script for the specified shell | ||
|`create-remote-secret` | Create a secret with credentials to allow {istio} to access remote Kubernetes API servers | ||
|`help` | Display help about any command | ||
|`proxy-config`, `pc` | Retrieve information about the proxy configuration from Envoy (Kubernetes only) | ||
|`proxy-status`, `ps` | Retrieve the synchronization status of each Envoy in the mesh | ||
|`remote-clusters` | List the remote clusters each `istiod` instance is connected to | ||
|`validate`, `v` | Validate the {istio} policy and rules files | ||
|`version` | Print out the build version information | ||
|`waypoint` | Manage the waypoint configuration | ||
|`ztunnel-config` | Update or retrieve the current Ztunnel configuration. | ||
|=== | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.