Remove the reference to installed-state CR (#14816)

This commit is contained in:
adityasamant25 2024-04-02 19:40:07 +05:30 committed by GitHub
parent a2933bbe90
commit 3be90bf422
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 22 deletions

View File

@ -106,28 +106,6 @@ to install the `demo` profile:
$ istioctl install --set profile=demo
{{< /text >}}
## Check what's installed
The `istioctl` command saves the `IstioOperator` CR that was used to install Istio in a copy of the CR named `installed-state`.
Instead of inspecting the deployments, pods, services and other resources that were installed by Istio, for example:
{{< text bash >}}
$ kubectl -n istio-system get deploy
NAME READY UP-TO-DATE AVAILABLE AGE
istio-egressgateway 1/1 1 1 25s
istio-ingressgateway 1/1 1 1 24s
istiod 1/1 1 1 20s
{{< /text >}}
You can inspect the `installed-state` CR, to see what is installed in the cluster, as well as all custom settings.
For example, dump its content into a YAML file using the following command:
{{< text bash >}}
$ kubectl -n istio-system get IstioOperator installed-state -o yaml > installed-state.yaml
{{< /text >}}
The `installed-state` CR is also used to perform checks in some `istioctl` commands and should therefore not be removed.
## Display the list of available profiles
You can display the names of Istio configuration profiles that are