concept Kubernetes deployment in category microservice

appears as: Kubernetes deployment, Kubernetes Deployments
Microservices Security in Action

This is an excerpt from Manning's book Microservices Security in Action.

First, don’t do this in a production deployment! Kubernetes stores anything that you store in a ConfigMap in cleartext. To store credentials in a Kubernetes deployment, we use a Kubernetes object called Secret instead of a ConfigMap. We talk about Secrets later in section 11.3. Until then, we’ll define keystore credentials in a ConfigMap.

Figure H.1 In a Kubernetes deployment, we run microservices in Pods. A given Pod carries one or more microservices. A Kubernetes node hosts one or more Pods. The private key provisioned to a microservice via SPIFFE never leaves the node.

The Istio data plane consists of a set of service proxies alongside each microservice, an Ingress gateway, and an Egress gateway. In the following sections, we discuss the responsibilities of each of those components and how they operate in a Kubernetes deployment.