leverage capabilities from the platform. CDR extends the API so that additional services can be added to the clus- ter. Before we get into the details of the physical Kubernetes clusters, it is instructive to understand the logical or ap- plication view of Kubernetes clusters. Figure 4-1 shows how a Kubernetes deployment is organized in a hierachi- cal fashion. For example, all of the containers run inside of pods which are a set of one or more containers that reside to- gether. The pods sit behind services like load balancing. Furthermore, services are scaled by ReplicaSets that can spin up or delete pods as they are needed. The namespace is a virtual cluster that can include one or more services. Figure 4-1: The logical view of how a Kubernetes cluster is deployed 48

Building Cloud Native Apps Painlessly - Page 54 Building Cloud Native Apps Painlessly Page 53 Page 55