Errata

Microservices: Up and Running

Errata for Microservices: 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.

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
Chapter 7
Testing the Environment

The command kubectl get pods -n "argo" is not working. Change to kubectl get pods -n "argocd"

Victor Rosa  Feb 03, 2021 
Chapter 7
example 7-18. env-sandbox/main.tf

The module name in EKS Configuration section from main.tf into env-sandbox git hub repository is diferrent from example 7-18. env-sandbox/main.tf (Kubernetes)

The module name in env-sandbox git hub repository

# EKS Configuration
module "aws-kubernetes-cluster" {
..........

The module name in example 7-18. env-sandbox/main.tf (Kubernetes)

# EKS Configuration
module "aws-eks" {
..........

Needs to change the module name into main.tf into env-sandbox git hub repository to "aws-eks"

Victor Rosa  Feb 03, 2021 
Printed Page 75
2nd sentence

the the

Simon Tanaka  May 06, 2021 
PDF Page 129
Example 6-5

Description of code says, that this snipped is installing Istio CLI tool - but in code snippet there is nothing about Istio (the same is for file available on Github). I suppose, that remarks on Istio should be removed (or code itself replaced).

Marek WÅ‚odarz  Feb 23, 2021 
Printed Page 177
Cleaning Up the Infrastructure

Not an error so much as a hazard and lack of clarity.

I ran the steps on page 177 to destroy the resources that have been created in AWS (to avoid billing charges) but when I execute "terraform init" I get an error "Errror: Invalid legacy provider address" (twice) and a message "You must complete the Terraform 0.13 upgrade process before upgrading to later versions."

This implies to me that the version of terraform running on GitHub isn't the same as what I'm running locally.

So I logged into AWS to attempt to destroy the resources manually but AWS complains that I don't have the correct permissions.

To me this is a serious hazard of Terraform and the book. For a newbie learning Terraform and AWS many of these commands are a bit of "magic" and in this case can cost the student serious money.

John Wright  Dec 15, 2021 
Printed Page 177
Step 3

Hi Ronnie Mitra & Irakli Nadareishvilli,

I have a question to your book:

Microservices: Up and Running (O'Reilly) [ISBN: 978-1-492-07545-5]

Basically I am trying to implement the terraform structure from Chapter 7. Everything is well described in your book and I like it very much.

Unfortunately I am getting an error if I am trying to execute the Action via github. Here is a step by step list about what I did.

- I implemented everything which is described in your book
- Finally I run the Action for the first time and it didn't failed immediately
- After 15min it failed again. The error said something like "your using api version v1alpha1, please update to v1beta1 or higher"
- I thought okay, I update it through all 4 repositories (env-sandbox, argo-cd, aws-network, aws-kubernetes) and run it again.
- In between I thought I will delete every created AWS resource because it costs money. I deleted it through AWS Web Interface.
- I run the Action again via Github -> It failed after 40 sec
- (After the standard 30 seconds of rage and complaining about everything because it doesn't work I got calm and went on with the next step)
- I tried to use "terraform destroy" as you describe it in the paragraph "Cleaning up the infrastructure" on page 177. But I am getting a error

This brings me to the conclusion and assumption that something could be cashed? Because the error states always v1alpha1 api is used but it isn't part of my code anymore. I have to admit that I am completely new to terraform.

Do you have an idea what is wrong or what I can try?

I already send pictures with the error to the mails mentioned in the book. I didn't find way to contact you directly.

Kind regards

Leonhard  Jul 12, 2022 
Printed Page 177
Step 3

Hi Ronnie Mitra & Irakli Nadareishvilli,

I have a question to your book:

Microservices: Up and Running (O'Reilly) [ISBN: 978-1-492-07545-5]

Basically I am trying to implement the terraform structure from Chapter 7. Everything is well described in your book and I like it very much.

Unfortunately I am getting an error if I am trying to execute the Action via github. Here is a step by step list about what I did.

- I implemented everything which is described in your book
- Finally I run the Action for the first time and it didn't failed immediately
- After 15min it failed again. The error said something like "your using api version v1alpha1, please update to v1beta1 or higher"
- I thought okay, I update it through all 4 repositories (env-sandbox, argo-cd, aws-network, aws-kubernetes) and run it again.
- In between I thought I will delete every created AWS resource because it costs money. I deleted it through AWS Web Interface.
- I run the Action again via Github -> It failed after 40 sec
- (After the standard 30 seconds of rage and complaining about everything because it doesn't work I got calm and went on with the next step)
- I tried to use "terraform destroy" as you describe it in the paragraph "Cleaning up the infrastructure" on page 177. But I am getting a error

This brings me to the conclusion and assumption that something could be cashed? Because the error states always v1alpha1 api is used but it isn't part of my code anymore. I have to admit that I am completely new to terraform.

Do you have an idea what is wrong or what I can try?

I already send pictures with the error to the mails mentioned in the book. I didn't find way to contact you directly.

Kind regards

Leonhard  Jul 12, 2022