concept GKE in category microservice

This is an excerpt from Manning's book Microservices Security in Action.
Here, we use a Kubernetes Service of LoadBalancer type. If there are multiple replicas of a given Pod, the Service of LoadBalancer type acts as a load balancer. Usually, it’s an external load balancer provided by the Kubernetes hosting environment, and in our case, it’s the GKE. Let’s have a look at the YAML file to create the Service (listing 11.2). The same YAML file is available at chapter11/sample01/sts.service.yaml.
The Istio documentation (https://istio.io/docs/setup) explains how to set up Istio in a Kubernetes environment. In this section, we discuss how to set up Istio locally with Docker Desktop and in the cloud with GKE.
In this section, we assume you already have access to GKE and have a Kubernetes cluster up and running. If you need help setting that up, check appendix J, which covers how to create a project in GKE and then a Kubernetes cluster. If necessary, you can run the following
gcloudcommand to list the information related to your GKE cluster:\> gcloud container clusters list NAME LOCATION MASTER_VERSION MASTER_IP MACHINE_TYPE manning-ms-security us-west1-a 1.13.7-gke.24 35.203.148.5 n1-standard-1 NODE_VERSION NUM_NODES STATUS 1.14.10-gke.27 3 RUNNINGThere are two ways to add Istio support to GKE: either you can install the open source Istio version by yourself (from the scratch on the GKE), or you can enable Istio as an add-on for GKE. In this appendix, we follow the add-on approach. If you’d like to install open source Istio from scratch, follow the instructions documented at http://mng.bz/NKXX.
To add Istio support as an add-on for an existing GKE Kubernetes cluster (in our case, to the
manning-ms-securitycluster), use the followinggcloudcommand. Istio support in GKE is still at the beta level, so we have to usegcloud betainstead ofgcloud. At the time you read this book, if the Istio support on GKE has matured to General Availability (GA), you can skip usingbetain the following commands: