Federation of Kubernetes Clusters (a.k.a. "Ubernetes") - KubeCon 2015 slides - Quinton Hoole
KubeCon EU 2016: Kubernetes in Production in The New York Times newsroom
-
Upload
kubeacademy -
Category
Technology
-
view
483 -
download
1
Transcript of KubeCon EU 2016: Kubernetes in Production in The New York Times newsroom
Eric LewisWeb DeveloperInteractive News @ The New York Times@ericandrewlewis (short for Eric AndrewLewis not Eric and Rew Lewis!)
Kubernetes in use atKubernetes in use atThe New York TimesThe New York Times
Interactive NewsInteractive NewsDeveloper-JournalistsDeveloper-Journalists
assisting with novel formsassisting with novel formsof news coverageof news coverage
The (Photo) BackpackThe (Photo) Backpack
Parsing election dataParsing election data
https://github.com/newsdev/elex/
QuizzesQuizzes
Electionresult datacollation
Quizmaker
Watermarktool
LiveCoverage
RealtimeQ&A
NYTimesen Español
+ manymore
Lots of applicationsLots of applications
We're generalist,We're generalist,web-leaningweb-leaningdevelopersdevelopers
In a deadline-drivenIn a deadline-drivenenvironment, developersenvironment, developers
need concentratedneed concentratedresponsibility.responsibility.
We wanted a self-We wanted a self-service, dev-friendlyservice, dev-friendlyapplication platformapplication platform
1. Give developer an application server2. Give developer an application
server without root access3. Let developer provision a server with Chef4. Automate the use of Chef5. Use containers loaded via Fleet6. Use containers loaded via Kubernetes
A brief history of ourA brief history of ourinfrastructureinfrastructure
ContainerizationContainerizationbreaks down barriersbreaks down barriersbetween developerbetween developer
and sys adminand sys admin
Containers let you run VarnishContainers let you run Varnishin minutes to debug VCLin minutes to debug VCL
SingleAppVM
SingleAppVM
SingleAppVM
SingleAppVM
SingleAppVM
SingleAppVM
SingleAppVM
SingleAppVM
SingleAppVM
Self-service in VMs vs KubeSelf-service in VMs vs Kube
app app app
app app app
app app app
SingleAppVM
SingleAppVM
SingleAppVM
SingleAppVM
SingleAppVM
SingleAppVM
SingleAppVM
SingleAppVM
SingleAppVM
Apps in VMs are expensiveApps in VMs are expensive
"You need sign off tocreate an app because a
VM costs money"
SingleAppVM
SingleAppVM
SingleAppVM
SingleAppVM
SingleAppVM
SingleAppVM
SingleAppVM
SingleAppVM
SingleAppVM
VMs require configurationVMs require configuration
"We need to set upnetworking for your app"
"Only I have the cloud providercredentials to do that"
Creating an app inCreating an app inKubernetes isKubernetes is
nominalnominal
We wanted moreWe wanted morethan kubectlthan kubectl
App = service + rcApp = service + rc
Opinionated DeploysOpinionated Deploys
Add secretsAdd secrets
Next step: startNext step: startusing Kube Dashboardusing Kube Dashboard
Request FlowRequest Flow
some-app.pub.prod.int.nytimes.com=>
some-app.pub.svc.cluster.local
Default service domain namesDefault service domain names
www.nytimes.com/something => some-app
Path-based service routingPath-based service routing
Redirects + Static asset proxyRedirects + Static asset proxy
Eric Lewis@ericandrewlewis