Errata

Istio: Up and Running

Errata for Istio: Up and Running

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
ePub
2nd sample code

I'm reading with O'Reilly safari books, so I don't know the page number.
In Chapter4 Section "Uninstalling Istio"

There is a part where apply is executed when kubectl delete should be executed.

Error
$ kubectl apply -f samples/bookinfo/platform/kube/bookinfo.yaml

Correct
$ kubectl delete -f samples/bookinfo/platform/kube/bookinfo.yaml

Note from the Author or Editor:
The reader's comment is correct. There is a multi-line code example under the Uninstalling Istio section toward the bottom of chapter 4:

$ for i in install/kubernetes/helm/istio-init/files/crd*yaml;
do kubectl delete -f $i; done
$ kubectl apply -f samples/bookinfo/platform/kube/bookinfo.yaml
$ kubectl delete -f samples/bookinfo/networking/bookinfo-gateway.yaml

The third line needs to be updated to replace "apply" with "delete" like this:

$ kubectl delete -f samples/bookinfo/platform/kube/bookinfo.yaml

Kaito Iwatsuki  Oct 22, 2019  Nov 27, 2019
Mobi
Page 1486
Chapter 4. Uninstalling a Helm-Based Installation

Location 1486 of 6814 (23%)

The Helm uninstall is missing the removal of the Istio CRDs. It should be after the deletion of the Istio resources and before the deletion of the istio-system namespace.

$ helm template install/kubernetes/helm/istio-init --name istio-init
--namespace istio-system | kubectl delete -f -

Note from the Author or Editor:
The following line should be incorporated into the existing two line code example:

"$ kubectl delete -f install/kubernetes/helm/istio-init/files"

So, the new code example under "Uninstalling a Helm-Based Installation" at the end of chapter 4 should read like so:

$ helm template install/kubernetes/helm/istio --name istio --namespace istio-system | kubectl delete -f -
$ kubectl delete -f install/kubernetes/helm/istio-init/files
$ kubectl delete namespace istio-system

Ken Rider  Nov 10, 2019  Nov 27, 2019
Mobi
Page 1621
Chapter 5. Manual Sidecar Injection

Location 1621 of 6814 (25%)

The example command to inject an Envoy sidecar to a running deployment without a source manifest is missing the deployment name.

$ kubectl get deployment -o yaml | istioctl kube-inject -f -
| kubectl apply -f -

It should be something like:

$ kubectl get deployment <deployment_name> -o yaml | istioctl kube-inject -f -
| kubectl apply -f -

Note from the Author or Editor:
The first code example under the "Manual Sidecar Injection" section in Chapter 5 needs updated to include "<deployment_name>" command, like this:

$ kubectl get deployment <deployment_name> -o yaml | istioctl kube-inject -f -
| kubectl apply -f -

Ken Rider  Nov 11, 2019  Nov 27, 2019
Mobi
Page 1768
Chapter 5. Envoy's Functionality

Location 1768 of 6814 (26%)

The first sentence has an extraneous trailing apostrophe.

"Like other service proxies, Envoy uses network listeners to inject traffic.'"

Note from the Author or Editor:
Good feedback. The extraneous apostrophe at the end of this sentence should be removed.

Ken Rider  Nov 11, 2019  Nov 27, 2019