<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Kevin Backman on Medium]]></title>
        <description><![CDATA[Stories by Kevin Backman on Medium]]></description>
        <link>https://medium.com/@kevin.backman?source=rss-d7400eb8b7c4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dXyLGDxvnOH_UHCS_V3yug.jpeg</url>
            <title>Stories by Kevin Backman on Medium</title>
            <link>https://medium.com/@kevin.backman?source=rss-d7400eb8b7c4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 02:03:36 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kevin.backman/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Deploying a Cost-Effective Kubernetes Cluster with NUC PCs and Google Distributed Cloud software…]]></title>
            <link>https://technology.mlblogs.com/deploying-a-cost-effective-kubernetes-cluster-with-nuc-pcs-and-google-distributed-cloud-software-cbb65105cdbc?source=rss-d7400eb8b7c4------2</link>
            <guid isPermaLink="false">https://medium.com/p/cbb65105cdbc</guid>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[statcast]]></category>
            <category><![CDATA[google-distributed-cloud]]></category>
            <category><![CDATA[major-league-baseball]]></category>
            <dc:creator><![CDATA[Kevin Backman]]></dc:creator>
            <pubDate>Fri, 01 Nov 2024 18:40:53 GMT</pubDate>
            <atom:updated>2024-11-01T19:33:33.028Z</atom:updated>
            <content:encoded><![CDATA[<h3>Deploying a Cost-Effective Kubernetes Cluster with NUC PCs and Google Distributed Cloud software for bare metal.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QKTIZ_Hct0M5x1u69aVKIg.jpeg" /><figcaption>Photo Credit: Kevin Backman</figcaption></figure><p>Since 2017 MLB has held the Little League Classic at Journey Bank Ballpark at historic Bowman Field in Williamsport, PA. This game is held with the goal of fostering a connection between professional players and young baseball fans from around the U.S. and across the globe while highlighting MLB’s commitment to supporting youth baseball. In previous years we have used a setup consisting of 3 Dell Poweredge XR11 servers rack mounted in a Pelican case. While powerful, these Dell servers are also expensive, heavy and power hungry. With this in mind we wanted to focus on more efficient and cost effective ways to support the current requirements of this event by piloting a cluster consisting of 8 NUC13 PCs running Google Distributed Cloud software for bare metal.</p><h4><strong>Goals of this project</strong></h4><ul><li>Support several events a year using these flypack kits including the Little League Classic, and other MLB special events such as MLB at Rickwood Field: A Tribute to the Negro Leagues, the London Series, and the Korea Series, among others.</li><li>Reduce hardware shipment to decrease hardware and shipping costs.</li><li>Reduce weight of flypack shipment to decrease required staff necessary to move and install flypack.</li><li>Reduce size of flypack shipment to provide more space in the onsite temporary data centers.</li><li>Reduce hardware requirements to decrease thermal output which is a major risk for these temporary data centers (rack servers produce a lot of heat).</li></ul><h4><strong>Flypack Infrastructure Footprint</strong></h4><p>Current Special Events Flypack Architecture:</p><ul><li>3 Dell Poweredge XR11 1U rack servers</li><li>These clusters support K8 applications such as:<br>- NTP<br>- Pitch Clock (Pendulum)<br>- Statcast Tracking System (ActiveMQ)</li><li>Total cost of the Dell flypack is over $30,000 and each unit has:<br>- A total of 24 cores and 32 GiB of memory.<br>- Max wattage draw per unit is 1120W</li><li>Lightweight Special Events Flypack Architecture:<br>- 8 NUC13anki7 small form factor pc’s<br>- These clusters support the same K8 applications as the full-sized flypack<br>- Each one of these NUC’s have 12 cores (Intel i7) and 32 GiB of memory (expandable to 64GiB of memory)<br>- Cost of building the NUC kit was around 70% cheaper than the old kit.<br>- Max wattage draw per NUC is 120W while still being able to withstand temperatures of up to 40°C.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OV1c55WUPhXjGNbm" /><figcaption>To illustrate the difference between the two kits, you can see in this photo the new lightweight flypack on the right is substantially smaller than the old kit on the left.</figcaption></figure><h4><strong>Why Google Distributed Cloud Software For Bare Metal?</strong></h4><p>We have been running Google Distributed Cloud software for bare metal in all Major League Ballparks for the last 4 years with very few issues. When trying new architecture we want to eliminate as many unknowns as possible, as well as simplifying configuration of the new cluster and deploying corresponding applications by using existing tools to streamline the process.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*PTC1M4bf6ZoWK2Bi" /></figure><h4><strong>Deployment Process</strong></h4><ul><li>Deploying GDC to the new hardware is done using our existing Admin Workstation. We deploy a Standalone Cluster using the Edge profile detailed <a href="https://cloud.google.com/kubernetes-engine/distributed-cloud/bare-metal/docs/installing/creating-clusters/standalone-cluster-creation">here</a> in the Google documentation. This profile has significantly reduced system resource requirements and is recommended for edge devices with high resource constraints.</li><li>To deploy the apps supporting Player Tracking, Pitch Clock and NTP to the new cluster we use our CI/CD tool Akuity which is powered by ArgoCD. With Akuity we are able to treat this cluster like any other ballpark cluster and deploy the required apps as needed.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ioy0nAkFPmRCuKRS" /><figcaption>ArgoCD is a set of tools for Kubernetes that allow us to run workflows, manage our clusters (regardless of Kubernetes flavor), and implement the GitOps operational framework. This flexibility allows us to easily deploy our applications to new clusters.</figcaption></figure><h4><strong>Results and Benefits</strong></h4><ul><li>The lightweight flypack is able to successfully perform the tasks required of the old 3 rack server flypack while providing more computing resources, using less power and generating less heat. As shown below, the CPU and Memory requested by the applications still left more than 70% of resources free and with the increased number of nodes resiliency against hardware failures is much higher.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jDzJQ6fnpj1QHuzV" /><figcaption>If you look at the CPU/Memory requested vs CPU/Memory allocable you can see how much headroom is left in the cluster for additional application deployments</figcaption></figure><h4>Conclusion</h4><ul><li>Overall we consider this pilot a resounding success and will look further into using this architectural setup where possible.</li><li>When looking at a single NUC there are a lot of single points of failure. However, these units are cheap enough that you can deploy large numbers in a smaller form factor and better redundancy than what one gets with a traditional rack server configuration.</li><li>Future plans or potential improvements for the new architecture.</li><li>With the success of this pilot, we believe that these clusters can be deployed to our MiLB ballparks with BMC enabled NUCs for better network resiliency.</li></ul><h4><strong>Additional Resources</strong></h4><p>If you’re curious about Akuity or GDC you can find the links with more info about them here:</p><ul><li><a href="https://akuity.io/">https://akuity.io/</a></li><li><a href="https://cloud.google.com/kubernetes-engine/distributed-cloud/bare-metal/docs">https://cloud.google.com/kubernetes-engine/distributed-cloud/bare-metal/docs</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cbb65105cdbc" width="1" height="1" alt=""><hr><p><a href="https://technology.mlblogs.com/deploying-a-cost-effective-kubernetes-cluster-with-nuc-pcs-and-google-distributed-cloud-software-cbb65105cdbc">Deploying a Cost-Effective Kubernetes Cluster with NUC PCs and Google Distributed Cloud software…</a> was originally published in <a href="https://technology.mlblogs.com/">MLB Technology Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Anthos on Bare Metal, how MLB Turned Ball Parks into On Prem K8 Clusters]]></title>
            <link>https://technology.mlblogs.com/anthos-on-bare-metal-how-mlb-turned-ball-parks-into-on-prem-k8-clusters-295031253a33?source=rss-d7400eb8b7c4------2</link>
            <guid isPermaLink="false">https://medium.com/p/295031253a33</guid>
            <category><![CDATA[anthos]]></category>
            <category><![CDATA[anthos-on-prem]]></category>
            <category><![CDATA[major-league-baseball]]></category>
            <category><![CDATA[mlb]]></category>
            <dc:creator><![CDATA[Kevin Backman]]></dc:creator>
            <pubDate>Wed, 17 Nov 2021 13:48:26 GMT</pubDate>
            <atom:updated>2021-12-03T20:15:42.985Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Anthos on Bare Metal: Delivering Baseball Stats on K8S in our MLB Ballparks</strong></h3><p><em>By Kevin Backman</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U0yZPTSS2RCvWYr8HJMRgw.jpeg" /><figcaption>Credit: <a href="https://cloud.google.com/blog/topics/anthos/how-mlb-is-using-anthos">Google</a></figcaption></figure><h3>Background</h3><p>At the end of the 2019 baseball season, MLB began a hardware refresh across all our major league ballparks providing us with an opportunity to rebuild our server infrastructure using a DevOps approach.</p><h3>Goals of the Refresh</h3><ul><li>Given the patchwork nature of our environment, we wanted to simplify our infrastructure management into a single pane of glass. It was important for us to build, manage, and support 30 MLB ballparks easily from day one, and allow us to expand the approach in a repeatable fashion when the time came to refresh our minor league ballparks.</li><li>Streamline app deployments so that we could consistently and reliably deploy code using the Continuous Integration and Continuous Delivery tools currently in place.</li><li>Reduce costs and complexity by removing virtualization and running everything on Anthos bare metal, which is Googles solution for Anthos running on physical servers.</li><li>Create a resilient ballpark cluster that could handle hardware failures. In the past if a server went down, all VMs running on that server went down with it. This meant that we couldn’t fully utilize our hardware as we needed to run a minimum of two VMs for each app.</li><li>Deliver the solution within a tight schedule for the start of the 2021 MLB season with resource constraints compounded by COVID-19.</li></ul><p>Our partnership with Google provided us with a solution for having all our clusters in one place, the GCP Console. Kubernetes and Anthos on bare metal provided us with a way to do this.</p><h3>Our Ballpark Infrastructure Server Footprint</h3><p>All of our MLB ballparks have limited data center space and for each, we have a condensed and optimized footprint of four servers. These four servers are responsible for running applications that are critical to the game of baseball including our <a href="https://technology.mlblogs.com/introducing-statcast-2020-hawk-eye-and-google-cloud-a5f5c20321b8">Statcast</a> and Hawk-Eye solutions.</p><h3>Why GKE OnPrem?</h3><p>We have limited space in the ballpark datacenters and kubernetes provides us with the flexibility we need.</p><p>In the past we were running a traditional VMware (and RHEV-M in some parks) stack on physical machines. While this met our needs, we were over provisioning each VM with 8 vCPU’s and 32G of memory to run an application that only required a fraction of these resources. Using GKE was an obvious choice, allowing us to allocate the appropriate CPU and Memory resources at the pod level (e.g. cpu: 500m and memory: 1Gi). GKE also allowed us to run multiple pods across our nodes, giving us resiliency and flexibility when performing maintenance. Working with Google provided us with a wealth of knowledge that we tapped into to deploy Anthos across our parks and gave us that single pane of glass we were looking for.</p><p>With our Ballpark clusters now living in the GCP environment, we can manage them the same way we manage our GKE clusters in the Cloud and utilize our CICD tooling already in place to deploy our applications.</p><h3>How did we do it?</h3><h4>Short answer:</h4><p>Through automation and a lot of hard work.</p><h4>More detailed answer:</h4><p>Deploying new technology to 30 data centers is no easy task, without the use of automation tools and the hard work of people physically in the ballparks.</p><p>Before we could even proceed we relied on our very capable Ballpark Infrastructure and Ballpark Ops teams to actually do the hardware installation. Once that was complete (through no small feat on their part due to the pandemic) we were able to get to work on our portion of building out the new and improved infrastructure.</p><p>This was achieved by setting up and using a hardware orchestration tool called Mojo which is a software suite produced by Metify that utilizes Redfish to interact with the bare metal servers and PXE boot them. One Mojo instance can manage hundreds of bare metal servers, greatly reducing the level of effort required to manage said servers. Mojo also allows us to manage BIOS and firmware of the servers so now we are able to keep pace with patches and security hotfixes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HIeXO88K2MooBdOp6B02Zg.png" /></figure><p>With the hardware and operating system ready to go, we switch to deploying Anthos to all the servers. This process is well documented by Google; however, instead of deploying an Anthos workstation for each cluster at each ballpark, we deployed our workstations in a GCP project. This reduced and simplified managing the environment, where instead of 30 workstations across our parks, we have 3 running in the Cloud (a workstation can only deploy 1 cluster at a time).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6x6fkgf8TzacoC6EWy-MvQ.png" /></figure><p>By running Anthos on bare metal without VMWare, we have a much cleaner and simpler environment to manage. The cost savings alone are enough to make this rebuild worth the effort.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BnMR1rIzTzltVWX2RS-yIQ.png" /></figure><p>With the Anthos clusters online, it was a simple task of plugging them into our existing ArgoCD environment. Adding continuous deployments to the ballparks allows us to build a resilient environment better suited to handling hardware failures, a challenge we had when running VMWare and previous virtualization technologies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x8gwBYdQS59iLtgS0V2A5w.png" /><figcaption>Credit: Graeme Tower</figcaption></figure><p>The GKE solution also simplified how we handled persistent and shared storage. Using Rook Ceph within our clusters in each park allowed us to eliminate the need for a physical NAS solution and further reduce our datacenter footprint, complexities and cost.</p><h3>What did we learn?</h3><p>We learned that with automation tools, kubernetes, continuous deployment and an infrastructure as code approach, we can deploy and manage resilient systems that can be trusted to run our critical applications in the ballparks. This puts us in a position to be able to stay on the cutting edge of technology as it relates to baseball. We took what was a six hour process from start to finish and reduced it to less than an hour. In past hardware refreshes it would take a minimum of six hours for a single engineer to build the old VMware environment from start to finish. That now takes forty minutes for one park, and multiple parks can be worked on at the same time. This is a massive reduction in engineering hours leaving engineers more time to work on future improvements and projects.</p><h3>Final notes.</h3><p>As with anything, it takes a team to accomplish a task of this magnitude. With that, they are:</p><ul><li>Jennifer Ahn</li><li>Michael Durkin</li><li>Felipe Negron</li><li>Graeme Tower</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=295031253a33" width="1" height="1" alt=""><hr><p><a href="https://technology.mlblogs.com/anthos-on-bare-metal-how-mlb-turned-ball-parks-into-on-prem-k8-clusters-295031253a33">Anthos on Bare Metal, how MLB Turned Ball Parks into On Prem K8 Clusters</a> was originally published in <a href="https://technology.mlblogs.com/">MLB Technology Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>