20
Poka-yoke and DevOps Ulf Månsson  -  @ulfmansson  -  Recorded Future AB

Poka yoke and Devops

Embed Size (px)

DESCRIPTION

Ignite talk at Devopdays Barcelona 2013 about Poka yoke and how it's inspire and can be implemented in a Devops culture

Citation preview

Page 1: Poka yoke and Devops

Poka­yoke and DevOpsUlf Månsson  ­  @ulfmansson  ­  Recorded Future AB

Page 2: Poka yoke and Devops

Poka­yoke ­ failure proof

Poka­Yoke is a system that, after being implemented, makes the creation of a defect in the manufacturing process impossible to happen.

Page 3: Poka yoke and Devops

ポカヨケ

Quality term developed in Japan

         Helps an equipment operator avoid (yokeru) mistakes (poka)

                    Origin in lean manufacturing system

                               

Page 4: Poka yoke and Devops

Example of Poka­yoke

Page 5: Poka yoke and Devops

Type of poka­yoke

Control poka­yoke

                  Warning poka­yoke

Page 6: Poka yoke and Devops

Poka­yoke ­ failure proof

Poka­Yoke is a system that, after being implemented, makes the creation of a defect in the manufacturing process impossible to happen.

Page 7: Poka yoke and Devops

DevOps

About culture

                  Involving everyone

                                          Deliver

Page 8: Poka yoke and Devops

Devops + Poka­yoke = true

Make processes fail proofs

      Safer for everyone to do tasks by them self

  

           Everyone should be able to do simple tasks as a deploy

               

                       

                             

Page 9: Poka yoke and Devops

Automation

One of the build blocks in DevOps

               

                Reduce human errors

Page 10: Poka yoke and Devops

DeploymentEasy to deploy for everyone – developers are deploying

      At Recorded Future, just set the revision number of the component 

                Component depending are automatically restarted

                       

Page 11: Poka yoke and Devops

Continuous delivery

Continuous delivery treats the commonplace notion of a deployment pipeline as a lean Poka­Yoke: a set of validations through which a piece of software must pass on its way to release

Source Wikipedia

Page 12: Poka yoke and Devops

Continous delivery safeguard

Image from Wikipedia

Page 13: Poka yoke and Devops

Test everything

Application code

         Infra code

                  Use tools like test kitchen

                              Test full deployment 

Page 14: Poka yoke and Devops

Simple to use toolsrfknife_upload apache

    

    Logstash

        Graphite

               Sensu

Page 15: Poka yoke and Devops

Auto scaling

Problem with a server, just shut it down, you will get a new for free

                  Think about your servers as cattle not individual cows

Page 16: Poka yoke and Devops

Same language for all infra code

Standardized all infra codes in one common language, eq Ruby

         Bash, Perl, Python etc is banned

                Easy for developers to understand and change

                      

                      Easy for operation people to understand and maintain

Page 17: Poka yoke and Devops

Code

All code is code   Keep the code in the same repository     

Treat all code in the same way, it doesn’t matter if it’s application code, infra code, 

test code or whatever

Page 18: Poka yoke and Devops

Same processes, same tools

We all use JIRA

     Use the same name for components etc

              We run the same sprints

Page 19: Poka yoke and Devops

Internal tools

Web based to prefer

     Few tools

          Should warn if there is a major impact of the command

                  ­­help should always work

                           Should be error prone, take care of the user

                      

Page 20: Poka yoke and Devops

DevOps and Poka­yoke

Makes everyday life easier

               Share

                               Automation