This commit is contained in:
Chris Wilson 2019-12-30 13:30:21 -08:00 committed by Istio Automation
parent 090612657b
commit b2395ff16a
1 changed files with 4 additions and 4 deletions

View File

@ -15,7 +15,7 @@ apply changes to a cluster.
You can analyze your current Kubernetes cluster by running:
{{< text bash >}}
$ istioctl analyze -k
$ istioctl analyze
{{< /text >}}
And thats it! Itll give you any recommendations that apply.
@ -35,19 +35,19 @@ Typically, this is used to analyze the entire set of configuration files that ar
Analyze a specific set of local Kubernetes yaml files:
{{< text bash >}}
$ istioctl analyze a.yaml b.yaml
$ istioctl analyze --use-kube=false a.yaml b.yaml
{{< /text >}}
Analyze all yaml files in the current folder:
{{< text bash >}}
$ istioctl analyze *.yaml
$ istioctl analyze --use-kube=false *.yaml
{{< /text >}}
Simulate applying the files in the current folder to the current cluster:
{{< text bash >}}
$ istioctl analyze -k *.yaml
$ istioctl analyze *.yaml
{{< /text >}}
You can run `istioctl analyze --help` to see the full set of options.