concept Kubernetes in category istio

This is an excerpt from Manning's book Istio in Action.
Since containers provide a simple, uniform API for starting, stopping, inspecting, applications, we can build generic tools to run these applications on any kind of infrastructure that’s capable of running Linux. Your service operator and deployment tools no longer have to be hand crafted for specific languages and their idiosyncracies. For example, Kubernetes is a leading container deployment platform that wraps container-deployment with a higher-level application API allowing the ability to deploy and manage containers across a cluster of machines with sophisticated orchestration, placement, and security considerations. Kubernetes has constructs like "Deployment" that ensure a minimum number of instances are deployed for a particular service and also actively performs health checking to make sure each instance is running correctly. Kubernetes also has constructs for "Services" which build simple load balancing and service discovery into the platform which is usable by any application regardless of what implementation. We will explore this concept further when we dig into Istio.
We’re going to deploy Istio and our sample applications using containers and we’ll use the Kubernetes container platform to do that. Kubernetes is a very powerful container platform capable of scheduling and orchestrating containers over a fleet of host machines known as Kubernetes nodes. These nodes are linux machines capable of running containers, though Kubernetes handles those mechanisms. As we’ll see, Kubernetes is a great place to initially kick the tires with Istio, though we should make clear, Istio is intended to support multiple types of workloads including those running on Virtual Machines. We’ll explore how to deploy Istio on other platforms in subsequent chapters.
Listing 2.4. Verify our Kubernetes cluster is eligible for an Istio installation
$ istioctl x precheck Checking the cluster to make sure it is ready for Istio installation... #1. Kubernetes-api ----------------------- Can initialize the Kubernetes client. Can query the Kubernetes API Server. #2. Kubernetes-version ----------------------- Istio is compatible with Kubernetes: v1.16.6-beta.0. #3. Istio-existence ----------------------- Istio will be installed in the istio-system namespace. #4. Kubernetes-setup ----------------------- Can create necessary Kubernetes configurations: Namespace, ClusterRole,ClusterRoleBinding,CustomResourceDefinition,Role, ServiceAccount,Service,Deployments,ConfigMap. #5. SideCar-Injector ----------------------- This Kubernetes cluster supports automatic sidecar injection. To enable automatic sidecar injection see https://istio.io/docs/setup/kubernetes/additional-setup/ \ sidecar-injection/#deploying-an-app ----------------------- Install Pre-Check passed! The cluster is ready for Istio installation.
Figure 4.7. Flow of traffic from client outside of service mesh/cluster to services inside the service mesh through the ingress gateway
![]()