Skip to Content
Kubernetes in the Enterprise
book

Kubernetes in the Enterprise

by Michael Elder, Jake Kitchener, Dr. Brad Topol
January 2019
Intermediate to advanced
170 pages
3h 23m
English
O'Reilly Media, Inc.
Content preview from Kubernetes in the Enterprise

Chapter 4. Introducing Our Production Application

In this chapter, we provide several examples that walk you through running an enterprise-quality application on Kubernetes. We begin with a discussion about microservices in Kubernetes. We then introduce several important concepts, explaining each one as we go.

We invite you to prepare your own cluster to run these examples yourself. We explain a few options for running your own Kubernetes cluster and configuring your command-line interface (CLI) in Appendix A.

Our First Microservice

Lao Tzu is credited with the saying, “A journey of a thousand miles begins with one step.” So it is with microservices. Let’s dig in on our first microservice by building an example end to end. We will then expand to a complete application.

We recommend two foundational learning resources for building great microservices: Twelve-Factor Apps, and Stability and Availability Patterns described in the book Release It!.

Each factor in The Twelve-Factor manifesto isolates one aspect of building scalable, manageable microservices. Characteristics such as declarative format and separation of concerns are emphasized.

One of the Twelve Factors that enables scalable web services is the externalization of configuration via the process environment. Many aspects of Kubernetes can be directly mapped back to Twelve-Factor principles. For example, as you’ve already seen in Chapter 3, Kubernetes defines ConfigMaps and Secrets to provide configuration to your app. Configuration ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Kubernetes – An Enterprise Guide - Second Edition

Kubernetes – An Enterprise Guide - Second Edition

Marc Boorshtein, Scott Surovich
Kubernetes Microservices

Kubernetes Microservices

Richard Chesterwood
Kubernetes and Docker - An Enterprise Guide

Kubernetes and Docker - An Enterprise Guide

Scott Surovich, Marc Boorshtein

Publisher Resources

ISBN: 9781492043270