<?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 Tom Phelan on Medium]]></title>
        <description><![CDATA[Stories by Tom Phelan on Medium]]></description>
        <link>https://medium.com/@thomas_phelan?source=rss-6d47185f36cc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*6gt0F7SMQRfOQyMvBQI0jg.jpeg</url>
            <title>Stories by Tom Phelan on Medium</title>
            <link>https://medium.com/@thomas_phelan?source=rss-6d47185f36cc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 03:22:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@thomas_phelan/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[Complex Stateful Applications on Kubernetes: KubeDirector version 0.2]]></title>
            <link>https://medium.com/@thomas_phelan/complex-stateful-applications-on-kubernetes-kubedirector-version-0-2-8a6c0566fcc4?source=rss-6d47185f36cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/8a6c0566fcc4</guid>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[kubedirector]]></category>
            <dc:creator><![CDATA[Tom Phelan]]></dc:creator>
            <pubDate>Wed, 27 Feb 2019 20:00:21 GMT</pubDate>
            <atom:updated>2019-02-27T20:49:48.010Z</atom:updated>
            <content:encoded><![CDATA[<p>Last summer, <a href="https://www.bluedata.com/blog/2018/07/operation-stateful-bluek8s-and-kubernetes-director"><em>I wrote here about our BlueK8s initiative and a new open source project</em></a> for deploying and managing complex stateful scale-out applications on Kubernetes: <strong>KubeDirector</strong>. KubeDirector enables data scientists familiar with data-intensive distributed applications such as Hadoop, Spark, Cassandra, TensorFlow, Caffe2, etc. to easily run these applications on Kubernetes.</p><p>In <a href="https://kubernetes.io/blog/2018/10/03/kubedirector-the-easy-way-to-run-complex-stateful-applications-on-kubernetes"><em>my blog post on the Kubernetes site in the fall</em></a>, I introduced version 0.1 of KubeDirector and described how it works. Since then, we’ve seen a lot of interest in KubeDirector from the community we’re very excited about the progress so far. The BlueData team behind this effort is <a href="https://www.bluedata.com/blog/2018/11/hpe-and-bluedata-joining-forces-in-ai-ml-big-data"><em>now part of HPE</em></a>, and the KubeDirector project continues to move full steam ahead.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mBaqZb3TKv_Zx36NxXDGbw.jpeg" /></figure><p>To that end, we just pushed out the next release and our first public update of KubeDirector: version 0.2. You can check out the full details on our github site here: <a href="https://github.com/bluek8s/kubedirector/releases/tag/v0.2.0"><em>https://github.com/bluek8s/kubedirector/releases/tag/v0.2.0</em></a></p><p>Some of the highlights of what’s new in version 0.2 of KubeDirector include:</p><ul><li>A fully deployable Cloudera 5.14.2 image is now available in the catalog of example applications</li><li>Cluster launch performance has been enhanced through additional work on launch parallelization</li><li>The “configcli” tool used in application setup is now included in the “nodeprep” directory.</li><li>We’ve made additional improvements to the Makefile support and functionality:<br>- KubeDirector can now be built and deployed on Ubuntu systems<br>- “make deploy” now waits for deployment to succeed before returning<br>- “make teardown” now waits for teardown to finish before returning.</li><li>KubeDirector actions are now recorded as Kubernetes events and can be viewed by the standard “kubectl describe” command</li><li>KubeDirector has been tested on the following Kubernetes platforms:<br>- DigitalOcean Kubernetes (DOK)<br>- Google Kubernetes Engine (GKE)<br>- Amazon Elastic Container Service for Kubernetes (EKS)<br>- Kubernetes version 1.13.2 on CentOS kernels</li></ul><p>See below for a screenshot of KubeDirector v0.2 running four pods of a Spark cluster:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6sYu8q9lacfcHtp9-CtDcA.png" /></figure><p>One of those pods is a Jupyter notebook, as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Bazfzfp7ZYQvPVTWw-Ekbw.png" /></figure><p><strong>Join the Community</strong></p><p>We’re working towards the next version of KubeDirector (and the broader BlueK8s initiative) and we’d welcome your help as developers, contributors, and adopters. Follow <a href="https://twitter.com/BlueK8s/"><em>@BlueK8s</em></a> on Twitter and get involved through these channels:<br> - KubeDirector <a href="https://join.slack.com/t/bluek8s/shared_invite/enQtNTQzNDQzNjQwMDMyLTdjYjE0ZTg0OGJhZWUxMzhkZTZjNDg5ODIyNzZmNzZiYTk4ZjQxNDFjYzk4OWM0MjFlNmVkNWNlNmFjNzkzNjQ"><em>chat room on Slack</em></a><em><br> - </em>KubeDirector <a href="https://github.com/bluek8s/kubedirector/"><em>GitHub repo</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8a6c0566fcc4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Operation: Stateful. Introducing BlueK8s and Kubernetes Director]]></title>
            <link>https://medium.com/@thomas_phelan/operation-stateful-introducing-bluek8s-and-kubernetes-director-aa204952f619?source=rss-6d47185f36cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/aa204952f619</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[containers]]></category>
            <category><![CDATA[distributed-systems]]></category>
            <dc:creator><![CDATA[Tom Phelan]]></dc:creator>
            <pubDate>Tue, 17 Jul 2018 07:11:00 GMT</pubDate>
            <atom:updated>2018-07-17T07:11:00.445Z</atom:updated>
            <content:encoded><![CDATA[<p>The juggernaut that is <a href="https://kubernetes.io/">Kubernetes</a> has been underway and gaining momentum for some time now. It provides an extensible container orchestration framework for automating the deployment, scaling, and management of any containerized application. It has a rich ecosystem of plugins for handling everything from storage to security. And while it was originally designed for running <a href="https://whatis.techtarget.com/definition/stateless-app">stateless applications</a>, it has been gaining ground in the support of <a href="https://whatis.techtarget.com/definition/stateful-app">stateful applications</a> as well.</p><p>However, there hasn’t been any easy way to deploy and manage distributed stateful applications consisting of a multitude of co-operating services (e.g. for Big Data and AI use cases) with Kubernetes. Spoiler alert: that’s the problem we’re now tackling head on.</p><p>As one of the founders of <a href="https://www.bluedata.com/">BlueData</a>, I’ve been working in this space for the past several years. I’ve been fortunate to work with dozens of teams at enterprises across multiple industries and geographies to successfully deploy large-scale distributed stateful services such as Hadoop, Spark, Kafka, Cassandra, TensorFlow, and other analytics, data science, machine learning, and deep learning tools in containerized environments.</p><p>Together with my colleagues, we’ve developed a lot of learnings and expertise on what it takes to run such containerized applications securely and reliably in the enterprise. Our knowledge is the result of our close collaboration with Fortune 500 and Global 2000 enterprise organizations that have a wide range of distributed stateful workloads for Big Data analytics, data science, machine learning, etc. — and need to meet stringent enterprise-grade security, performance, and lifecycle management requirements.</p><p>We see Kubernetes as the de facto standard in the industry for container orchestration; as such, we want to ensure that complex distributed stateful services are well supported in the Kubernetes community. So our engineering team has been busy working with Kubernetes, <a href="https://www.bluedata.com/blog/2017/12/big-data-container-orchestration-kubernetes-k8s/">developing prototypes</a> with Kubernetes in our labs, and collaborating with multiple enterprise organizations to evaluate the opportunities (and gaps) in using Kubernetes for these complex distributed stateful applications.</p><p>To this end, we’re <a href="https://www.bluedata.com/article/bluek8s-and-kubernetes-director-for-stateful-applications">introducing</a> a new Kubernetes open source initiative we call <strong>BlueK8s</strong>. The BlueK8s initiative will include a number of projects to help bring enterprise-level capabilities for distributed stateful applications to Kubernetes. The first open source project in this initiative, dubbed <strong>Kubernetes</strong> <strong>Director </strong>or<strong> KubeDirector </strong>for short, is a custom controller which simplifies and streamlines the packaging, deployment, and management of complex distributed stateful applications for Big Data and AI use cases.</p><p>There are a lot of existing open source projects in the Kubernetes community for addressing various requirements with stateless as well as stateful applications. For example, the Kubernetes<a href="https://coreos.com/operators/"> Operator</a> framework provides a great toolkit for building and deploying application-specific Operators to manage the lifecycle of a particular application. This is done by implementing a simple finite state machine, also known as a reconciliation loop:</p><ul><li><em>Observe: </em>Determine the current state of the application</li><li><em>Analyze: </em>Compare the current state of the application with the expected state of the application</li><li><em>Act:</em> Take the necessary steps to make the running state of the application match its expected state</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/585/1*ZSuKbht2bgWggphyhrAPCQ.png" /></figure><p>While the implementation of a Kubernetes Operator for managing a cloud native stateless application is fairly straightforward, such is not the case for all applications. Most applications for Big Data analytics, data science, and AI / ML / DL are not implemented in a cloud native architecture, and many of these applications are stateful. In fact, a distributed data pipeline typically consists of multiple different applications each with their own unique attributes; and these applications vary widely depending upon the use case. This means that they cannot be decomposed into self-sufficient and easily containerizable microservices without a lot of rework. Nor can you easily create an application-specific Operator for each possible permutation. They are a jumble of tightly integrated processes with interdependencies that are not well understood and whose state is distributed across multiple configuration files.</p><p>This is the gap that we intend to address with the new Kubernetes Director (aka KubeDirector). KubeDirector is built upon the Kubernetes <a href="https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/">custom resource definition</a> (CRD) framework and achieves the following:</p><ul><li>It leverages the native Kubernetes API extensions, design philosophy, and authentication</li><li>There is a minimal learning curve for those developers familiar with Kubernetes</li><li>It is not necessary to decompose an existing application to fit microservices patterns</li><li>It provides native support for preserving application configuration and state</li><li>It utilizes an application-agnostic deployment pattern, minimizing the time to onboard stateful applications to Kubernetes</li><li>It is application-neutral: supporting many applications simultaneously via application-specific instructions specified in YAML format configuration files</li><li>It supports the management of distributed data pipelines consisting of multiple applications such as Spark, Kafka, Hadoop, Cassandra, TensorFlow, etc. — including a variety of related tools for data science, machine learning, business intelligence, ETL, analytics, and visualization</li></ul><p>With KubeDirector, it is not necessary to build and implement an application-specific Kubernetes Operator in order to manage the cluster for a stateful application. KubeDirector will manage the cluster for you. All communication with KubeDirector is performed via kubectl commands. The expected state of a cluster is submitted as a request to the API server and stored in the Kubernetes etcd database. KubeDirector will apply the necessary application-specific workflows to transform the current state of the cluster into the expected state of the cluster. Different workflows can be specified for each application type, as illustrated in the diagram below — illustrating a simple example (using KubeDirector to deploy and manage containerized Hadoop and Spark application clusters):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*egyvo89HbXf3CXHZyakuBw.png" /></figure><p>For a more detailed technical description of KubeDirector — including an architecture overview — you can check out the <a href="https://github.com/bluek8s/kubedirector/wiki">github project wiki</a>. The first pre-alpha version of KubeDirector is in development now, and will be available soon at <a href="https://github.com/bluek8s/kubedirector">https://github.com/bluek8s/kubedirector</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aa204952f619" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>