KubeCon EU 2016: Transforming the Government

74
Transforming The Government @ipedrazas We cannot confirm or deny this talk has ever happened

Transcript of KubeCon EU 2016: Transforming the Government

Page 1: KubeCon EU 2016: Transforming the Government

Transforming The Government

@ipedrazas

We cannot confirm or deny this talk has ever happened

Page 2: KubeCon EU 2016: Transforming the Government

The World has Changed

Page 3: KubeCon EU 2016: Transforming the Government

Immutable, Ephemeral Infrastructure

Page 4: KubeCon EU 2016: Transforming the Government
Page 5: KubeCon EU 2016: Transforming the Government

The Jenkins Incident

Page 6: KubeCon EU 2016: Transforming the Government

Real DevOps it’s...

Page 7: KubeCon EU 2016: Transforming the Government

Ivan

Page 8: KubeCon EU 2016: Transforming the Government

A B C

@ipedrazas

Page 9: KubeCon EU 2016: Transforming the Government

We’re hiring!

Page 10: KubeCon EU 2016: Transforming the Government
Page 11: KubeCon EU 2016: Transforming the Government

sprint 16gds

Page 12: KubeCon EU 2016: Transforming the Government

It’s all about the people

Page 13: KubeCon EU 2016: Transforming the Government

Story of a Journey

Page 14: KubeCon EU 2016: Transforming the Government
Page 15: KubeCon EU 2016: Transforming the Government

Live Event Verification

Page 16: KubeCon EU 2016: Transforming the Government
Page 17: KubeCon EU 2016: Transforming the Government
Page 18: KubeCon EU 2016: Transforming the Government
Page 19: KubeCon EU 2016: Transforming the Government
Page 20: KubeCon EU 2016: Transforming the Government
Page 21: KubeCon EU 2016: Transforming the Government
Page 22: KubeCon EU 2016: Transforming the Government

Loads of Web Application Firewalls

Page 23: KubeCon EU 2016: Transforming the Government

https://github.com/UKHomeOffice/docker-nginx-proxy

Page 24: KubeCon EU 2016: Transforming the Government

Brace yourselves

Page 25: KubeCon EU 2016: Transforming the Government

Instead of focusing on building a solution

we were focusing on running a solution

in different environments

Page 26: KubeCon EU 2016: Transforming the Government
Page 27: KubeCon EU 2016: Transforming the Government
Page 28: KubeCon EU 2016: Transforming the Government

Farm of pets

Page 29: KubeCon EU 2016: Transforming the Government

1 Region

3 AZs

Based on CoreOS

Bootstraps from a container

Page 30: KubeCon EU 2016: Transforming the Government

We run everything in containers

Page 31: KubeCon EU 2016: Transforming the Government

The idea behind our Platform

is FOCUS

Page 32: KubeCon EU 2016: Transforming the Government

Write less,Deliver more

Page 33: KubeCon EU 2016: Transforming the Government

Sharingis caring

Page 34: KubeCon EU 2016: Transforming the Government

The Challenge...

Page 35: KubeCon EU 2016: Transforming the Government

“ In our experience, for a tool to be widely accepted, it must be compelling,

add tremendous value, and reduce the overall cognitive load for the

majority of Netflix engineers.”

http://techblog.netflix.com/2016/03/how-we-build-code-at-netflix.html

Page 36: KubeCon EU 2016: Transforming the Government

The platform provides...

Page 37: KubeCon EU 2016: Transforming the Government

A place to run your applications

Page 38: KubeCon EU 2016: Transforming the Government

Security

Page 39: KubeCon EU 2016: Transforming the Government

Monitoring

Page 40: KubeCon EU 2016: Transforming the Government

Logging

Page 41: KubeCon EU 2016: Transforming the Government

CI / CD

Building

Delivery

Page 42: KubeCon EU 2016: Transforming the Government

DRONE

Docker hostJenkins

Docker Registry

Cluster ClusterCluster

Page 43: KubeCon EU 2016: Transforming the Government
Page 44: KubeCon EU 2016: Transforming the Government

https://github.com/UKHomeOffice/kb8or

https://github.com/kubernetes/kubernetes/blob/release-1.1/docs/proposals/deployment.md

Page 45: KubeCon EU 2016: Transforming the Government

DeploymentsDeploymentsDeployments

Page 46: KubeCon EU 2016: Transforming the Government

Things we have learnt

Page 47: KubeCon EU 2016: Transforming the Government

COMPOSITION, COMPOSITION, COMPOSITION

Page 48: KubeCon EU 2016: Transforming the Government

Kubernetes helps you to be better

Page 49: KubeCon EU 2016: Transforming the Government

New Concepts are difficult

Page 50: KubeCon EU 2016: Transforming the Government

Manage your Resources

Page 51: KubeCon EU 2016: Transforming the Government

Testing...

Page 52: KubeCon EU 2016: Transforming the Government

Intergration testingas

Blueprints

Page 53: KubeCon EU 2016: Transforming the Government
Page 54: KubeCon EU 2016: Transforming the Government

https://github.com/UKHomeOffice/vault-sidekick

Page 55: KubeCon EU 2016: Transforming the Government
Page 56: KubeCon EU 2016: Transforming the Government
Page 57: KubeCon EU 2016: Transforming the Government

Healthchecks

Page 58: KubeCon EU 2016: Transforming the Government
Page 59: KubeCon EU 2016: Transforming the Government

SecretsAnd

Certificates

Page 60: KubeCon EU 2016: Transforming the Government

are messy

Page 61: KubeCon EU 2016: Transforming the Government

TANGLED

Page 62: KubeCon EU 2016: Transforming the Government

Do one thing and

do it well

Page 63: KubeCon EU 2016: Transforming the Government

Smaller pieces of code using Composition

Page 64: KubeCon EU 2016: Transforming the Government

Less Technical Debt

Page 65: KubeCon EU 2016: Transforming the Government

Summary

Page 66: KubeCon EU 2016: Transforming the Government

Kubernetes helps you

Page 67: KubeCon EU 2016: Transforming the Government

Possibleand risky

Page 68: KubeCon EU 2016: Transforming the Government

Fragile

Page 69: KubeCon EU 2016: Transforming the Government
Page 70: KubeCon EU 2016: Transforming the Government

Thank You!

Page 71: KubeCon EU 2016: Transforming the Government

Questions...or lunch?

@ipedrazas

Page 72: KubeCon EU 2016: Transforming the Government

https://hodigital.blog.gov.uk/

https://github.com/UKHomeOfficehttps://github.com/UKHomeOffice/vault-sidekickhttps://github.com/UKHomeOffice/docker-nginx-proxyhttps://github.com/UKHomeOffice/kb8or

https://github.com/kubernetes/kubernetes/blob/release-1.1/docs/proposals/deployment.md

http://techblog.netflix.com/2016/03/how-we-build-code-at-netflix.html

Resources

Page 73: KubeCon EU 2016: Transforming the Government
Page 74: KubeCon EU 2016: Transforming the Government

This presentation contains 42 animated gifs

It is not a coincidence...

Answer to the Ultimate Question of Life, the Universe, and Everything… kubernetes included!