Skip to content
Simple demonstration app for 'Cloud Native Devops'
Branch: master
Clone or download
Latest commit 509fbbb Jan 21, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
hello-cloudbuild Change 'phase' back to 'environment'! Nov 26, 2018
hello-config-args Use 'args' instead of 'command' for hello-config-args Oct 6, 2018
hello-config-env
hello-config-file
hello-drone Change 'phase' back to 'environment'! Nov 26, 2018
hello-helm Change 'phase' back to 'environment'! Nov 26, 2018
hello-helmfile
hello-k8s
hello-namespace/k8s
hello-pod
hello-secret-env Update Dockerfiles, rename dirs, and tweak some manifests Sep 12, 2018
hello-secret-file
hello-skaffold Change 'phase' back to 'environment'! Nov 26, 2018
hello-sops Change 'phase' back to 'environment'! Nov 26, 2018
hello
img Update cover image Jan 17, 2019
terraform Change 'phase' back to 'environment'! Nov 26, 2018
.gitignore
LICENSE
README.md

README.md

Cloud Native DevOps with Kubernetes

Cloud Native DevOps cover image

Welcome! This is the example code repository to accompany the book 'Cloud Native DevOps with Kubernetes', by John Arundel and Justin Domingus. Buy the book here:

About the book

From the preface:

You'll learn what Kubernetes is, where it comes from, and what it means for the future of software development and operations. You'll learn how containers work, how to build and manage them, and how to design cloud native services and infrastructure.

You'll understand the trade-offs between building and hosting Kubernetes clusters yourself, and using managed services. You'll learn the capabilities, limitations, and pros and cons of popular Kubernetes installation tools such as kops, kubeadm, and Kubespray. You'll get an informed overview of the major managed Kubernetes offerings from the likes of Amazon, Google, and Microsoft.

You'll get hands-on practical experience of writing and deploying Kubernetes applications, configuring and operating Kubernetes clusters, and automating cloud infrastructure and deployments with tools such as Helm. You'll learn about Kubernetes support for security, authentication, and permissions, including Role-Based Access Control (RBAC), and best practices for securing containers and Kubernetes in production.

You'll learn how to set up continuous integration and deployment with Kubernetes, how to back up and restore data, how to test your cluster for conformance and reliability, how to monitor, trace, log, and aggregate metrics, and how to make your Kubernetes infrastructure scalable, resilient, and cost-effective.

The book aims to teach you everything you need to know to deploy, run, and scale applications in Kubernetes, and most importantly, to give you working example code for everything we demonstrate. That code is open source, available for free for you to use and adapt whether or not you buy the book. And here it is!

Show me the code

Almost all the example code involves our 'hello world' demo application. Here is the list of examples; follow the links to see the documentation on each example.

Terraform examples

We also include some Terraform code examples, to help you manage cloud resources with code. Unfortunately we didn't have space to discuss these in the book, but we hope they'll be useful to you anyway.

Google Cloud

Amazon AWS

You will need

To build and run all of these examples, you will need:

  • Go version 1.11 or above
  • Docker version 18.03 or above

Where you need other tools for specific examples, we'll mention that in the README for the example.

Contributing to the repo

We would absolutely love it if you contributed! Feel free to send us a PR to add new examples, add versions of the examples for different cloud providers (for example Microsoft Azure), or fix or improve the existing examples.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.