The errata list is a list of errors and their corrections that were found after the product was released.
The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.
Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version |
Location |
Description |
Submitted by |
Date submitted |
|
00
Discussion in 2.1 Deploying a Knative Service |
after running the command:
$ kubectl -n chapter-2 get ksvc greeter
the correct output is:
NAME URL LATESTCREATED LATESTREADY READY REASON
greeter HTTP://greeter.*chapter-2*.example.com greeter-v1 greeter-v1 True
in the book the URL is "HTTP://greeter.*knativetutorial*.example.com", that is wrong because we ran the command in the "chapter-2" namespace.
|
Otávio Prado |
Apr 18, 2020 |
|
4
Discussion in 4.6 Sourcing Apache Kafka Events with Knative Eventing |
the command:
$ kubectl apply -n chapter-5 -f eventing-hello-sink.yaml
should be:
$ kubectl apply -n chapter-4 -f eventing-hello-sink.yaml
|
Otávio Prado |
Apr 21, 2020 |
|
4
Discussion in 4.7 Autoscaling with Apache Kafka and Knative Eventing |
the command
kubectl delete -n kafka deployment kafka-spammer
should be
kubectl delete -n kafka pod kafka-spammer
|
Otávio Prado |
Apr 21, 2020 |
PDF |
Page 7
1st paragraph |
The script file ./patch-coredns.sh does not work. It is using the tool yq incorrectly with unknown commands and flags. Maybe the author is using a very old version of yq which used to have a command called “r”.
I managed to correct two occurrences of the lines using yq, but I don’t know how to correct the last sentence that uses yq like this:
yq w -i/tmp/coredns-alias-patch.yaml data.CoreFile …
The above line does not work. There is no command with name “w”
|
Anonymous |
Nov 10, 2021 |
Printed |
Page 8
1.5 |
Running the command:
$BOOK_HOME/bin/install-istio.sh
as instructed, doesn't work and produces the following results:
Downloading Istio
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 4549 100 4549 0 0 8781 0 --:--:-- --:--:-- --:--:-- 493k
Downloading istio-1.3.6 from https://github.com/istio/istio/releases/download/1.3.6/istio-1.3.6-linux.tar.gz ...
Istio 1.3.6 Download Complete!
Istio has been successfully downloaded into the istio-1.3.6 folder on your system.
Next Steps:
See https://istio.io/latest/docs/setup/install/ to add Istio to your Kubernetes cluster.
To configure the istioctl client tool for your workstation,
add the /tmp/istio-1.3.6/bin directory to your environment path variable with:
export PATH="$PATH:/tmp/istio-1.3.6/bin"
Begin the Istio pre-installation check by running:
istioctl x precheck
Need more information? Visit https://istio.io/latest/docs/setup/install/
Creating Istio Custom Resource Definintions(CRD)
unable to recognize "install/kubernetes/helm/istio-init/files/crd-10.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
unable to recognize "install/kubernetes/helm/istio-init/files/crd-10.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
unable to recognize "install/kubernetes/helm/istio-init/files/crd-10.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
...
|
Nicolas |
Oct 26, 2021 |
PDF |
Page 33
last paragraph |
"The HPA relies on three important metrics: concurrency, requests per second, and cpu."
by the original Kubernetes doc stated that only CPU is supported.
The Horizontal Pod Autoscaler is an API resource in the Kubernetes autoscaling API group. The current stable version, which only includes support for CPU autoscaling, can be found in the autoscaling/v1 API version.
The beta version, which includes support for scaling on memory and custom metrics, can be found in autoscaling/v2beta2. The new fields introduced in autoscaling/v2beta2 are preserved as annotations when working with autoscaling/v1.
https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#api-object
kind regards
Robert
|
Robert Baumgartner |
Apr 27, 2020 |