SlideShare uma empresa Scribd logo
1 de 16
Jumpstart into Grownups world
by using k8s out of box abilities
by: Sergei Koren Production Architect
Efim Dimenstein Chief Software Architect
• Few words about us
• Liveperson, running services at scale
• Our focus, wording, requirements
• We’re at the beginning of the journey: our wording
• Our methods
• Getting there What is means (usually)
• K8S now:
Agenda
• Production architect at Liveperson
• 20 years of High Tech experience
• 10 years of SaaS experience
Few words about us
Sergei Koren
• Chief Architect at Liveperson
• 15 years of High Tech experience
• 15 years of SaaS experience
Few words about us
Efim Dimenstein
• 7 Locations
• 8K+ servers, virtual and physical
• 250 moving parts in application
• 99.995% uptime
• 1.4M concurrent visitors are actively monitored
• 2B of unique visitors monthly
• 2P of Hadoop data
• Customers: Largest Cellular provider, top 5 bank etc.
Liveperson, running services at scale
• Resiliency
• Scalability
• Uptime
• SLA
• Availability
Our focus, wording, requirements
Resilience Pyramid
DC
HW
SERVICE
COMPONENT
CODE
• We have an idea
• Get investment
• Develop it quickly
• Show app to (potential) customer
What about our words?
‫יהיה‬‫בסדר‬
We’re at the beginning: our wording
• zip, copy, unzip
• advanced use: ./copy_unzip_restart.sh/chef/puppet script
• Going with Docker:
• Dockerfile: zip, copy into docker, unzip
• image zip, use ./copy_unzip_start docker script (we’re paranoid start
up)
• or: docker push - docker run (we’re ‫יהיה‬‫בסדר‬ startup)
• one app=one AWS instance with host network (otherwise you’ll miss
zip/unzip days :) )
It is viable option. But
Our methods
Monitoring system (Nagios)
Counters (graphite)
Discovery
HA clustering tech
Logging
Capacity management
L4/L7 balancing
Getting there What is means (usually)
Expertise
1 Web server, State in app, plain file persistency on disk(1 app instance)
K8S
1. Connects Web to Tomcat
2. RC with 1 replica; permanent volume - Watchdog; data persistency*
Used features:
K8S, Google persistent volume, RC
K8S now Step 1
We want Redis, file is too slow, state in app memory
1 web 1 tomcat 1 Redis
K8S
1 Web RC replica 1
1 app RC replica 1 (no need for disk)
1 Redis RC master with persistent volume*
Used features:
K8S, Google persistent volume, RC
K8S Step 2
Well, we’re popular, 1 tomcat, 1 web, 1 Redis is not enough
1+webs (session stickiness)
1+tomcat (state in Redis, cached in local memory)
1 Persistent Redis master, Redis slaves for read apps.
Used features
K8S, Google persistent volume, RC
K8S Step 3
preparation steps:
1. Enable Google cloud evaluation - having gmail account is sufficient
2. 1Click Create Project
3. Go to monitoring - 1Click enable
4. go to Container engine - 1Click enable
5. Install SDK or use 1Click Google shell
6. Getting cluster started: gcloud container clusters create grownups --num-
nodes 2 --machine-type g1-small
Demo
• We talked language we use when we run service at scale
• Demonstrated how by using K8S we can for free many features which
usually requires significant effort to build and support
• K8S ramp up for a big company is a good addition to current resilience
solution
We are hiring!
See us at panel
Wrapping up
1. https://github.com/kubernetes/kubernetes/issues/14642
2. https://github.com/sergei-koren/k8s-demo
3. http://www.slideshare.net/LivePersonDev/resilience-from-theory-to-practice
4. http://www.slideshare.net/LivePersonDev
References

Mais conteúdo relacionado

Destaque

Hamburger Marys Equality Happy Hour Preso
Hamburger Marys Equality Happy Hour PresoHamburger Marys Equality Happy Hour Preso
Hamburger Marys Equality Happy Hour Presogtsimpson3
 
Ambientesculturalesvargas
AmbientesculturalesvargasAmbientesculturalesvargas
Ambientesculturalesvargasguest2d6541
 
Strategie nutrizionali nella corsa gjav integratori ferrara
Strategie nutrizionali nella corsa gjav integratori ferraraStrategie nutrizionali nella corsa gjav integratori ferrara
Strategie nutrizionali nella corsa gjav integratori ferraraGJAV
 
Session1 part1
Session1 part1Session1 part1
Session1 part1maovkh
 
Heller Line
Heller Line  Heller Line
Heller Line cvt2go
 
Learn the Secrets of Running Successful AdWords Campaigns for Multi-Location ...
Learn the Secrets of Running Successful AdWords Campaigns for Multi-Location ...Learn the Secrets of Running Successful AdWords Campaigns for Multi-Location ...
Learn the Secrets of Running Successful AdWords Campaigns for Multi-Location ...Powered by Search
 
Session1 part2
Session1 part2Session1 part2
Session1 part2maovkh
 
Position paper
Position paperPosition paper
Position paperhmoulds
 
Slides anu talkwebarchivingaug2012
Slides anu talkwebarchivingaug2012Slides anu talkwebarchivingaug2012
Slides anu talkwebarchivingaug2012Roxanne Missingham
 
Antin my kind of people (clean)
Antin   my kind of people (clean)Antin   my kind of people (clean)
Antin my kind of people (clean)Judd Antin
 

Destaque (17)

Infosat
InfosatInfosat
Infosat
 
Subasta Yankee
Subasta YankeeSubasta Yankee
Subasta Yankee
 
Hamburger Marys Equality Happy Hour Preso
Hamburger Marys Equality Happy Hour PresoHamburger Marys Equality Happy Hour Preso
Hamburger Marys Equality Happy Hour Preso
 
Bosco Youth
Bosco YouthBosco Youth
Bosco Youth
 
Ambientesculturalesvargas
AmbientesculturalesvargasAmbientesculturalesvargas
Ambientesculturalesvargas
 
Strategie nutrizionali nella corsa gjav integratori ferrara
Strategie nutrizionali nella corsa gjav integratori ferraraStrategie nutrizionali nella corsa gjav integratori ferrara
Strategie nutrizionali nella corsa gjav integratori ferrara
 
Jing and Capture
Jing and CaptureJing and Capture
Jing and Capture
 
Globalinvacom
GlobalinvacomGlobalinvacom
Globalinvacom
 
Icecrypt
IcecryptIcecrypt
Icecrypt
 
Session1 part1
Session1 part1Session1 part1
Session1 part1
 
Heller Line
Heller Line  Heller Line
Heller Line
 
Learn the Secrets of Running Successful AdWords Campaigns for Multi-Location ...
Learn the Secrets of Running Successful AdWords Campaigns for Multi-Location ...Learn the Secrets of Running Successful AdWords Campaigns for Multi-Location ...
Learn the Secrets of Running Successful AdWords Campaigns for Multi-Location ...
 
Session1 part2
Session1 part2Session1 part2
Session1 part2
 
Xiaomi leathercraft _smmf2014
Xiaomi leathercraft _smmf2014Xiaomi leathercraft _smmf2014
Xiaomi leathercraft _smmf2014
 
Position paper
Position paperPosition paper
Position paper
 
Slides anu talkwebarchivingaug2012
Slides anu talkwebarchivingaug2012Slides anu talkwebarchivingaug2012
Slides anu talkwebarchivingaug2012
 
Antin my kind of people (clean)
Antin   my kind of people (clean)Antin   my kind of people (clean)
Antin my kind of people (clean)
 

Mais de LivePerson

Microservices on top of kafka
Microservices on top of kafkaMicroservices on top of kafka
Microservices on top of kafkaLivePerson
 
Graph QL Introduction
Graph QL IntroductionGraph QL Introduction
Graph QL IntroductionLivePerson
 
Kubernetes your tests! automation with docker on google cloud platform
Kubernetes your tests! automation with docker on google cloud platformKubernetes your tests! automation with docker on google cloud platform
Kubernetes your tests! automation with docker on google cloud platformLivePerson
 
Growing into a proactive Data Platform
Growing into a proactive Data PlatformGrowing into a proactive Data Platform
Growing into a proactive Data PlatformLivePerson
 
Measure() or die()
Measure() or die() Measure() or die()
Measure() or die() LivePerson
 
Resilience from Theory to Practice
Resilience from Theory to PracticeResilience from Theory to Practice
Resilience from Theory to PracticeLivePerson
 
System Revolution- How We Did It
System Revolution- How We Did It System Revolution- How We Did It
System Revolution- How We Did It LivePerson
 
Liveperson DLD 2015
Liveperson DLD 2015 Liveperson DLD 2015
Liveperson DLD 2015 LivePerson
 
Mobile app real-time content modifications using websockets
Mobile app real-time content modifications using websocketsMobile app real-time content modifications using websockets
Mobile app real-time content modifications using websocketsLivePerson
 
Mobile SDK: Considerations & Best Practices
Mobile SDK: Considerations & Best Practices Mobile SDK: Considerations & Best Practices
Mobile SDK: Considerations & Best Practices LivePerson
 
Functional programming with Java 8
Functional programming with Java 8Functional programming with Java 8
Functional programming with Java 8LivePerson
 
Apache Avro in LivePerson [Hebrew]
Apache Avro in LivePerson [Hebrew]Apache Avro in LivePerson [Hebrew]
Apache Avro in LivePerson [Hebrew]LivePerson
 
Apache Avro and Messaging at Scale in LivePerson
Apache Avro and Messaging at Scale in LivePersonApache Avro and Messaging at Scale in LivePerson
Apache Avro and Messaging at Scale in LivePersonLivePerson
 
Data compression in Modern Application
Data compression in Modern ApplicationData compression in Modern Application
Data compression in Modern ApplicationLivePerson
 
Support Office Hour Webinar - LivePerson API
Support Office Hour Webinar - LivePerson API Support Office Hour Webinar - LivePerson API
Support Office Hour Webinar - LivePerson API LivePerson
 
SIP - Introduction to SIP Protocol
SIP - Introduction to SIP ProtocolSIP - Introduction to SIP Protocol
SIP - Introduction to SIP ProtocolLivePerson
 
Scalding: Reaching Efficient MapReduce
Scalding: Reaching Efficient MapReduceScalding: Reaching Efficient MapReduce
Scalding: Reaching Efficient MapReduceLivePerson
 
Building Enterprise Level End-To-End Monitor System with Open Source Solution...
Building Enterprise Level End-To-End Monitor System with Open Source Solution...Building Enterprise Level End-To-End Monitor System with Open Source Solution...
Building Enterprise Level End-To-End Monitor System with Open Source Solution...LivePerson
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data ScienceLivePerson
 
From a Kafkaesque Story to The Promised Land at LivePerson
From a Kafkaesque Story to The Promised Land at LivePersonFrom a Kafkaesque Story to The Promised Land at LivePerson
From a Kafkaesque Story to The Promised Land at LivePersonLivePerson
 

Mais de LivePerson (20)

Microservices on top of kafka
Microservices on top of kafkaMicroservices on top of kafka
Microservices on top of kafka
 
Graph QL Introduction
Graph QL IntroductionGraph QL Introduction
Graph QL Introduction
 
Kubernetes your tests! automation with docker on google cloud platform
Kubernetes your tests! automation with docker on google cloud platformKubernetes your tests! automation with docker on google cloud platform
Kubernetes your tests! automation with docker on google cloud platform
 
Growing into a proactive Data Platform
Growing into a proactive Data PlatformGrowing into a proactive Data Platform
Growing into a proactive Data Platform
 
Measure() or die()
Measure() or die() Measure() or die()
Measure() or die()
 
Resilience from Theory to Practice
Resilience from Theory to PracticeResilience from Theory to Practice
Resilience from Theory to Practice
 
System Revolution- How We Did It
System Revolution- How We Did It System Revolution- How We Did It
System Revolution- How We Did It
 
Liveperson DLD 2015
Liveperson DLD 2015 Liveperson DLD 2015
Liveperson DLD 2015
 
Mobile app real-time content modifications using websockets
Mobile app real-time content modifications using websocketsMobile app real-time content modifications using websockets
Mobile app real-time content modifications using websockets
 
Mobile SDK: Considerations & Best Practices
Mobile SDK: Considerations & Best Practices Mobile SDK: Considerations & Best Practices
Mobile SDK: Considerations & Best Practices
 
Functional programming with Java 8
Functional programming with Java 8Functional programming with Java 8
Functional programming with Java 8
 
Apache Avro in LivePerson [Hebrew]
Apache Avro in LivePerson [Hebrew]Apache Avro in LivePerson [Hebrew]
Apache Avro in LivePerson [Hebrew]
 
Apache Avro and Messaging at Scale in LivePerson
Apache Avro and Messaging at Scale in LivePersonApache Avro and Messaging at Scale in LivePerson
Apache Avro and Messaging at Scale in LivePerson
 
Data compression in Modern Application
Data compression in Modern ApplicationData compression in Modern Application
Data compression in Modern Application
 
Support Office Hour Webinar - LivePerson API
Support Office Hour Webinar - LivePerson API Support Office Hour Webinar - LivePerson API
Support Office Hour Webinar - LivePerson API
 
SIP - Introduction to SIP Protocol
SIP - Introduction to SIP ProtocolSIP - Introduction to SIP Protocol
SIP - Introduction to SIP Protocol
 
Scalding: Reaching Efficient MapReduce
Scalding: Reaching Efficient MapReduceScalding: Reaching Efficient MapReduce
Scalding: Reaching Efficient MapReduce
 
Building Enterprise Level End-To-End Monitor System with Open Source Solution...
Building Enterprise Level End-To-End Monitor System with Open Source Solution...Building Enterprise Level End-To-End Monitor System with Open Source Solution...
Building Enterprise Level End-To-End Monitor System with Open Source Solution...
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
From a Kafkaesque Story to The Promised Land at LivePerson
From a Kafkaesque Story to The Promised Land at LivePersonFrom a Kafkaesque Story to The Promised Land at LivePerson
From a Kafkaesque Story to The Promised Land at LivePerson
 

Último

Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 

Último (20)

E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 

Jumpstart into grownups word by using k8s out of box abilities

  • 1. Jumpstart into Grownups world by using k8s out of box abilities by: Sergei Koren Production Architect Efim Dimenstein Chief Software Architect
  • 2. • Few words about us • Liveperson, running services at scale • Our focus, wording, requirements • We’re at the beginning of the journey: our wording • Our methods • Getting there What is means (usually) • K8S now: Agenda
  • 3. • Production architect at Liveperson • 20 years of High Tech experience • 10 years of SaaS experience Few words about us Sergei Koren
  • 4. • Chief Architect at Liveperson • 15 years of High Tech experience • 15 years of SaaS experience Few words about us Efim Dimenstein
  • 5. • 7 Locations • 8K+ servers, virtual and physical • 250 moving parts in application • 99.995% uptime • 1.4M concurrent visitors are actively monitored • 2B of unique visitors monthly • 2P of Hadoop data • Customers: Largest Cellular provider, top 5 bank etc. Liveperson, running services at scale
  • 6. • Resiliency • Scalability • Uptime • SLA • Availability Our focus, wording, requirements
  • 8. • We have an idea • Get investment • Develop it quickly • Show app to (potential) customer What about our words? ‫יהיה‬‫בסדר‬ We’re at the beginning: our wording
  • 9. • zip, copy, unzip • advanced use: ./copy_unzip_restart.sh/chef/puppet script • Going with Docker: • Dockerfile: zip, copy into docker, unzip • image zip, use ./copy_unzip_start docker script (we’re paranoid start up) • or: docker push - docker run (we’re ‫יהיה‬‫בסדר‬ startup) • one app=one AWS instance with host network (otherwise you’ll miss zip/unzip days :) ) It is viable option. But Our methods
  • 10. Monitoring system (Nagios) Counters (graphite) Discovery HA clustering tech Logging Capacity management L4/L7 balancing Getting there What is means (usually) Expertise
  • 11. 1 Web server, State in app, plain file persistency on disk(1 app instance) K8S 1. Connects Web to Tomcat 2. RC with 1 replica; permanent volume - Watchdog; data persistency* Used features: K8S, Google persistent volume, RC K8S now Step 1
  • 12. We want Redis, file is too slow, state in app memory 1 web 1 tomcat 1 Redis K8S 1 Web RC replica 1 1 app RC replica 1 (no need for disk) 1 Redis RC master with persistent volume* Used features: K8S, Google persistent volume, RC K8S Step 2
  • 13. Well, we’re popular, 1 tomcat, 1 web, 1 Redis is not enough 1+webs (session stickiness) 1+tomcat (state in Redis, cached in local memory) 1 Persistent Redis master, Redis slaves for read apps. Used features K8S, Google persistent volume, RC K8S Step 3
  • 14. preparation steps: 1. Enable Google cloud evaluation - having gmail account is sufficient 2. 1Click Create Project 3. Go to monitoring - 1Click enable 4. go to Container engine - 1Click enable 5. Install SDK or use 1Click Google shell 6. Getting cluster started: gcloud container clusters create grownups --num- nodes 2 --machine-type g1-small Demo
  • 15. • We talked language we use when we run service at scale • Demonstrated how by using K8S we can for free many features which usually requires significant effort to build and support • K8S ramp up for a big company is a good addition to current resilience solution We are hiring! See us at panel Wrapping up
  • 16. 1. https://github.com/kubernetes/kubernetes/issues/14642 2. https://github.com/sergei-koren/k8s-demo 3. http://www.slideshare.net/LivePersonDev/resilience-from-theory-to-practice 4. http://www.slideshare.net/LivePersonDev References

Notas do Editor

  1. questions: 1. Do you have docker in production? How many instances? less than 50? 500? 5000?