Book Image

DevSecOps in Practice with VMware Tanzu

By : Parth Pandit, Robert Hardt
Book Image

DevSecOps in Practice with VMware Tanzu

By: Parth Pandit, Robert Hardt

Overview of this book

As Kubernetes (or K8s) becomes more prolific, managing large clusters at scale in a multi-cloud environment becomes more challenging – especially from a developer productivity and operational efficiency point of view. DevSecOps in Practice with VMware Tanzu addresses these challenges by automating the delivery of containerized workloads and controlling multi-cloud Kubernetes operations using Tanzu tools. This comprehensive guide begins with an overview of the VMWare Tanzu platform and discusses its tools for building useful and secure applications using the App Accelerator, Build Service, Catalog service, and API portal. Next, you’ll delve into running those applications efficiently at scale with Tanzu Kubernetes Grid and Tanzu Application Platform. As you advance, you’ll find out how to manage these applications, and control, observe, and connect them using Tanzu Mission Control, Tanzu Observability, and Tanzu Service Mesh. Finally, you’ll explore the architecture, capabilities, features, installation, configuration, implementation, and benefits of these services with the help of examples. By the end of this VMware book, you’ll have gained a thorough understanding of the VMWare Tanzu platform and be able to efficiently articulate and solve real-world business problems.
Table of Contents (19 chapters)
Part 1 – Building Cloud-Native Applications on the Tanzu Platform
Part 2 – Running Cloud-Native Applications on Tanzu
Part 3 – Managing Modern Applications on the Tanzu Platform

Spring Cloud Gateway for Kubernetes – getting started

Let’s start by installing Spring Cloud Gateway for Kubernetes. There are two distinct parts to this product: the Kubernetes Operator and the deployed gateways.

The Kubernetes Operator works with the Kubernetes API to handle three Custom Resource Definitions:

  • SpringCloudGateway (abbr: scg): This is an (optionally) HA instance of Spring Cloud Gateway – centrally packaged, deployed, and life cycle-managed for the developer.
  • SpringCloudGatewayRouteConfig (abbr: scgrc): This is a set of instructions for a Spring Cloud Gateway instance around what host/path to accept requests on, how to filter that request, and which backend Kubernetes service to eventually proxy it onto.
  • SpringCloudGatewayMapping (abbr: scgm): This tells the Kubernetes operator which SpringCloudGatewayRouteConfigs are associated with which SpringCloudGateways. The operator automatically reconfigures SpringCloudGateways with the...