在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):geerlingguy/raspberry-pi-dramble开源软件地址(OpenSource Url):https://github.com/geerlingguy/raspberry-pi-dramble开源编程语言(OpenSource Language):Shell 46.7%开源软件介绍(OpenSource Introduction):Raspberry Pi DrambleA cluster (Bramble) of Raspberry Pis on which Drupal is deployed using Ansible and Kubernetes. Read the rest of this README and the official Pi Dramble Wiki for more information about the Dramble. WhyI'm doing presentations on Ansible, and how easy it makes infrastructure configuration, even for high-performance/high-availability Drupal sites. WiFi/Internet access is spotty at most conferences, so deploying to AWS, DigitalOcean, or other live public cloud instances that require a stable Internet connection is a Bad Idea™. I'm also presenting on Kubernetes, and how easy it is to have self-healing, almost-infinitely-scalable infrastructure (managed with Ansible), and it's more fun to build with Kubernetes on bare metal... at least when the RAM on the Kubernetes master isn't all eaten up! But really, it's just plain awesome. How many people can say they carry their entire datacenter in a travel bag, and can run it from a USB battery pack? A cluster of servers, in my hand, at the presentation. With blinking LEDs! Official SiteYou can browse more information about geerlingguy's Dramble on http://www.pidramble.com/. This website is actually running on the Rasbperry Pi Dramble cluster pictured above! Specs
Getting the Pis (and other accessories)Many people have asked for a basic list of components used in constructing the Dramble, or where I found particular parts. In the Wiki, I've added pages listing the following: Setting up the PisThe process for setting up all the Raspberry Pis is outlined in the Wiki:
Adding more nodesYou can add more than four nodes, if you desire; add additional hosts in the same sequence in the following files:
If you need to change the IP subnet (default is Private Docker Registry UsageThe Pi Dramble includes a built-in Docker registry that is used to host Drupal images for deployment to Kubernetes. To use the Docker registry manually (to push or pull images):
Benchmarks - Testing the performance of the DrambleSee the Pi Dramble Benchmarks section of the Wiki for current benchmarks and statistics. Local testingA Vagrantfile is also included for local testing and debugging of the Kubernetes cluster and manifests using Vagrant. See the Vagrant README for more details. Drupal on a Single Pi - Drupal PiIf you have only a single Raspberry Pi, you can use the Drupal Pi project to quickly get Drupal running on the single Pi. Using older or slower Raspberry Pi modelsThe Raspberry Pi 2, 3, 3 B+, and 4 have quad-core processors that make certain operations four to ten times faster than single-core Pis like the A+, B+, Zero, etc. Additionally, cluster members need as much RAM as possible, and any Pi without at least 1 GB of RAM simply can't be used as a Kubernetes master. Therefore only the following Pi models are officially supported:
Presentation ModeThe Raspberry Pi Dramble Kubernetes cluster can function entirely 'air-gapped' from the Internet, and this is in fact how the maintainer uses it in presentations. See the README in the AuthorThis project was started in 2015 by Jeff Geerling, author of Ansible for DevOps and Ansible for Kubernetes. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论