<?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 Justin Willoughby on Medium]]></title>
        <description><![CDATA[Stories by Justin Willoughby on Medium]]></description>
        <link>https://medium.com/@justin_elotl?source=rss-17fa66aa3518------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*X60vrJlPEmESwVsY</url>
            <title>Stories by Justin Willoughby on Medium</title>
            <link>https://medium.com/@justin_elotl?source=rss-17fa66aa3518------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 16:40:59 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@justin_elotl/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[The Benefits of Cycling Kubernetes Nodes: Optimizing Performance, Reliability, and Security]]></title>
            <link>https://medium.com/elotl-blog/the-benefits-of-cycling-kubernetes-nodes-optimizing-performance-reliability-and-security-3a628b4cfc4f?source=rss-17fa66aa3518------2</link>
            <guid isPermaLink="false">https://medium.com/p/3a628b4cfc4f</guid>
            <dc:creator><![CDATA[Justin Willoughby]]></dc:creator>
            <pubDate>Tue, 07 May 2024 19:08:13 GMT</pubDate>
            <atom:updated>2024-05-07T19:08:13.160Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/262/0*B1VJqZe4eZCpy1Cg" /></figure><p>Wondering whether cycling out older Kubernetes nodes periodically is a good idea? In the world of Kubernetes administration, the practice of rotating nodes often takes a backseat, even though it holds considerable advantages. While it’s true that node cycling isn’t universally applicable, it’s worth exploring its merits for your environment. In this article, I will delve into many of the compelling reasons why considering node rotation might be beneficial for your clusters. We’ll explore the advantages of node rotation in Kubernetes and how it contributes to resource optimization, fault tolerance, security, and performance improvements.</p><p>Why might someone think cycling of Kubernetes nodes is unnecessary? One reason for this could be a misconception about the stability of Kubernetes clusters. In environments where nodes rarely fail or resource usage remains relatively consistent, there might be a tendency to prioritize other tasks over node cycling. Additionally, the perceived complexity of implementing node rotation strategies, particularly in large-scale or production environments, could dissuade teams from actively considering it. Some teams might also be unaware of the potential performance gains and reliability improvements that can result from regular node cycling. However, despite these challenges or misconceptions, it’s crucial to recognize that neglecting node rotation can lead to issues such as resource exhaustion, reduced fault tolerance, security vulnerabilities, difficulties upgrading to newer versions, and degraded performance over time. By acknowledging the importance of node cycling and implementing proactive strategies, administrators and DevOps teams can ensure the long-term health, resilience, and efficiency of their Kubernetes infrastructure. So, without delay, let’s delve into the specifics.</p><p>Node rotation in Kubernetes aids in maintaining a secure environment through timely patch management and isolation of compromised nodes. By cycling nodes at regular intervals, security patches and updates can be deployed consistently, reducing the attack surface and mitigating potential vulnerabilities. In the event of a compromised node, cycling it out of the cluster helps contain the threat and prevent further damage, enhancing overall security posture.</p><p>James Cunningham, a Lead Infrastructure Engineer at PlanetScale, highlights the multifaceted benefits of node cycling within Kubernetes environments, stating, <em>“It optimizes workload distribution, ensures a seamless refresh of nodes with the newest kernel and OS updates, all while maintaining stability and virtually eliminating state drift.”</em> This encapsulates the transformative impact node cycling has on infrastructure maintenance and performance optimization. By periodically refreshing nodes, organizations can ensure that workloads are efficiently distributed, leveraging the latest kernel and OS updates seamlessly.</p><p>Moreover, the assurance of utilizing updated packages without the need for disruptive reboots enhances system stability and security. Additionally, the mitigation of state drift to near-zero levels minimizes inconsistencies across the infrastructure, fostering a more reliable and predictable operational environment. Through proactive node cycling practices, organizations can effectively uphold operational excellence while continuously adapting to evolving workload demands.<br>Cycling Kubernetes nodes leads to performance improvements by leveraging newer hardware and optimizing networking infrastructure. Refreshing the underlying hardware or virtual infrastructure enhances performance by capitalizing on advancements in technology. Additionally, redistributing workloads across the cluster reduces resource contention and bottlenecks, resulting in better performance for applications and services running on Kubernetes.</p><p>The adoption of efficient node management practices is pivotal for maintaining a resilient and high-performing infrastructure. James further sheds light on the effectiveness of node cycling within this context: <em>“Node cycling serves as our seamless approach to upgrading kubelets post-upgrading the apiservers. Rather than setting off on some grand rescheduling process across the whole cluster after upgrading the apiservers, we set a 30-day timer and let computers do the hard work.”</em> This quote underscores the practical benefits of node cycling, particularly in simplifying the upgrade process while reducing operational overhead. With node cycling, administrators can seamlessly ensure that kubelets are upgraded following apiserver updates, all without the need for immediate, large-scale rescheduling efforts. This streamlined approach not only enhances operational efficiency but also bolsters system reliability by keeping critical components up-to-date without interrupting ongoing workloads. By integrating node cycling into their Kubernetes management workflows, organizations, such as PlanetScale, can effectively navigate the complexities of infrastructure maintenance and stay agile in an ever-evolving landscape.</p><p>Regular node cycling also facilitates proactive fault detection and mitigation. By replacing nodes on a scheduled basis, potential hardware failures or issues are addressed before they impact application availability. This approach ensures redundancy within the cluster, enabling seamless workload transition in case of unexpected node failures. Additionally, through automated health checks and compatibility validations during node cycling, the cluster’s resilience and stability are reinforced, guaranteeing a robust foundation for running mission-critical applications.</p><p>Wondering how to automate node cycling in your Kubernetes environment? There are several methods available, one of which is utilizing Luna. Luna stands out as an intelligent autoscaler capable of not only provisioning and managing nodes for workloads but also orchestrating the removal of nodes beyond a specified NodeTTL (Time to Live) value. This feature ensures efficient node cycling based on your defined TTL, streamlining operations effortlessly. For instance, if you prefer a weekly node cycling routine, simply configure the NodeTTL parameter within Luna to 7d, and voila! Luna takes care of the rest, seamlessly managing node lifecycle within your cluster.</p><p>While node cycling offers numerous benefits for maintaining a healthy and efficient Kubernetes infrastructure, there are certain scenarios where it may not be practical or necessary. One such exception is in environments where workloads require long-running processes or persistent connections that cannot easily be migrated to other nodes. In these cases, interrupting these processes by cycling out nodes could result in service disruptions or data loss. Additionally, in environments with strict compliance or regulatory requirements, the process of cycling nodes out may introduce additional complexity and risk, especially if it involves downtime or configuration changes that could impact compliance status. So while node cycling is generally beneficial for most Kubernetes deployments, it’s essential to consider these exceptions and weigh the potential trade-offs before implementing a node rotation strategy. Fortunately, Luna provides a solution for critical workloads that cannot or should not be terminated during node cycling processes. With the capability to set a “do-not-evict” annotation on such workloads, Luna ensures that pods remain untouched until they have terminated naturally or the annotation is removed. This functionality enables the smooth cycling of nodes within the cluster while avoiding any disruption to critical workloads.</p><p>In conclusion, cycling Kubernetes nodes at regular intervals offers significant benefits across various aspects of Kubernetes management. By optimizing resource utilization, enhancing fault tolerance and reliability, strengthening security measures, and improving performance, node rotation contributes to a more efficient and resilient Kubernetes environment. Incorporating node cycling into your Kubernetes maintenance strategy can help ensure the smooth operation of your containerized workloads and enhance the overall stability of your infrastructure.</p><p>To delve deeper into Luna’s intelligent autoscaling capabilities, including node cycling, explore our <a href="https://www.elotl.co/luna.html">product page</a> for details. For step-by-step guidance, consult our <a href="https://docs.elotl.co/luna/intro/">Documentation</a>. Ready to test Luna firsthand? <a href="https://www.elotl.co/luna-free-trial.html">Try Luna</a> today with our free trial and witness the efficiency and flexibility it brings to your cloud environments.</p><p><strong>Author:</strong><br>Justin Willoughby (Principal Solutions Architect, Elotl)</p><p><strong>Contributors:</strong><br>James Cunningham (Lead Infrastructure Engineer, PlanetScale)<br>Henry Precheur (Senior Staff Engineer, Elotl)<br>Anne Holler (Chief Scientist, Elotl)</p><p><em>Originally published at </em><a href="https://www.elotl.co/blog/the-benefits-of-cycling-kubernetes-nodes-optimizing-performance-reliability-and-security"><em>https://www.elotl.co</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3a628b4cfc4f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/elotl-blog/the-benefits-of-cycling-kubernetes-nodes-optimizing-performance-reliability-and-security-3a628b4cfc4f">The Benefits of Cycling Kubernetes Nodes: Optimizing Performance, Reliability, and Security</a> was originally published in <a href="https://medium.com/elotl-blog">Elotl blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deep Learning Training with Ray and Ludwig using Elotl Luna]]></title>
            <link>https://medium.com/elotl-blog/deep-learning-training-with-ray-and-ludwig-using-elotl-luna-3ed6988ff3c4?source=rss-17fa66aa3518------2</link>
            <guid isPermaLink="false">https://medium.com/p/3ed6988ff3c4</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[elotl-luna]]></category>
            <dc:creator><![CDATA[Justin Willoughby]]></dc:creator>
            <pubDate>Wed, 17 Apr 2024 17:42:12 GMT</pubDate>
            <atom:updated>2024-04-17T17:42:12.702Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Originally published at </em><a href="https://www.elotl.co/blog/deep-learning-training-with-ray-and-ludwig-using-elotl-luna"><em>https://www.elotl.co</em></a><em>.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/263/0*hOxxCX5etezzLCxF" /></figure><p>In this brief summary blog, we delve into the intriguing realm of GPU cost savings in the cloud through the use of Luna, an Intelligent Autoscaler. If you’re passionate about harnessing the power of Deep Learning (DL) while optimizing expenses, this summary is for you. Join us as we explore how innovative technologies are revolutionizing the landscape of resource management in the realm of Deep Learning. Let’s embark on a journey where efficiency meets intelligence, promising both technical insights and a practical solution.</p><p>Deep Learning has and continues to transform many industries such as AI, Healthcare, Finance, Retail, E-commerce, and many others. Some of the challenges with DL include its high cost and operational overhead:</p><ol><li><em>Compute Costs</em>: Deep learning models require significant computational resources, which lead to high costs, especially for complex or large-scale projects. This is even more true when the compute remains provisioned when it’s not needed.</li><li><em>Instance Management</em>: Managing cloud instances for training, inference, and experimentation creates operational overhead. This includes provisioning and configuring virtual machines, monitoring resource usage, and optimizing instance types for performance and cost efficiency.</li><li><em>Infrastructure Scaling</em>: Scaling deep learning workloads in the cloud involves dynamically adjusting compute resources to meet demand. This requires optimizing resource allocation to minimize costs while ensuring sufficient capacity.</li></ol><p>Open-source platforms like and have broadened DL accessibility, yet DL model’s intensive GPU resource demands present financial hurdles. Addressing this, Elotl Luna emerges as a solution, streamlining compute for Kubernetes clusters without the need for manual scaling which often results in wasted spend.</p><p>Running Ray and Ludwig on cloud Kubernetes clusters using Luna, an Intelligent Kubernetes Cluster Autoscaler, is a great approach to mitigating the challenges often faced with DL and public cloud GPU resource demands. Luna dynamically adjusts GPU resources based on workload needs, resulting in substantial efficiency gains.</p><p>Luna showed significant improvements over a fixed size Ray cluster on AWS, all while preserving AutoML performance quality:</p><ul><li>Reduced elapsed time by 61%</li><li>Reduced compute cost by 54%</li><li>Reduced idle Ray cluster cost by 66%</li></ul><p>The exploration and testing encompassed ML experiments utilizing Ludwig v0.4.1, leveraging its AutoML capability. These results were obtained during the ML training workload aimed at validating the newly added AutoML feature in Ludwig v0.4.1. Luna’s resource management can be used to provide just-in-time compute for Ludwig’s AutoML across various datasets, employing Ray Tune for hyperparameter search on GPU-enabled workers. Results prove competitive with manually-tuned models, showcasing Luna’s adaptability and efficiency in DL workflows.</p><p>Lessons learned underscore the substantial savings achieved in workload elapsed time, execution costs, idle costs, and operational complexity. This is just a glimpse into the transformative impact of Luna on DL training workloads in the cloud. For a comprehensive understanding, dive into the full details of the <a href="https://www.cncf.io/blog/2022/02/15/managing-public-cloud-resources-for-deep-learning-training-experiments-and-lessons-learned/">Managing public cloud resources for deep learning training: experiments and lessons learned</a> blog on the Cloud Native Computing Foundation site.</p><p>Furthermore, we encourage you to explore our subsequent research, which validates the efficacy of Ludwig v0.5.0 AutoML for text classification datasets. In this study Luna also showed significant savings as well.</p><ul><li>Reduced elapsed time by 7%</li><li>Reduced compute cost by 59%</li><li>Reduced idle Ray cluster cost by 66%</li></ul><p>The full details of this experiment can be found by viewing the slides and/or video recording from the<a href="https://kubernetesaidayeu22.sched.com/event/zr9E/efficient-automl-with-ludwig-ray-and-nodeless-kubernetes-anne-marie-holler-elotl-travis-addair-predibase."> Efficient AutoML with Ludwig, Ray, and Nodeless Kubernetes</a> session from Kubernetes AI Day Europe.</p><p>In both cases, Luna was able to dramatically lower the cost and enhance the performance of the Deep Learning jobs.</p><p>While this summary has provided a glimpse into the fascinating world of GPU cost savings with an Luna, we must acknowledge that it merely scratches the surface of the comprehensive insights offered in the original blog and subsequent presentation. We hope this summary has sparked your curiosity and motivated you to explore the full depth of knowledge available. For a more detailed understanding, we encourage you to dive into the original blog and presentations linked above.</p><p>To explore the robust features and capabilities of Luna in greater detail, visit our <a href="https://www.elotl.co/luna.html">Luna Product</a> page. For comprehensive guidance, refer to our <a href="https://docs.elotl.co/luna/intro/">documentation</a>. Ready to experience firsthand the seamless management of compute for GPU workloads? Start testing Luna today and discover the efficiency and flexibility it offers for your cloud environments.</p><p><strong>Author:</strong><br> Justin Willoughby (Principal Solutions Architect, Elotl)</p><p><strong>Authors/Contributors from the full blog from which this summary blog is based:</strong><br> Anne Holler, Chi Su, Travis Addair, Henry Prêcheur, Paweł Bojanowski, Madhuri Yechuri, and Richard Liaw</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3ed6988ff3c4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/elotl-blog/deep-learning-training-with-ray-and-ludwig-using-elotl-luna-3ed6988ff3c4">Deep Learning Training with Ray and Ludwig using Elotl Luna</a> was originally published in <a href="https://medium.com/elotl-blog">Elotl blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>