couchbase server with coreos and kubernetes: couchbase connect 2015

Download Couchbase Server with CoreOS and Kubernetes: Couchbase Connect 2015

Post on 26-Jul-2015

356 views

Category:

Technology

4 download

Embed Size (px)

TRANSCRIPT

1. Couchbase Server with CoreOS & Kubernetes Brian "redbeard" Harrington Principal Architect, CoreOS Traun Leyden Sr. Software Engineer, Couchbase 2. Traun Leyde n Sr. Software Engineer Couchbase tleyden@couchbase.com github.com/tleyden twitter.com/tleyden 3. Brian Redbeard Harrington Principal Architect CoreOS redbeard@coreos.com github.com/brianredbear d twitter.com/brianredbear d brianredbeard.com 4. COUCHBA SE 5. K8 S 6. K8 S 7. PEANUT BUTTER & JELLY (CC) SHAWN 8. 090301.020.PORTKLANG (CC) BY 9. 090301.020.PORTKLANG (CC) BY APPLICATI ON CONTAINER S 10. CONT 100 11. CONT 100 12. CONTAINERS ARE NOT LIGHTWEIGHT VMS 13. CONTAINERS SERVE A DIFFERENT PURPOSE 14. LINUX KERNEL NAMESPACE 15. USER LAND 16. USER LAND LINUX KERNEL 17. Red Hat LINUX KERNEL 18. Debian LINUX KERNEL 19. CoreOS LINUX KERNEL 20. USER LAND LINUX KERNEL 21. lo = 127.0.0.1 eth0 = 10.10.10.1 uid = 1000 ports = ::25 ::53 ::80 ::143 LINUX KERNEL 22. lo = 127.0.0.1 eth0 = 10.10.10.1 uid = 1000 ports = ::25 ::53 ::80 ::143 LINUX KERNEL 23. lo = 127.0.0.1 eth0 = 10.10.10.1 uid = 1000 ports = ::25 ::53 ::80 ::143 lo = 127.0.0.1 eth0 = 10.10.10.3 uid = 1000 ports = ::21 ::23 ::8080 ::5900 0 LINUX KERNEL 24. lo = 127.0.0.1 eth0 = 10.10.10.1 uid = 1000 ports = ::25 ::53 ::80 ::143 lo = 127.0.0.1 eth0 = 10.10.10.2 uid = 1000 ports = ::22 ::53 ::80 ::110 lo = 127.0.0.1 eth0 = 10.10.10.3 uid = 1000 ports = ::21 ::23 ::8080 ::5900 0 LINUX KERNEL 25. PID: 10 |- /bin/bash UID: 1000 PID: 10 |- /bin/tcsh UID: 1000 10.10.10. 1 26. Red Hat CoreOSDebian LINUX KERNEL 27. Linux != UNIX 28. Linux != UNIX 29. CAPABILITI ES 30. IF UID == 0 { exec(); 31. $ ping 8.8.8.8 32. setuid 0; 33. $ ls -i /bin/ping $ hexedit /dev/sda1 34. 2.2 Kernel - CAP_CHOWN CAP_KILL etc 35. 2.4 Kernel - CAP_MKNOD CAP_LEASE etc 36. 2.6.37 Kernel - CAP_SYSLOG etc 37. 3.0 Kernel - CAP_WAKE_ALARM etc 38. 3.5 Kernel - CAP_BLOCK_SUSPE ND etc 39. it's not perfect: 40. CAP_SYS_AD MIN 41. MOVING ON... 42. WEIMARANER FIGUREHEAD (CC) BY INGRID 43. WEIMARANER FIGUREHEAD (CC) BY INGRID KUBERNET ES 44. PO D 45. REPLICATION CONTROLLER 46. REPLICATION COUNT = 1 47. REPLICATION COUNT = 3 48. REPLICATION COUNT = 5 49. REPLICATION COUNT = 3 service 50. SKY PUZZLE (CC) BY JARED 51. SOME COMPELLING PHOTO (CC) BY