Automator: update istio.io@ reference docs (#9495)

This commit is contained in:
Istio Automation 2021-04-08 19:47:24 -07:00 committed by GitHub
parent 57c7d88be0
commit 436944b3e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 42 additions and 21 deletions

View File

@ -2085,10 +2085,8 @@ calculated over a time interval of 1 minute.
istioctl experimental metrics productpage-v1.foo reviews-v1.bar ratings-v1.baz
</code></pre>
<h2 id="istioctl-experimental-precheck">istioctl experimental precheck</h2>
<p>
precheck inspects a Kubernetes cluster for Istio install requirements.
</p>
<pre class="language-bash"><code>istioctl experimental precheck [-f &lt;deployment or istio operator file&gt;] [flags]
<p>precheck inspects a Kubernetes cluster for Istio install and upgrade requirements.</p>
<pre class="language-bash"><code>istioctl experimental precheck [flags]
</code></pre>
<table class="command-flags">
<thead>
@ -2105,11 +2103,6 @@ calculated over a time interval of 1 minute.
<td>The name of the kubeconfig context to use (default ``)</td>
</tr>
<tr>
<td><code>--filename &lt;stringSlice&gt;</code></td>
<td><code>-f</code></td>
<td>Istio YAML installation file. (default `[]`)</td>
</tr>
<tr>
<td><code>--istioNamespace &lt;string&gt;</code></td>
<td><code>-i</code></td>
<td>Istio system namespace (default `istio-system`)</td>
@ -2125,26 +2118,23 @@ calculated over a time interval of 1 minute.
<td>Config namespace (default ``)</td>
</tr>
<tr>
<td><code>--recursive</code></td>
<td><code>-R</code></td>
<td>Process the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory. </td>
</tr>
<tr>
<td><code>--revision &lt;string&gt;</code></td>
<td><code>-r</code></td>
<td>Control plane revision (default ``)</td>
</tr>
<tr>
<td><code>--skip-controlplane</code></td>
<td></td>
<td>skip checking the control plane </td>
</tr>
</tbody>
</table>
<h3 id="istioctl-experimental-precheck Examples">Examples</h3>
<pre class="language-bash"><code> # Verify that Istio can be installed
istioctl experimental precheck
<pre class="language-bash"><code> # Verify that Istio can be installed or upgraded
istioctl x precheck
# Verify the deployment matches a custom Istio deployment configuration
istioctl x precheck --set profile=demo
# Verify the deployment matches the Istio Operator deployment definition
istioctl x precheck -f iop.yaml
# Check only a single namespace
istioctl x precheck --namespace default
</code></pre>
<h2 id="istioctl-experimental-proxy-status">istioctl experimental proxy-status</h2>
<p>

View File

@ -416,3 +416,34 @@ messages:
type: string
- name: virtualservice
type: string
- name: "InsufficientPermissions"
code: IST0141
level: Error
description: "Required permissions to install Istio are missing."
template: "Missing required permission to create resource %v (%v)"
args:
- name: resource
type: string
- name: error
type: string
- name: "UnsupportedKubernetesVersion"
code: IST0142
level: Error
description: "The Kubernetes version is not supported"
template: "The Kubernetes Version %q is lower than the minimum version: %v"
args:
- name: version
type: string
- name: minimumVersion
type: string
- name: "LocalhostListener"
code: IST0143
level: Warning
description: "A port exposed in by a Service is bound to a localhost address"
template: "Port %v is exposed in a Service but listens on localhost. It will not be exposed to other pods."
args:
- name: port
type: string