© Ernesto Garbarino 2019
E. GarbarinoBeginning Kubernetes on the Google Cloud Platformhttps://doi.org/10.1007/978-1-4842-5491-2_9

9. StatefulSets

Ernesto Garbarino1 
(1)
EGHAM, UK
 
The Twelve-Factor App methodology is, arguably, one of the most widespread set of principles for cloud native applications. Factor IV called “Backing Services” says that backing services should be treated as attached resources. One of the passages, at https://12factor.net/backing-services, reads:

The code for a twelve-factor app makes no distinction between local and third party services. To the app, both are attached resources, accessed via a URL or other locator/credentials stored in the config. A deploy of the twelve-factor app should be able to swap out a local MySQL ...

Get Beginning Kubernetes on the Google Cloud Platform: A Guide to Automating Application Deployment, Scaling, and Management now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.