Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Couchbase Server with CoreOS and Kubernetes: Couchbase Connect 2015

2,078 views

Published on

In this talk Brian Harrington, Principal Architect at CoreOS will join Traun Leyden from Couchbase to 1) Provide a deep dive on the technology behind Kubernetes, and 2) Walk through the steps required to get Couchbase running on Kubernetes. Kubernetes: One of the most promising products to hit the DevOps world lately is Google's Kubernetes. Having 10+ years of experience running "internet scale" container clusters based on Borg and other internal projects, Google has decided to re-architect their cluster based on Docker / rkt container technology and release it as Open Source to the world. CoreOS Tectonic: CoreOS recently announced Tectonic: a commercial platform that combines Kubernetes and the CoreOS stack. It is an integrated software platform for Linux containers. This includes a management console for workflows and dashboards, an integrated registry to build and share Linux containers, and additional tools to automate deployment and customize rolling updates. You can run Tectonic in the public cloud such as on Amazon Web Services or Google Container Engine, or you can run it on-premise on bare metal clusters. Couchbase: Couchbase Server is a distributed, always-on, scalable, flexible NoSQL database, that enables you to build applications in an agile way, with great performance. At Couchbase we are constantly on the lookout for technologies which reduce the DevOps effort required by our users. Kubernetes (and therefore, Tectonic) is an ideal deployment platform for Couchbase Server, since it is architected to minimize the amount of work required to scale a cluster up or down. Building on Kubernetes also avoids vendor lock-in, since your cluster will be able to run anywhere that Kubernetes runs -- anywhere from cloud providers down to bare metal clusters.

Published in: Technology
  • Be the first to comment

Couchbase Server with CoreOS and Kubernetes: Couchbase Connect 2015

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

×