mirror of https://github.com/istio/istio.io.git
Automator: update istio.io@ reference docs (#7804)
This commit is contained in:
parent
9e0a7ce3f1
commit
c2063a8d5b
|
@ -3240,108 +3240,6 @@ istioctl kube-inject -f samples/bookinfo/platform/kube/bookinfo.yaml \
|
|||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h2 id="istioctl-manifest-apply">istioctl manifest apply</h2>
|
||||
<p>The apply subcommand generates an Istio install manifest and applies it to a cluster. Deprecated, use 'istioctl install' instead.</p>
|
||||
<pre class="language-bash"><code>istioctl manifest apply [flags]
|
||||
</code></pre>
|
||||
<table class="command-flags">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Flags</th>
|
||||
<th>Shorthand</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><code>--charts <string></code></td>
|
||||
<td></td>
|
||||
<td>Deprecated, use --manifests instead. (default ``)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--context <string></code></td>
|
||||
<td></td>
|
||||
<td>The name of the kubeconfig context to use (default ``)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--dry-run</code></td>
|
||||
<td></td>
|
||||
<td>Console/log output only, make no changes. </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--filename <stringSlice></code></td>
|
||||
<td><code>-f</code></td>
|
||||
<td>Path to file containing IstioOperator custom resource
|
||||
This flag can be specified multiple times to overlay multiple files. Multiple files are overlaid in left to right order. (default `[]`)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--force</code></td>
|
||||
<td></td>
|
||||
<td>Proceed even with validation errors. </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--istioNamespace <string></code></td>
|
||||
<td><code>-i</code></td>
|
||||
<td>Istio system namespace (default `istio-system`)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--kubeconfig <string></code></td>
|
||||
<td><code>-c</code></td>
|
||||
<td>Kubernetes configuration file (default ``)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--manifests <string></code></td>
|
||||
<td><code>-d</code></td>
|
||||
<td>Specify a path to a directory of charts and profiles
|
||||
(e.g. ~/Downloads/istio-1.7.0/manifests)
|
||||
or release tar URL (e.g. https://github.com/istio/istio/releases/download/1.7.0/istio-1.7.0-linux-amd64.tar.gz).
|
||||
(default ``)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--namespace <string></code></td>
|
||||
<td><code>-n</code></td>
|
||||
<td>Config namespace (default ``)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--readiness-timeout <duration></code></td>
|
||||
<td></td>
|
||||
<td>Maximum time to wait for Istio resources in each component to be ready. (default `5m0s`)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--revision <string></code></td>
|
||||
<td><code>-r</code></td>
|
||||
<td>Target control plane revision for the command. (default ``)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--set <stringArray></code></td>
|
||||
<td><code>-s</code></td>
|
||||
<td>Override an IstioOperator value, e.g. to choose a profile
|
||||
(--set profile=demo), enable or disable components (--set components.policy.enabled=true), or override Istio
|
||||
settings (--set values.grafana.enabled=true). See documentation for more info:
|
||||
https://istio.io/docs/reference/config/istio.operator.v1alpha1/#IstioOperatorSpec (default `[]`)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--skip-confirmation</code></td>
|
||||
<td><code>-y</code></td>
|
||||
<td>skipConfirmation determines whether the user is prompted for confirmation.
|
||||
If set to true, the user is not prompted and a Yes response is assumed in all cases. </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3 id="istioctl-manifest-apply Examples">Examples</h3>
|
||||
<pre class="language-bash"><code> # Apply a default Istio installation
|
||||
istioctl manifest apply
|
||||
|
||||
# Enable grafana dashboard
|
||||
istioctl manifest apply --set values.grafana.enabled=true
|
||||
|
||||
# Generate the demo profile and don't wait for confirmation
|
||||
istioctl manifest apply --set profile=demo --skip-confirmation
|
||||
|
||||
# To override a setting that includes dots, escape them with a backslash (\). Your shell may require enclosing quotes.
|
||||
istioctl manifest apply --set "values.sidecarInjectorWebhook.injectedAnnotations.container\.apparmor\.security\.beta\.kubernetes\.io/istio-proxy=runtime/default"
|
||||
|
||||
</code></pre>
|
||||
<h2 id="istioctl-manifest-diff">istioctl manifest diff</h2>
|
||||
<p>The diff subcommand compares manifests from two files or directories.</p>
|
||||
<pre class="language-bash"><code>istioctl manifest diff <file|dir> <file|dir> [flags]
|
||||
|
@ -3508,6 +3406,108 @@ https://istio.io/docs/reference/config/istio.operator.v1alpha1/#IstioOperatorSpe
|
|||
# To override a setting that includes dots, escape them with a backslash (\). Your shell may require enclosing quotes.
|
||||
istioctl manifest generate --set "values.sidecarInjectorWebhook.injectedAnnotations.container\.apparmor\.security\.beta\.kubernetes\.io/istio-proxy=runtime/default"
|
||||
|
||||
</code></pre>
|
||||
<h2 id="istioctl-manifest-install">istioctl manifest install</h2>
|
||||
<p>The install generates an Istio install manifest and applies it to a cluster.</p>
|
||||
<pre class="language-bash"><code>istioctl manifest install [flags]
|
||||
</code></pre>
|
||||
<table class="command-flags">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Flags</th>
|
||||
<th>Shorthand</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><code>--charts <string></code></td>
|
||||
<td></td>
|
||||
<td>Deprecated, use --manifests instead. (default ``)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--context <string></code></td>
|
||||
<td></td>
|
||||
<td>The name of the kubeconfig context to use (default ``)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--dry-run</code></td>
|
||||
<td></td>
|
||||
<td>Console/log output only, make no changes. </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--filename <stringSlice></code></td>
|
||||
<td><code>-f</code></td>
|
||||
<td>Path to file containing IstioOperator custom resource
|
||||
This flag can be specified multiple times to overlay multiple files. Multiple files are overlaid in left to right order. (default `[]`)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--force</code></td>
|
||||
<td></td>
|
||||
<td>Proceed even with validation errors. </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--istioNamespace <string></code></td>
|
||||
<td><code>-i</code></td>
|
||||
<td>Istio system namespace (default `istio-system`)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--kubeconfig <string></code></td>
|
||||
<td><code>-c</code></td>
|
||||
<td>Kubernetes configuration file (default ``)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--manifests <string></code></td>
|
||||
<td><code>-d</code></td>
|
||||
<td>Specify a path to a directory of charts and profiles
|
||||
(e.g. ~/Downloads/istio-1.7.0/manifests)
|
||||
or release tar URL (e.g. https://github.com/istio/istio/releases/download/1.7.0/istio-1.7.0-linux-amd64.tar.gz).
|
||||
(default ``)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--namespace <string></code></td>
|
||||
<td><code>-n</code></td>
|
||||
<td>Config namespace (default ``)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--readiness-timeout <duration></code></td>
|
||||
<td></td>
|
||||
<td>Maximum time to wait for Istio resources in each component to be ready. (default `5m0s`)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--revision <string></code></td>
|
||||
<td><code>-r</code></td>
|
||||
<td>Target control plane revision for the command. (default ``)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--set <stringArray></code></td>
|
||||
<td><code>-s</code></td>
|
||||
<td>Override an IstioOperator value, e.g. to choose a profile
|
||||
(--set profile=demo), enable or disable components (--set components.policy.enabled=true), or override Istio
|
||||
settings (--set values.grafana.enabled=true). See documentation for more info:
|
||||
https://istio.io/docs/reference/config/istio.operator.v1alpha1/#IstioOperatorSpec (default `[]`)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--skip-confirmation</code></td>
|
||||
<td><code>-y</code></td>
|
||||
<td>skipConfirmation determines whether the user is prompted for confirmation.
|
||||
If set to true, the user is not prompted and a Yes response is assumed in all cases. </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3 id="istioctl-manifest-install Examples">Examples</h3>
|
||||
<pre class="language-bash"><code> # Apply a default Istio installation
|
||||
istioctl install
|
||||
|
||||
# Enable grafana dashboard
|
||||
istioctl install --set values.grafana.enabled=true
|
||||
|
||||
# Generate the demo profile and don't wait for confirmation
|
||||
istioctl install --set profile=demo --skip-confirmation
|
||||
|
||||
# To override a setting that includes dots, escape them with a backslash (\). Your shell may require enclosing quotes.
|
||||
istioctl install --set "values.sidecarInjectorWebhook.injectedAnnotations.container\.apparmor\.security\.beta\.kubernetes\.io/istio-proxy=runtime/default"
|
||||
|
||||
</code></pre>
|
||||
<h2 id="istioctl-operator">istioctl operator</h2>
|
||||
<p>The operator subcommand installs, removes and shows the status of the operator controller.</p>
|
||||
|
@ -3821,7 +3821,7 @@ or release tar URL (e.g. https://github.com/istio/istio/releases/download/1.7.0/
|
|||
</table>
|
||||
<h3 id="istioctl-profile Examples">Examples</h3>
|
||||
<pre class="language-bash"><code>istioctl profile list
|
||||
istioctl manifest apply --set profile=demo # Use a profile from the list
|
||||
istioctl install --set profile=demo # Use a profile from the list
|
||||
</code></pre>
|
||||
<h2 id="istioctl-profile-diff">istioctl profile diff</h2>
|
||||
<p>The diff subcommand displays the differences between two Istio configuration profiles.</p>
|
||||
|
|
Loading…
Reference in New Issue