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

Common day-2 operations with Harbor

Now that we have a working setup of Harbor, let’s look into some important day-2 operations that we may need to perform on it. We will cover the following activities in this section:

  • Creating and configuring a project in Harbor, which is the multi-tenancy enabling construct on Harbor that allows different teams to have separate configurations
  • Configuring automated image scanning and working with the scan results
  • Preventing insecure images from being used to deploy containers using them
  • Configuring image replication to allow selective access to the external images
  • Performing a cleanup of unused image tags to free up the storage quota of a project

As you can see here, we have lots of ground to cover. So, let’s get started.

Configuring a project in Harbor

Let’s create a new project called project-1 and configure it using the admin user we used previously to verify the installation:

  1. Click...