Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
DevSecOps in Practice with VMware Tanzu

You're reading from   DevSecOps in Practice with VMware Tanzu Build, run, and manage secure multi-cloud apps at scale on Kubernetes with the Tanzu portfolio

Arrow left icon
Product type Paperback
Published in Jan 2023
Publisher Packt
ISBN-13 9781803241340
Length 436 pages
Edition 1st Edition
Concepts
Arrow right icon
Authors (2):
Arrow left icon
Robert Hardt Robert Hardt
Author Profile Icon Robert Hardt
Robert Hardt
Parth Pandit Parth Pandit
Author Profile Icon Parth Pandit
Parth Pandit
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Preface 1. Part 1 – Building Cloud-Native Applications on the Tanzu Platform
2. Chapter 1: Understanding the Need to Move to a Cloud Platform FREE CHAPTER 3. Chapter 2: Developing Cloud-Native Applications 4. Chapter 3: Building Secure Container Images with Build Service 5. Chapter 4: Provisioning Backing Services for Applications 6. Chapter 5: Defining and Managing Business APIs 7. Part 2 – Running Cloud-Native Applications on Tanzu
8. Chapter 6: Managing Container Images with Harbor 9. Chapter 7: Orchestrating Containers across Clouds with Tanzu Kubernetes Grid 10. Chapter 8: Enhancing Developer Productivity with Tanzu Application Platform 11. Part 3 – Managing Modern Applications on the Tanzu Platform
12. Chapter 9: Managing and Controlling Kubernetes Clusters with Tanzu Mission Control 13. Chapter 10: Realizing Full-Stack Visibility with VMware Aria Operations for Applications 14. Chapter 11: Enabling Secure Inter-Service Communication with Tanzu Service Mesh 15. Chapter 12: Bringing It All Together 16. Index 17. Other Books You May Enjoy Appendix

Kubernetes

When containers caught on, they took off in a big way, but they were not the be-all-and-end-all solution developers had hoped for. A container runtime on a server often required big trade-offs between flexibility and security. Because the container runtime needed to work closely with the Linux kernel, users often required elevated permissions just to run their containers. Furthermore, there were multiple ways to run containers on a server, some of which were tightly coupled to specific cloud providers. Finally, while container runtimes let developers start up their applications, they varied widely in their support for things like persistent storage and networking, which often required manual configuration and customization.

These were the problems that Joe Beda, Craig McLuckie, and Brendan Burns at Google were trying to solve when they built Kubernetes. Rather than just a means of running containerized applications on a server, Kubernetes evolved into what Google Distinguished Developer Advocate Kelsey Hightower called ”a platform for building platforms.” Kubernetes offered many benefits over running containers directly on a server:

  • It provided a single flexible declarative API for describing the desired state of a running application – 9 instances, each using 1 gigabyte of RAM and 500 millicores of CPU spread evenly over 3 availability zones, for example
  • It handled running the instances across an elastic fleet of servers complete with all the necessary networking and resource management
  • It provided a declarative way to expose cloud-provider-specific implementations of networking and persistent storage to container workloads
  • It provided a framework for custom APIs such that any arbitrary object could be managed by Kubernetes
  • It shipped with developer-oriented abstractions such as Deployments, Stateful Sets, Config Maps, and Secrets, which handled many common use cases

Many of us thought that perhaps Kubernetes was the technological advance that would finally solve all of our problems, but just as with each previous technology iteration, the solution to a particular set of problems simply exposes a new generation of problems.

As companies with large teams of developers began to onboard onto Kubernetes, these problems became increasingly pronounced. Here are some examples:

  • Technology sprawl took hold, with each team solving the same problem differently
  • Teams had their own ops tooling and processes making it difficult to scale operations across applications
  • Enforcing best practices involved synchronous human-bound processes that slowed developer velocity
  • Each cloud provider’s flavor of Kubernetes was slightly different, making multi-cloud and hybrid-cloud deployments difficult
  • Many of the core components of a Kubernetes Deployment – container images, for example – simply took existing problems and allowed developers to deploy vulnerable software much more quickly and widely than before, actually making the problem worse
  • Entire teams had to be spun up just to manage developer tooling and try to enforce some homogeneity across a wide portfolio of applications
  • Running multiple different applications on a single Kubernetes cluster requires significant operator effort and investment

Alas, Kubernetes was not the panacea we had hoped it would be; rather, it was just another iteration of technology that moves the industry forward by solving one set of problems but inevitably surfacing a new set of problems. This is where the Tanzu team at VMware comes into the picture.

You have been reading a chapter from
DevSecOps in Practice with VMware Tanzu
Published in: Jan 2023
Publisher: Packt
ISBN-13: 9781803241340
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime