poka yoke and devops
DESCRIPTION
Ignite talk at Devopdays Barcelona 2013 about Poka yoke and how it's inspire and can be implemented in a Devops cultureTRANSCRIPT
![Page 1: Poka yoke and Devops](https://reader034.vdocuments.mx/reader034/viewer/2022050802/558c8a15d8b42a0c3d8b46d2/html5/thumbnails/1.jpg)
Pokayoke and DevOpsUlf Månsson @ulfmansson Recorded Future AB
![Page 2: Poka yoke and Devops](https://reader034.vdocuments.mx/reader034/viewer/2022050802/558c8a15d8b42a0c3d8b46d2/html5/thumbnails/2.jpg)
Pokayoke failure proof
PokaYoke 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](https://reader034.vdocuments.mx/reader034/viewer/2022050802/558c8a15d8b42a0c3d8b46d2/html5/thumbnails/3.jpg)
ポカヨケ
Quality term developed in Japan
Helps an equipment operator avoid (yokeru) mistakes (poka)
Origin in lean manufacturing system
![Page 4: Poka yoke and Devops](https://reader034.vdocuments.mx/reader034/viewer/2022050802/558c8a15d8b42a0c3d8b46d2/html5/thumbnails/4.jpg)
Example of Pokayoke
![Page 5: Poka yoke and Devops](https://reader034.vdocuments.mx/reader034/viewer/2022050802/558c8a15d8b42a0c3d8b46d2/html5/thumbnails/5.jpg)
Type of pokayoke
Control pokayoke
Warning pokayoke
![Page 6: Poka yoke and Devops](https://reader034.vdocuments.mx/reader034/viewer/2022050802/558c8a15d8b42a0c3d8b46d2/html5/thumbnails/6.jpg)
Pokayoke failure proof
PokaYoke 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](https://reader034.vdocuments.mx/reader034/viewer/2022050802/558c8a15d8b42a0c3d8b46d2/html5/thumbnails/7.jpg)
DevOps
About culture
Involving everyone
Deliver
![Page 8: Poka yoke and Devops](https://reader034.vdocuments.mx/reader034/viewer/2022050802/558c8a15d8b42a0c3d8b46d2/html5/thumbnails/8.jpg)
Devops + Pokayoke = 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](https://reader034.vdocuments.mx/reader034/viewer/2022050802/558c8a15d8b42a0c3d8b46d2/html5/thumbnails/9.jpg)
Automation
One of the build blocks in DevOps
Reduce human errors
![Page 10: Poka yoke and Devops](https://reader034.vdocuments.mx/reader034/viewer/2022050802/558c8a15d8b42a0c3d8b46d2/html5/thumbnails/10.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022050802/558c8a15d8b42a0c3d8b46d2/html5/thumbnails/11.jpg)
Continuous delivery
Continuous delivery treats the commonplace notion of a deployment pipeline as a lean PokaYoke: 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](https://reader034.vdocuments.mx/reader034/viewer/2022050802/558c8a15d8b42a0c3d8b46d2/html5/thumbnails/12.jpg)
Continous delivery safeguard
Image from Wikipedia
![Page 13: Poka yoke and Devops](https://reader034.vdocuments.mx/reader034/viewer/2022050802/558c8a15d8b42a0c3d8b46d2/html5/thumbnails/13.jpg)
Test everything
Application code
Infra code
Use tools like test kitchen
Test full deployment
![Page 14: Poka yoke and Devops](https://reader034.vdocuments.mx/reader034/viewer/2022050802/558c8a15d8b42a0c3d8b46d2/html5/thumbnails/14.jpg)
Simple to use toolsrfknife_upload apache
Logstash
Graphite
Sensu
![Page 15: Poka yoke and Devops](https://reader034.vdocuments.mx/reader034/viewer/2022050802/558c8a15d8b42a0c3d8b46d2/html5/thumbnails/15.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022050802/558c8a15d8b42a0c3d8b46d2/html5/thumbnails/16.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022050802/558c8a15d8b42a0c3d8b46d2/html5/thumbnails/17.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022050802/558c8a15d8b42a0c3d8b46d2/html5/thumbnails/18.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022050802/558c8a15d8b42a0c3d8b46d2/html5/thumbnails/19.jpg)
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](https://reader034.vdocuments.mx/reader034/viewer/2022050802/558c8a15d8b42a0c3d8b46d2/html5/thumbnails/20.jpg)
DevOps and Pokayoke
Makes everyday life easier
Share
Automation